Valerio Schiavoni created NUTCH-1808:
----------------------------------------
Summary: JMX/JMS artifacts cannot be resolved from fresh repository
Key: NUTCH-1808
URL: https://issues.apache.org/jira/browse/NUTCH-1808
Project: Nutch
Issue Type: Bug
Affects Versions: 2.2.1
Reporter: Valerio Schiavoni
How to reproduce:
git clone https://github.com/apache/nutch.git
cd nutch
git checkout 2.x
mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.nutch:nutch:jar:2.2
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: org.jdom:jdom:jar -> duplicate declaration of version 1.1 @ line
256, column 29
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Nutch 2.2
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.restlet.jse:org.restlet:jar:2.0.5 is missing, no
dependency information available
[WARNING] The POM for org.restlet.jse:org.restlet.ext.jackson:jar:2.0.5 is
missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.978s
[INFO] Finished at: Mon Jun 30 23:11:03 CEST 2014
[INFO] Final Memory: 20M/982M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nutch: Could not resolve dependencies
for project org.apache.nutch:nutch:jar:2.2: The following artifacts could not
be resolved: javax.jms:jms:jar:1.1, com.sun.jdmk:jmxtools:jar:1.2.1,
com.sun.jmx:jmxri:jar:1.2.1, org.restlet.jse:org.restlet:jar:2.0.5,
org.restlet.jse:org.restlet.ext.jackson:jar:2.0.5: Could not transfer artifact
javax.jms:jms:jar:1.1 from/to java.net
(https://maven-repository.dev.java.net/nonav/repository): No connector
available to access repository java.net
(https://maven-repository.dev.java.net/nonav/repository) of type legacy using
the available factories WagonRepositoryConnectorFactory -> [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/DependencyResolutionException
--
This message was sent by Atlassian JIRA
(v6.2#6252)