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-artifact/src/main/java/org/apache/maven/artifact/transform SnapshotTransformation.java
Date Wed, 30 Mar 2005 14:56:32 GMT
brett       2005/03/30 06:56:32

  Modified:    maven-artifact/src/main/java/org/apache/maven/artifact/transform
                        SnapshotTransformation.java
  Log:
  correct resolution bug when a new snapshot is downloaded
  
  Revision  Changes    Path
  1.16      +2 -1      maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/transform/SnapshotTransformation.java
  
  Index: SnapshotTransformation.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/transform/SnapshotTransformation.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SnapshotTransformation.java	30 Mar 2005 05:24:50 -0000	1.15
  +++ SnapshotTransformation.java	30 Mar 2005 14:56:32 -0000	1.16
  @@ -69,7 +69,6 @@
                   throw new ArtifactMetadataRetrievalException( "Error reading local metadata",
e );
               }
   
  -            String version = localMetadata.constructVersion();
               boolean alreadyResolved = alreadyResolved( artifact );
               if ( !alreadyResolved )
               {
  @@ -144,6 +143,8 @@
               }
               else
               {
  +                String version = localMetadata.constructVersion();
  +                
                   if ( getLogger().isInfoEnabled() )
                   {
                       if ( !version.equals( artifact.getBaseVersion() ) && !alreadyResolved
)
  
  
  

Mime
View raw message