mirror of https://github.com/apache/maven.git
[MNG-3849] - cleaner names
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749541 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aece478e1e
commit
c3ef515d0e
|
@ -87,7 +87,7 @@ public class MercuryAdaptor
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ArtifactBasicMetadata toBasicMetadata( Artifact a )
|
public static ArtifactBasicMetadata toMercuryBasicMetadata( Artifact a )
|
||||||
{
|
{
|
||||||
ArtifactBasicMetadata md = new ArtifactBasicMetadata();
|
ArtifactBasicMetadata md = new ArtifactBasicMetadata();
|
||||||
md.setGroupId( a.getGroupId() );
|
md.setGroupId( a.getGroupId() );
|
||||||
|
@ -99,7 +99,7 @@ public class MercuryAdaptor
|
||||||
return md;
|
return md;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ArtifactMetadata toMetadata( Artifact a )
|
public static ArtifactMetadata toMercuryMetadata( Artifact a )
|
||||||
{
|
{
|
||||||
ArtifactMetadata md = new ArtifactMetadata();
|
ArtifactMetadata md = new ArtifactMetadata();
|
||||||
md.setGroupId( a.getGroupId() );
|
md.setGroupId( a.getGroupId() );
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class MercuryRepositorySystem
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
List<ArtifactMetadata> mercuryMetadataList =
|
List<ArtifactMetadata> mercuryMetadataList =
|
||||||
_mercury.resolve( repos, null, MercuryAdaptor.toMetadata( request.getArtifact() ) );
|
_mercury.resolve( repos, null, MercuryAdaptor.toMercuryMetadata( request.getArtifact() ) );
|
||||||
|
|
||||||
List<org.apache.maven.mercury.artifact.Artifact> mercuryArtifactList =
|
List<org.apache.maven.mercury.artifact.Artifact> mercuryArtifactList =
|
||||||
_mercury.read( repos, mercuryMetadataList );
|
_mercury.read( repos, mercuryMetadataList );
|
||||||
|
|
Loading…
Reference in New Issue