[
https://issues.apache.org/jira/browse/NUTCH-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xibao.Lv updated NUTCH-1642:
----------------------------
Patch Info: Patch Available
> mvn compile fails on Centos6.3
> ------------------------------
>
> Key: NUTCH-1642
> URL: https://issues.apache.org/jira/browse/NUTCH-1642
> Project: Nutch
> Issue Type: Bug
> Environment: Apache Maven 3.1.0
> (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 10:15:32+0800)
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-279.el6.x86_64", arch: "amd64", family:
> "unix"
> Reporter: Xibao.Lv
>
> Hi,all
> I am new. when i run 'mvn compile', it return some errors.Like Follows.
> 1.[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
> It means that the org.restlet.jse can not find in main repository. Then I add
> repository address to pom.xml
> 2.[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.jdom:jdom:jar -> duplicate declaration of version 1.1 @
> line 268, column 29
> 3.[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: 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
> It means that we can not find javax.jms in
> there(https://maven-repository.dev.java.net/nonav/repository). Google said
> log4j-1.2.15 dependency javax.jms, so we can use higher log4j, such as
> 1.2.16+.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira