[
https://jira.jboss.org/browse/JBBUILD-665?page=com.atlassian.jira.plugin....
]
Hardy Ferentschik commented on JBBUILD-665:
-------------------------------------------
Funny enough, it seems that right now I can access
https://repository.jboss.org/nexus/content/repositories/public/org/hibern....
At least through the browser.
Using an empty directory for my local repo I still keep getting:
mvn clean install -s ~/.m2/settings-tmp-repo.xml
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hibernate Validator Aggregator
[INFO] Hibernate Validator
[INFO] Hibernate Validator Quickstart
[INFO] Hibernate Validator Legacy
[INFO] Hibernate Validator TCK Runner
[INFO] Hibernate Validator Annotation Processor
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Validator Aggregator 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hibernate-validator-parent
---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java) @
hibernate-validator-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
hibernate-validator-parent ---
[INFO] Installing /Users/hardy/work/hibernate/git/validator/pom.xml to
/Users/hardy/tmp/m2-clean/org/hibernate/hibernate-validator-parent/4.2.0-SNAPSHOT/hibernate-validator-parent-4.2.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Validator 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading:
http://repository.jboss.com/maven2/org/hibernate/hibernate-entitymanager/...
Downloading:
http://snapshots.jboss.org/maven2/org/hibernate/hibernate-entitymanager/3...
Downloading:
http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.0...
[WARNING] The POM for org.hibernate:hibernate-entitymanager:jar:3.6.0.Final is missing, no
dependency information available
Downloading:
http://repository.jboss.com/maven2/org/hibernate/hibernate-entitymanager/...
Downloading:
http://snapshots.jboss.org/maven2/org/hibernate/hibernate-entitymanager/3...
Downloading:
http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.0...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hibernate Validator Aggregator .................... SUCCESS [0.333s]
[INFO] Hibernate Validator ............................... FAILURE [7.797s]
[INFO] Hibernate Validator Quickstart .................... SKIPPED
[INFO] Hibernate Validator Legacy ........................ SKIPPED
[INFO] Hibernate Validator TCK Runner .................... SKIPPED
[INFO] Hibernate Validator Annotation Processor .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.698s
[INFO] Finished at: Tue Dec 07 16:19:09 CET 2010
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hibernate-validator: Could not resolve
dependencies for project org.hibernate:hibernate-validator:jar:4.2.0-SNAPSHOT: Could not
find artifact org.hibernate:hibernate-entitymanager:jar:3.6.0.Final in jboss
(
http://repository.jboss.com/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hibernate-validator
The nexus repository sometimes starts serving 404s for existing poms
--------------------------------------------------------------------
Key: JBBUILD-665
URL:
https://jira.jboss.org/browse/JBBUILD-665
Project: JBoss Build System
Issue Type: Bug
Components: Maven Builds
Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
Java version: 1.6.0_22
Reporter: Hardy Ferentschik
Assignee: Paul Gier
Priority: Critical
Fix For: Repository Support 2010
It seems sometimes the nexus repository starts serving 404s for dependencies. today I
tried to rebuild Hibernate Validator from scratch and I kept getting:
{noformat}
[ERROR] Failed to execute goal on project hibernate-validator: Could not resolve
dependencies for project org.hibernate:hibernate-validator:jar:4.2.0-SNAPSHOT: Could not
find artifact org.hibernate:hibernate-entitymanager:jar:3.6.0.Final in jboss
(
http://repository.jboss.com/maven2) -> [Help 1]
{noformat}
Turned out that trying to access the URL
https://repository.jboss.org/nexus/content/repositories/public/org/hibern...
returns a 404 which explains at least why the build fails.
This is not the first time I see this problem. A little while ago I deployed a SNAPSHOT
of org.hibernate:hibernate-jpamodelgen. Even though I could see the SNAPSHOT in the
directory listing I was not able to use the SNAPSHOT, because trying to access the pom
would again return 404s. In the case of jpamodelgen disappeared then a day later (not sure
exactly when. I just remember trying again some time a day later and it worked)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira