[embjopr-issues] [JBoss JIRA] Created: (EMBJOPR-363) "mvn install -Dmaven.test.skip=true" Failed

Yi Chen Chen (JIRA) jira-events at lists.jboss.org
Wed Aug 24 22:52:17 EDT 2011


"mvn install -Dmaven.test.skip=true" Failed
-------------------------------------------

                 Key: EMBJOPR-363
                 URL: https://issues.jboss.org/browse/EMBJOPR-363
             Project: Embedded Jopr
          Issue Type: Bug
            Reporter: Yi Chen Chen
            Priority: Blocker


Dear Sir,

After checking out the Embedded Jopr source from JBoss SVN, I encounter a question while executing the command "mvn install -Dmaven.test.skip=true".

The warnings and errors are shown as the following:
Some problems were encountered while building the effective model for org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> duplicate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Yi Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, column 19
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
...
Failed to execute goal on project jopr-embedded-parent: Could not resolve dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jdk15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could not transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jboss-old (https://repository.jboss.org/maven2/): Access denied to: https://repository.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Please help me to overcome this question, thank you very much!

Best Regards and have a Nice Day

Chen Yi Chen

Reference:
c:\embjopr>mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type
:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> dupli
cate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Y
i Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, c
olumn 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Embedded Jopr
[INFO] Embedded Jopr Core
[INFO] JBossAS 6.x Administration Console
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Embedded Jopr 1.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Embedded Jopr ..................................... FAILURE [3.729s]
[INFO] Embedded Jopr Core ................................ SKIPPED
[INFO] JBossAS 6.x Administration Console ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.040s
[INFO] Finished at: Wed Aug 24 11:14:13 CST 2011
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jopr-embedded-parent: Could not resolv
e dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHO
T: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0
.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api
:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jd
k15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read
artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could n
ot transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jbo
ss-old (https://repository.jboss.org/maven2/): Access denied to: https://reposit
ory.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-logging
-1.1.0.jboss.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
c:\embjopr>
Dear Sir,
After checking out the Embedded Jopr source from JBoss SVN, I encounter a question while executing the command "mvn install -Dmaven.test.skip=true".
The warnings and errors are shown as the following:
Some problems were encountered while building the effective model for org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> duplicate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Yi Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, column 19
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
...
Failed to execute goal on project jopr-embedded-parent: Could not resolve dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jdk15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could not transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jboss-old (https://repository.jboss.org/maven2/): Access denied to: https://repository.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Please help me to overcome this question, thank you very much!
Best Regards and have a Nice Day
Chen Yi Chen
Reference:
c:\embjopr>mvn install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type
:classifier)' must be unique: org.jboss.jbossws:jbossws-native-dist:zip -> dupli
cate declaration of version 3.1.1.GA @ org.rhq:rhq-parent:3.0.0, C:\Users\Chen Y
i Chen\.m2\repository\org\rhq\rhq-parent\3.0.0\rhq-parent-3.0.0.pom, line 241, c
olumn 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Embedded Jopr
[INFO] Embedded Jopr Core
[INFO] JBossAS 6.x Administration Console
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Embedded Jopr 1.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/commons-logging/commons-logging
/1.1.0.jboss/commons-logging-1.1.0.jboss.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
Downloading: https://repository.jboss.org/maven2/org/jetbrains/annotations/7.0.2
/annotations-7.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Embedded Jopr ..................................... FAILURE [3.729s]
[INFO] Embedded Jopr Core ................................ SKIPPED
[INFO] JBossAS 6.x Administration Console ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.040s
[INFO] Finished at: Wed Aug 24 11:14:13 CST 2011
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jopr-embedded-parent: Could not resolv
e dependencies for project org.jboss.jopr:jopr-embedded-parent:pom:1.4.1-SNAPSHO
T: Failed to collect dependencies for [commons-logging:commons-logging:jar:1.1.0
.jboss (provided), i18nlog:i18nlog:jar:1.0.10 (compile), javax.xml.bind:jaxb-api
:jar:2.1 (provided), log4j:log4j:jar:1.2.14 (provided), org.testng:testng:jar:jd
k15:5.9 (test), org.jetbrains:annotations:jar:7.0.2 (provided)]: Failed to read
artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could n
ot transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to jbo
ss-old (https://repository.jboss.org/maven2/): Access denied to: https://reposit
ory.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-logging
-1.1.0.jboss.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
c:\embjopr>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the embjopr-issues mailing list