mirror of https://github.com/apache/maven.git
make method signatures consistent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b85350558
commit
7c82aceb35
|
@ -52,7 +52,7 @@ public class AbstractArtifactComponent
|
|||
return remoteRepository.pathOf( artifact );
|
||||
}
|
||||
|
||||
protected String getLocalRepositoryArtifactPath( ArtifactRepository localRepository, Artifact artifact )
|
||||
protected String getLocalRepositoryArtifactPath( Artifact artifact, ArtifactRepository localRepository )
|
||||
throws ArtifactPathFormatException
|
||||
{
|
||||
for ( Iterator i = artifactTransformations.iterator(); i.hasNext(); )
|
||||
|
|
|
@ -52,7 +52,7 @@ public class DefaultArtifactInstaller
|
|||
{
|
||||
try
|
||||
{
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
|
||||
|
||||
if ( !artifact.getFile().getParentFile().exists() )
|
||||
{
|
||||
|
|
|
@ -77,7 +77,7 @@ public class DefaultArtifactResolver
|
|||
logger.debug( "Resolving: " + artifact.getId() + " from:\n" + "{localRepository: " + localRepository +
|
||||
"}\n" + "{remoteRepositories: " + remoteRepositories + "}" );
|
||||
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
|
||||
|
||||
if ( artifact.exists() )
|
||||
{
|
||||
|
@ -294,7 +294,7 @@ public class DefaultArtifactResolver
|
|||
|
||||
try
|
||||
{
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
|
||||
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
|
||||
}
|
||||
catch ( ArtifactPathFormatException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue