Can you please provide more information, version environment etc. Also a
stacktrace or debug log.

One of my personal webapps builds fine using Maven 2.1.0 and Maven WAR
Plugin 2.1-beta-1.

>mvn --version

Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
Java version: 1.4.2_18
Java home: C:\Program\Java\jdk1.4.2_18\jre
Default locale: sv_SE, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

nicolas de loof wrote:
> Hi,
> my build doesn't work anymore with Maven 2.1.0.
> The maven-war-plugin in version 2.1-* fails with :
> 
> [INFO] Packaging webapp
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] modelEncoding : modelEncoding : modelEncoding : modelEncoding
> ---- Debugging information ----
> message             : modelEncoding : modelEncoding
> cause-exception     :
> com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message       : modelEncoding : modelEncoding
> class               : org.apache.maven.plugin.war.util.WebappStructure
> required-type       : org.apache.maven.model.Dependency
> path                :
> /webapp-structure/dependenciesInfo/org.apache.maven.plugin.war.util.DependencyInfo/dependency/modelEncoding
> line number         : 156
> -------------------------------
> 
> using plugin version 2.0.2 fixes this.
> 


-- 
Dennis Lundberg
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.283 / Virus Database: 270.11.26/2020 - Release Date: 03/24/09 
09:19:00

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to