You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Clemens Orthacker <cl...@iaik.tugraz.at> on 2006/11/06 17:20:56 UTC
maven build problems axis2
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: maven build problems axis2
Posted by Manoj Khangaonkar <kh...@gmail.com>.
Jeremy,
Are u able to delete your local maven cache and repository and do a build
with maven 1.1 beta.
I am seeing similar errors that indicate certain jars cannot be downloaded.
Attempting to download axiom-api-SNAPSHOT.jar.
WARNING: Failed to download axiom-api-SNAPSHOT.jar.
Attempting to download axiom-impl-SNAPSHOT.jar.
WARNING: Failed to download axiom-impl-SNAPSHOT.jar.
.
.
.
BUILD FAILED
File...... /home/manoj/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jellyElement...
maven:reactor
Line...... 217
Column.... 9
The build cannot continue because of the following unsatisfied dependencies:
axiom-api-SNAPSHOT.jar
axiom-impl-SNAPSHOT.jar
XmlSchema-SNAPSHOT.jar
Mj
On 11/6/06, Jeremy Hughes <hu...@apache.org> wrote:
>
> I think you need to use maven 1.1 beta 2
>
> Regards,
> Jeremy
>
> On 11/6/06, Clemens Orthacker <cl...@iaik.tugraz.at> wrote:
> > 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: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
Re: maven build problems axis2
Posted by Clemens Orthacker <cl...@iaik.tugraz.at>.
Am Dienstag, 7. November 2006 08:03 schrieb Nigel Charman:
> It builds OK for me out of the box with Maven 1.0.2.
>
> What Maven command are you using? You could try just 'maven' or 'maven
> release' to see if they work for you.
I removed all the repository entries I added myself to project.properties and
with maven 1.1beta3 and 'maven' or 'maven release' I get:
$ maven [release]
[...]
+----------------------------------------
| Executing multiproject:install-callback Apache Axis 2.0 - spring
| Memory: 25M/27M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build> section of
project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section of
project.xml instead of maven.xml
build:end:
Trying to get missing/snapshot dependencies required by Apache Axis 2.0 -
spring:
Attempting to download spring-core-1.2.8.jar.
WARNING: Failed to download spring-core-1.2.8.jar.
Attempting to download spring-beans-1.2.8.jar.
WARNING: Failed to download spring-beans-1.2.8.jar.
Attempting to download spring-context-1.2.8.jar.
WARNING: Failed to download spring-context-1.2.8.jar.
Attempting to download spring-web-1.2.8.jar.
WARNING: Failed to download spring-web-1.2.8.jar.
BUILD FAILED
File......
file:/home/clemens/.maven/cache/maven-multiproject-plugin-1.5-SNAPSHOT/plugin.jelly
Element... maven:reactor
Line...... 227
Column.... 64
The build cannot continue because of the following unsatisfied dependencies:
spring-core-1.2.8.jar
spring-beans-1.2.8.jar
spring-context-1.2.8.jar
spring-web-1.2.8.jar
Total time : 6 minutes 29 seconds
Finished at : Dienstag, 07. November 2006 09:56:49 CET
Could it be useful to delete the entire maven cache/repository? I will
re-checkout the axis2 sources and restart from scratch...
Regards
Clemens
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: maven build problems axis2
Posted by Nigel Charman <on...@charman.net.nz>.
The FAQ for RC2 says "Versions 1.0.2 and 1.1 are supported. Maven2 as of
yet is not supported."
It builds OK for me out of the box with Maven 1.0.2.
What Maven command are you using? You could try just 'maven' or 'maven
release' to see if they work for you.
Regards,
Nigel
Jeremy Hughes wrote:
> I think you need to use maven 1.1 beta 2
>
> Regards,
> Jeremy
>
> On 11/6/06, Clemens Orthacker <cl...@iaik.tugraz.at> wrote:
>> 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: axis-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: maven build problems axis2
Posted by Jeremy Hughes <hu...@apache.org>.
I think you need to use maven 1.1 beta 2
Regards,
Jeremy
On 11/6/06, Clemens Orthacker <cl...@iaik.tugraz.at> wrote:
> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org