axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-3420) Maven build fails due to woden dependency problem
Date Thu, 07 Jun 2012 12:12:23 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290957#comment-13290957
] 

Matt commented on AXIS2-3420:
-----------------------------

I have a project using Axis2 failing for the same reason: woden-1.0-incubating-M7a not retrievable
on Maven.
Unfortunately the patches AXIS2-1791 and AXIS2-3420 don't not work and, as you can see below
I can't retrieve the JAR even if it is on my local repository (Maven Centrl Repository only
provides version 1.0M8 and 1.0M9).
I've also tried to manually upload the JAR in .m2/repository/.../woden/1.0-incubating-M7a/
but no way.

I have the following list of dependencies:

axis2-adb-1.2.jar
axis2-adb-codegen-1.2.jar
axis2-codegen-1.2.jar
axis2-fastinfoset-1.2.jar
axis2-java2wsdl-1.2.jar
axis2-jaxbri-1.2.jar
axis2-jaxws-1.2.jar
axis2-jaxws-api-1.2.jar
axis2-jibx-1.2.jar
axis2-json-1.2.jar
axis2-kernel-1.2.jar
axis2-metadata-1.2.jar
axis2-saaj-1.2.jar
axis2-saaj-api-1.2.jar
axis2-soapmonitor-1.2.jar
axis2-spring-1.2.jar
axis2-tools-1.2.jar
axis2-xmlbeans-1.2.jar

Here the Maven output of NetBeans:

------------------------------------------------------------------------
Building project-main 1.0-SNAPSHOT
------------------------------------------------------------------------
Downloading: http://xxx.xxx.xxx.xx:8081/artifactory/libs-snapshot/org/apache/woden/woden/1.0-incubating-M7a/woden-1.0-incubating-M7a.pom

Downloading: http://xxx.xxx.xxx.xx:8081/artifactory/remote-repos/org/apache/woden/woden/1.0-incubating-M7a/woden-1.0-incubating-M7a.pom

