Hi Rossi,
Thanks for the reply. I am using Maven version 2.0.6. Please see the error
details and appreciate for help.
-----------------------------------------------------------------------
C:\Documents and Settings\uname>mvn -version
Maven version: 2.0.6
C:\WTP\eclipse\ANT_WORKSPACE\xfireweb>mvn war:inplace
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'war'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - xfireweb:xfireweb:war:1.0.0
[INFO] task-segment: [war:inplace]
[INFO]
----------------------------------------------------------------------------
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be
ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It
will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [war:inplace]
[INFO] Generating webapp in source directory...
C:\WTP\eclipse\ANT_WORKSPACE\xfireweb\src\main\webapp
[INFO] Exploding webapp...
[INFO] Assembling webapp xfireweb in
C:\WTP\eclipse\ANT_WORKSPACE\xfireweb\src\main\webapp
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Jun 07 13:33:16 PDT 2007
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
-----------------------------------------------------------------------
Thanks,
Durga
"Rossi, Michele (Equity Linked Technology)" <[EMAIL PROTECTED]> wrote:
you are probably using the wrong version of maven.
type mvn -version on the command line and ensure you are using Maven 2 and
not Maven 1.
Michele
-----Original Message-----
From: Durgaprasad Rao [mailto:[EMAIL PROTECTED]
Sent: 07 June 2007 16:00
To: [email protected]
Subject: [xfire-user] JSR181 example maven build problem
Hi,
I am trying JSR181 example provided under XFire-1.2.6 examples using Maven2
build. Maven2 build has failed with the following errors. It looks like the
child POMs have invalid XML. Appreciate for any help.
Errors:
---------------------------------------------------------------------------------------------------
[WARN] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid.
[WARN] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid.
[WARN] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid.
[WARN] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid.
Unrecognised tag: 'pomVersion' (position: START_TAG seen <project>\n
<pomVersion>... @2:15)
---------------------------------------------------------------------------------------------------
POM dependencies:
---------------------------------------------------------------------------------------------------
<dependencies>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-spring</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-jaxb2</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-java5</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- needed for XmlSchema -->
<repositories>
<repository>
<id>codehaus</id>
<name>Codehaus maven repository</name>
<url>http://dist.codehaus.org/</url>
<layout>legacy</layout>
</repository>
</repositories>
---------------------------------------------------------------------------------------------------
Thanks,
Durga
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
---------------------------------
This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically indicated,
this message is not an offer to sell or a solicitation of any investment
products or other financial product or service, an official confirmation of any
transaction, or an official statement of Merrill Lynch. Subject to applicable
law, Merrill Lynch may monitor, review and retain e-communications (EC)
traveling through its networks/systems. The laws of the country of each
sender/recipient may impact the handling of EC, and EC may be archived,
supervised and produced in countries other than the country in which you are
located. This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you
consent to the foregoing.
---------------------------------
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on,
when.