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-mboot2/src/main/java/download ArtifactDownloader.java
Date Mon, 04 Apr 2005 06:35:40 GMT
brett       2005/04/03 23:35:40

  Modified:    maven-mboot2/src/main/java/download ArtifactDownloader.java
  Log:
  don't attempt to download m2 dependencies
  
  Revision  Changes    Path
  1.8       +6 -0      maven-components/maven-mboot2/src/main/java/download/ArtifactDownloader.java
  
  Index: ArtifactDownloader.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/src/main/java/download/ArtifactDownloader.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ArtifactDownloader.java	4 Apr 2005 05:31:29 -0000	1.7
  +++ ArtifactDownloader.java	4 Apr 2005 06:35:40 -0000	1.8
  @@ -79,6 +79,12 @@
                       directory.mkdirs();
                   }
   
  +                if ( dep.getGroupId().equals( "org.apache.maven" ) )
  +                {
  +                    //skip our own
  +                    continue;
  +                }
  +
                   if ( destinationFile.exists() && dep.getVersion().indexOf( SNAPSHOT_SIGNATURE
) < 0 )
                   {
                       continue;
  
  
  

Mime
View raw message