------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 0.890s
Finished at: Thu Jun 07 13:58:08 CEST 2012
Final Memory: 4M/15M
------------------------------------------------------------------------
Failed to execute goal on project project-main: Could not resolve dependencies for project
com.company.project:project-main:jar:1.0-SNAPSHOT: Failed to collect dependencies for [junit:junit:jar:3.8.1
(test), opencard:base-core:jar:1.2 (compile), opencard:base-opt:jar:1.2 (compile), com.sun.comm:comm:jar:2.0
(compile), com.jgoodies:forms:jar:1.2.1 (compile), com.enterprisedt:edtFTPj:jar:1.5.3 (compile),
gnu-regexp:gnu-regexp:jar:1.1.4 (compile), HTTPClient:HTTPClient:jar:0.3-3 (compile), iaik.pkcs.pkcs11.wrapper:iaik-pkcs11-wrapper:jar:1.2.14
(compile), jaas:jaas:jar:1.0 (compile), jakarta-regexp:jakarta-regexp:jar:1.4 (compile), jalopy:jalopy:jar:1.5rc3
(compile), javax.xml.parsers:jaxp-api:jar:1.4 (compile), bouncycastle:bouncycastle-jce-jdk13:jar:112
(compile), javax.sql:jdbc-stdext:jar:2.0 (compile), jdom:jdom:jar:1.0b8 (compile), com.sun.woodstock.dependlibs:jhall:jar:2.0
(compile), javax.xml:jsr173:jar:1.0 (compile), jgoodies:looks:jar:1.2.2 (compile), mx4j:mx4j:jar:3.0.2
(compile), mx4j:mx4j-jmx:jar:3.0.1 (compile), mx4j:mx4j-remote:jar:3.0.2 (compile), mx4j:mx4j-tools:jar:3.0.1
(compile), oswego-concurrent:concurrent:jar:1.3.4 (compile), com.sun.jndi:providerutil:jar:1.2
(compile), com.ibm.opencard.terminal.pcsc10:reference-terminals-windows:jar:1.0 (compile),
struts:struts:jar:1.2.9 (compile), com.sun.crypto.provider:sunjce_provider:jar:1.3.0 (compile),
org.pietschy:wizard:jar:0.1.12 (compile), org.apache.xmlbeans:xmlbeans:jar:2.5.0 (compile),
xerces:xercesImpl:jar:2.8.1 (compile), xmlbeans:xbean:jar:2.2.0 (compile), xmlviewer:xmlviewer:jar:1.3.1_04
(compile), net.sf.hibernate:hibernate:jar:2.1.8 (compile), org.apache.directory.studio:org.apache.commons.lang:jar:2.6
(compile), raincode:xmlbooster:jar:1.3 (compile), xalan:xalan:jar:2.7.0 (compile), xerces:xmlParserAPIs:jar:2.6.2
(compile), xml-apis:xml-apis:jar:1.3.04 (compile), commons-codec:commons-codec:jar:1.3 (compile),
javax:javaee-api:jar:6.0 (provided), org.apache.axis2:axis2-adb:jar:1.2 (test), org.apache.axis2:axis2-adb-codegen:jar:1.2
(test), org.apache.axis2:axis2-codegen:jar:1.2 (test), org.apache.axis2:axis2-fastinfoset:jar:1.2
(test), org.apache.axis2:axis2-java2wsdl:jar:1.2 (test), org.apache.axis2:axis2-jaxbri:jar:1.2
(test), org.apache.axis2:axis2-jaxws:jar:1.2 (test), org.apache.axis2:axis2-jaxws-api:jar:1.2
(test), org.apache.axis2:axis2-jibx:jar:1.2 (test), org.apache.axis2:axis2-json:jar:1.2 (test),
org.apache.axis2:axis2-kernel:jar:1.2 (test), org.apache.axis2:axis2-metadata:jar:1.2 (test),
org.apache.axis2:axis2-saaj:jar:1.2 (test), org.apache.axis2:axis2-saaj-api:jar:1.2 (test),
org.apache.axis2:axis2-soapmonitor:jar:1.2 (test), org.apache.axis2:axis2-spring:jar:1.2 (test),
org.apache.axis2:axis2-tools:jar:1.2 (test), org.apache.axis2:axis2-xmlbeans:jar:1.2 (test),
jboss:jboss-j2ee:jar:3.2.3 (compile), jboss:jboss-cache:jar:1.4.1.GA (compile), jboss:jbosssx:jar:3.2.3
(compile), jboss:jbossall-client:jar:3.2.3 (compile), jboss:jboss-system:jar:4.0.2 (compile),
jboss:jboss-j2se:jar:200504122039 (compile), jboss:jboss-common-client:jar:3.2.3 (compile),
org.jboss.varia.scheduler:scheduler-plugin:jar:5.0.0.Beta2 (compile)]: Failed to read artifact
descriptor for org.apache.woden:woden:jar:1.0-incubating-M7a: Could not transfer artifact
org.apache.woden:woden:pom:1.0-incubating-M7a from/to snapshots (http://xxx.xxx.xxx.xx:8081/artifactory/libs-snapshot):
Not authorized, ReasonPhrase:Unauthorized. -> [Help 1]


Any clue?
                
> Maven build fails due to woden dependency problem
> -------------------------------------------------
>
>                 Key: AXIS2-3420
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3420
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples, build,site
>    Affects Versions: 1.3
>            Reporter: Daniel Harvey
>
> This bug is reported and theoretically fixed in AXIS2-1791. This appears not to be the
case for Axis2 version 1.3.
> In the /axis2-1.3/samples/version/ folder, "mvn package" produces the following error:
> {code}
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.apache.woden:woden:jar:1.0-incubating-M7b
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.woden -DartifactId=woden -Dversion=1.0-incubating-M7b
-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.woden -DartifactId=woden -Dversion=1.0-incubating-M7b
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency: 
>         1) org.apache.axis2:version:aar:1.3
>         2) org.apache.axis2:axis2-kernel:jar:1.3
>         3) org.apache.woden:woden:jar:1.0-incubating-M7b
> 2) wsdl4j:wsdl4j:jar:1.6.2
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=wsdl4j -DartifactId=wsdl4j -Dversion=1.6.2 -Dpackaging=jar
-Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there: 
>       mvn deploy:deploy-file -DgroupId=wsdl4j -DartifactId=wsdl4j -Dversion=1.6.2 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency: 
>         1) org.apache.axis2:version:aar:1.3
>         2) org.apache.axis2:axis2-kernel:jar:1.3
>         3) wsdl4j:wsdl4j:jar:1.6.2
> ----------
> 2 required artifacts are missing.
> for artifact: 
>   org.apache.axis2:version:aar:1.3
> {code}
> The fix detailed in AXIS2-1791 was to replace the woden artifact dependency with the
incubator version. This dependency is still incorrect in version 1.3 - see http://repo1.maven.org/maven2/org/apache/axis2/axis2-kernel/1.3/axis2-kernel-1.3.pom
. Accordingly, the build fails as show above.
> Can this please be fixed?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message