Nicolas,

You can disable the caching system and it will work. This is still an
alpha/beta feature (hence the reason why I was reluctant to call it 2.1 when
we cast the war plugin vote)

See http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#useCache

I'll try to find some time to finalize this feature because it's not fully
working for the moment. Besides the warning, it has no impact on the build
itself and disabling the cache won't bring any regression.

Thanks,
Stéphane

On Tue, Mar 24, 2009 at 5:00 PM, nicolas de loof <[email protected]> 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.
>



-- 
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge

Reply via email to