Hello,

    Archiva Beta 3, plexus standalone, Fedora Core 5, jdk1.5.0_09

    A user asked me to cache http://download.java.net/maven/1, a Maven 1
repo.  I configured a proxy connector to cache it into the Archiva
'internal' maven 2 repository.

    The user has the following in his settings.xml;

      <mirror>
        <mirrorOf>*</mirrorOf>
        <name>Archiva Mirror Repository</name>
        
<url>http://m2repo.atsdev.sensis.com:8280/archiva/repository/internal</url>
        <id>internal</id>
      </mirror>

   On doing his build, maven hit archiva and got the
http://m2repo.atsdev.sensis.com:8280/archiva/repository/internal/com/sun
/tools/xjc/maven2/maven-jaxb-plugin/1.1/maven-jaxb-plugin-1.1.pom

   However, it failed to get the associated .jar file.

   We twiddled a bunch of different settings, and determined that when
he configures the external repo as a pluginRepository, and ignores the
Archiva, he gets the .jar just fine.

    Finally, we manually downloaded the .jar, .jar.sha1 and .jar.md5 and
dropped them into the Archive repo folder next to the pom Archiva
downloaded.

    After that, the user could build just fine.

   So, is there something wrong in my archiva configuration, the maven
configuration, or is it a bug that Archiva would fetch and cache the POM
but not the JAR?

   Thanks.

--CB

Reply via email to