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 pom.xml
Date Wed, 13 Apr 2005 00:05:42 GMT
brett       2005/04/12 17:05:42

  Modified:    maven-artifact/src/main/java/org/apache/maven/artifact/manager
                        DefaultWagonManager.java
               maven-artifact pom.xml
               maven-mboot2 pom.xml
  Log:
  PR: MNG-287
  publish MD5 and SHA1 checksums with all artifacts
  
  Revision  Changes    Path
  1.25      +5 -0      maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
  
  Index: DefaultWagonManager.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- DefaultWagonManager.java	30 Mar 2005 01:17:34 -0000	1.24
  +++ DefaultWagonManager.java	13 Apr 2005 00:05:41 -0000	1.25
  @@ -29,6 +29,7 @@
   import org.apache.maven.wagon.authentication.AuthenticationException;
   import org.apache.maven.wagon.authorization.AuthorizationException;
   import org.apache.maven.wagon.events.TransferListener;
  +import org.apache.maven.wagon.observers.ChecksumObserver;
   import org.apache.maven.wagon.proxy.ProxyInfo;
   import org.codehaus.plexus.PlexusConstants;
   import org.codehaus.plexus.PlexusContainer;
  @@ -129,6 +130,10 @@
   //            wagon.addTransferListener( downloadMonitor );
   //        }
   
  +        // TODO: configure these
  +        wagon.addTransferListener( new ChecksumObserver( "MD5" ) );
  +        wagon.addTransferListener( new ChecksumObserver( "SHA-1" ) );
  +
           try
           {
               wagon.connect( repository, getProxy( repository.getProtocol() ) );
  
  
  
  1.18      +1 -1      maven-components/maven-artifact/pom.xml
  
  Index: pom.xml
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-artifact/pom.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- pom.xml	8 Apr 2005 07:50:53 -0000	1.17
  +++ pom.xml	13 Apr 2005 00:05:41 -0000	1.18
  @@ -16,7 +16,7 @@
       <dependency>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-provider-api</artifactId>
  -      <version>1.0-alpha-2</version>
  +      <version>1.0-alpha-3-SNAPSHOT</version>
       </dependency>
       <dependency>
         <groupId>org.apache.maven.wagon</groupId>
  
  
  
  1.13      +8 -0      maven-components/maven-mboot2/pom.xml
  
  Index: pom.xml
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/pom.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- pom.xml	8 Apr 2005 07:50:53 -0000	1.12
  +++ pom.xml	13 Apr 2005 00:05:42 -0000	1.13
  @@ -9,6 +9,14 @@
     <name>Maven MBoot</name>
     <description>Tool used to bootstrap m2.</description>
     <dependencies>
  +    <!-- TODO: shouldn't be required - need latest version dependency resolution -->
  +    <dependency>
  +      <groupId>org.apache.maven.wagon</groupId>
  +      <artifactId>wagon-provider-api</artifactId>
  +      <version>1.0-alpha-3-SNAPSHOT</version>
  +      <scope>runtime</scope>
  +    </dependency>
  +
       <dependency>
         <groupId>org.codehaus.modello</groupId>
         <artifactId>modello-plugin-xpp3</artifactId>
  
  
  

Mime
View raw message