Hi Rohan,
rohan chauhan wrote:
> hi all i'm getting following error even though i specify
> dependency tag in pom.xml
>
>
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Building aabb Web
> [INFO] task-segment: [install]
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] [andromda-multi-source:add-source {execution: default}] [INFO]
> [resources:resources] [INFO] Using default encoding to copy filtered
> resources. [WARNING] While downloading itext:itext:0.99
> This artifact has been relocated to com.lowagie:itext:0.99.
>
>
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
> [copy] Warning: C:\c2 andro\e\aabb\web\src\main\jsp not found.
> [INFO] Executed tasks [INFO] [compiler:compile]
> [INFO] Compiling 3 source files to C:\c2
> andro\e\aabb\web\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources. [INFO]
> [compiler:testCompile] [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [war:war]
> [INFO] Packaging webapp
> [INFO]
> --------------------------------------------------------------
> ----------
> [ERROR] FATAL ERROR
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] XPP3 pull parser library not present. Specify another
> driver. For example
>> new XStream(new DomDriver())
> [INFO]
> --------------------------------------------------------------
> ----------
> [INFO] Trace
> java.lang.IllegalArgumentException: XPP3 pull parser library
> not present. Specif
> y another driver. For example: new XStream(new DomDriver()) at
> com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:
> 42) at
> com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java
>> 29)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:781)
> at
> org.apache.maven.plugin.war.util.WebappStructureSerializer.fromXml(We
> bappStructureSerializer.java:73) at
[snip]
Strange. The dependencies of the war plugin are suddenly no longer present!
It's missing the xpp3:xpp3_min artifact. Can you run mvn with -X option and
post the classpath that is used to run the war:war goal? What happens if you
omit the antrun and the andomda-multi-source plugins ?
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]