Hi,
When trying to build axis2 with maven 2.0.4, some required artifacts
(java2wsdl.jar?!) fail to download. I read that maven 2 was not yet
supported;
is that true?
However, I have similar problems when using maven 1.0.2 (missing
artifacts:
bcel-5.2.jar, spring-*.jar). I tried to add the missing repositories
(e.g.
http://repo1.maven.org/maven2/, http://www.ibiblio.org/maven/, ...) to
project.properties and even downloaded the missing jars to the local
repository, however, there are still some artifacts missing.
I'm new to Maven, so I don't know whether I'm doing something wrong...
Thanks for any help,
Clemens
Here is the output when running maven2:
$mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Axis 2.0 Parent Project
[INFO] Apache Axis 2.0 - Java2WSDL
[INFO] Apache Axis 2.0 - Kernel
[INFO] Apache Axis 2.0 - Data Binding
[INFO] Apache Axis 2.0 - Code Generation
[INFO] Apache Axis 2.0 - ADB Codegen
[INFO] Apache Axis 2.0
[INFO]
----------------------------------------------------------------------------
[INFO] Building Axis 2.0 Parent Project
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing
/home/clemens/workspace_3.2/axis2/modules/parent/pom.xml
to
/home/clemens/.m2/repository/org/apache/axis2/axis2-parent/1.1-SNAPSHOT/axis2-parent-1.1-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Axis 2.0 - Java2WSDL
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.ws.commons.schema:XmlSchema:jar:SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn
install:install-file -DgroupId=org.apache.ws.commons.schema
-DartifactId=XmlSchema
\
-Dversion=SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.apache.axis2:axis2-java2wsdl:jar:1.1-SNAPSHOT
2) org.apache.ws.commons.schema:XmlSchema:jar:SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.axis2:axis2-java2wsdl:jar:1.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Nov 06 13:22:46 CET 2006
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------
--
Clemens Orthacker IAIK, Graz University of Technology
Inffeldgasse 16a, 8010 Graz, Austria
Tel: +43 316 873 5512 Web: http://iaik.tugraz.at/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]