Skip to content

Commit

Permalink
[MPLUGIN-384] restore compatibility with Maven 3 ecosystem
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Jan 9, 2022
1 parent d78b437 commit c6d0808
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ out/
.DS_Store

.java-version
.factorypath
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.maven.plugin.plugin.metadata;
package org.apache.maven.artifact.repository.metadata;

/*
* Licensed to the Apache Software Foundation (ASF) under one
Expand All @@ -23,12 +23,11 @@
import java.util.List;

import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata;
import org.apache.maven.artifact.repository.metadata.Metadata;
import org.apache.maven.artifact.repository.metadata.Plugin;

/**
* Metadata for the group directory of the repository.
* Class copied from maven-compat for to remove dependency but keep compatibility with Maven 3 (and Nexus Staging
* Plugin, see <a href="https://issues.apache.org/jira/browse/MPLUGIN-384">MPLUGIN-384</a>)
*
* @author <a href="mailto:[email protected]">Brett Porter</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;
import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;
import org.apache.maven.artifact.repository.metadata.Versioning;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
Expand Down

0 comments on commit c6d0808

Please sign in to comment.