Sometimes it helps to add the maven option --strict-checksums or -C.
Max gave me that tip when my maven builds were failing due to http
errors.  If you get a bogus (empty) artifact from the nexus repo, using
the -C option means it will be checked and rejected.

You might not be hitting this case but thought I would mention it.

On Wed, 2011-02-02 at 20:36 -0800, Gail Badner wrote:
> I need to get some rest. I'll pick this up tomorrow.
> 
> I'm getting the following:
> 
> [INFO] 
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
> ----------
> 1) org.apache.maven.surefire:surefire-booter:jar:2.4.3
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.maven.surefire 
> -DartifactId=surefire-booter -Dversion=2.4.3 -Dpackaging=jar 
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
> -DartifactId=surefire-booter -Dversion=2.4.3 -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4.3
>         2) org.apache.maven.surefire:surefire-booter:jar:2.4.3
> 
> 2) org.apache.maven.surefire:surefire-api:jar:2.4.3
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.maven.surefire 
> -DartifactId=surefire-api -Dversion=2.4.3 -Dpackaging=jar 
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire 
> -DartifactId=surefire-api -Dversion=2.4.3 -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4.3
>         2) org.apache.maven.surefire:surefire-booter:jar:2.4.3
>         3) org.apache.maven.surefire:surefire-api:jar:2.4.3
> 
> ---------
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to