maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/repository RepositoryUtils.java
Date Tue, 08 Feb 2005 04:39:51 GMT
brett       2005/02/07 20:39:51

  Modified:    maven-core/src/main/java/org/apache/maven/cli MavenCli.java
               maven-core/src/main/java/org/apache/maven/repository
                        RepositoryUtils.java
  Log:
  method only used once
  
  Revision  Changes    Path
  1.8       +2 -3      maven-components/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
  
  Index: MavenCli.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MavenCli.java	3 Feb 2005 11:39:24 -0000	1.7
  +++ MavenCli.java	8 Feb 2005 04:39:37 -0000	1.8
  @@ -32,7 +32,6 @@
   import org.apache.maven.execution.initialize.MavenInitializingExecutionRequest;
   import org.apache.maven.execution.project.MavenProjectExecutionRequest;
   import org.apache.maven.execution.reactor.MavenReactorExecutionRequest;
  -import org.apache.maven.repository.RepositoryUtils;
   import org.codehaus.classworlds.ClassWorld;
   import org.codehaus.plexus.embed.ArtifactEnabledEmbedder;
   
  @@ -303,6 +302,6 @@
   
           // TODO [BP]: this should not be necessary - grep for and remove
           System.setProperty( MavenConstants.MAVEN_REPO_LOCAL, localRepository );
  -        return RepositoryUtils.localRepositoryToWagonRepository( localRepository );
  +        return new ArtifactRepository( "local", "file://" + localRepository );
       }
   }
  
  
  
  1.6       +1 -5      maven-components/maven-core/src/main/java/org/apache/maven/repository/RepositoryUtils.java
  
  Index: RepositoryUtils.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/repository/RepositoryUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RepositoryUtils.java	3 Feb 2005 11:39:26 -0000	1.5
  +++ RepositoryUtils.java	8 Feb 2005 04:39:51 -0000	1.6
  @@ -58,8 +58,4 @@
           return retValue;
       }
   
  -    public static ArtifactRepository localRepositoryToWagonRepository( String repository
)
  -    {
  -        return new ArtifactRepository( "local", "file://" + repository );
  -    }
   }
  
  
  

Mime
View raw message