[gatein-dev] Checksum issue with snapshots.jboss.org

Arnaud HERITIER arnaud.heritier at exoplatform.com
Mon Oct 5 16:44:20 EDT 2009


ok thx for pointers. I didn't know this one.I tested the workaround. It
works

Those who have maven 2.2.1 and who need to deploy snapshots at JBoss in your
settings you can put :

    <server>
      <id>jboss-snapshots</id>
      <username>XXXXX</username>
      <password>YYYYY</password>
      <configuration>
        <httpConfiguration>
          <put>
            <params>
              <param>
                <name>http.authentication.preemptive</name>
                <value>%b,true</value>
              </param>
            </params>
          </put>
        </httpConfiguration>
      </configuration>
    </server>

Cheers


On Mon, Oct 5, 2009 at 3:18 PM, Paul Gier <pgier at redhat.com> wrote:

> There is a problem in Maven 2.2.1 with checksum generation when deploying
> over webdav [1][2].  So this is probably what you are seeing.  The current
> solution requires changing settings.xml, but this isn't ideal because then
> you can't use older versions of Maven.
>
> [1]https://jira.jboss.org/jira/browse/JBBUILD-555
> [2]http://jira.codehaus.org/browse/MNG-4301
>
>
> Arnaud HERITIER wrote:
>
>> Hi Paul,
>>  Do you know if something changed on snapshots.jboss.org ?
>>
>>  I tried to upload the Jboss parent to see if the problem is coming from
>> GateIn but it doesn't. I have the same one :
>>
>> arnaud at mbp-arnaud:~/Projets/JBoss/Code/jboss-parent-pom-trunk$ mvn deploy
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building JBoss Parent POM
>> [INFO]    task-segment: [deploy]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>> [INFO] [source:jar-no-fork {execution: attach-sources}]
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing
>> /Users/arnaud/Projets/JBoss/Code/jboss-parent-pom-trunk/pom.xml to
>>
>> /Users/arnaud/.m2/repository/org/jboss/jboss-parent/5-beta-3-SNAPSHOT/jboss-parent-5-beta-3-SNAPSHOT.pom
>> [INFO] [deploy:deploy {execution: default-deploy}]
>> [INFO] Retrieving previous build number from jboss-snapshots
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '6e401588cbf67812b286c0b363cb70ae05aea31c'; remote =
>> 'cac90530f3cd25c1b199b774ce67ad17f4ba3dba' - RETRYING
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '6e401588cbf67812b286c0b363cb70ae05aea31c'; remote =
>> 'cac90530f3cd25c1b199b774ce67ad17f4ba3dba' - IGNORING
>> Uploading:
>>
>> https://snapshots.jboss.org/maven2/org/jboss/jboss-parent/5-beta-3-SNAPSHOT/jboss-parent-5-beta-3-20091002.230227-3.pom
>> 11K uploaded  (jboss-parent-5-beta-3-20091002.230227-3.pom)
>> [INFO] Retrieving previous metadata from jboss-snapshots
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '976bbb599a114b7e28418b351e17ca927e70ab1c'; remote =
>> '6ccc6f14924a501d867c93fb7bd3fd006e31da51' - RETRYING
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '976bbb599a114b7e28418b351e17ca927e70ab1c'; remote =
>> '6ccc6f14924a501d867c93fb7bd3fd006e31da51' - IGNORING
>> [INFO] Uploading repository metadata for: 'artifact
>> org.jboss:jboss-parent'
>> [INFO] Retrieving previous metadata from jboss-snapshots
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '6e401588cbf67812b286c0b363cb70ae05aea31c'; remote =
>> 'cac90530f3cd25c1b199b774ce67ad17f4ba3dba' - RETRYING
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> '6e401588cbf67812b286c0b363cb70ae05aea31c'; remote =
>> 'cac90530f3cd25c1b199b774ce67ad17f4ba3dba' - IGNORING
>> [INFO] Uploading repository metadata for: 'snapshot
>> org.jboss:jboss-parent:5-beta-3-SNAPSHOT'
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 38 seconds
>> [INFO] Finished at: Sat Oct 03 01:03:02 CEST 2009
>> [INFO] Final Memory: 27M/125M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>>   Any idea ?
>>
>>  Isn't there a process which could corrupt them ?
>>
>>
>> Cheers,
>>
>> Arnaud
>>
>> # Arnaud Héritier
>> # Software Factory Manager
>> # eXo Platform
>> # http://www.exoplatform.com
>> # http://blog.aheritier.net
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/gatein-dev/attachments/20091005/65d4eebe/attachment.html 


More information about the gatein-dev mailing list