Hello,
I am running into problems generating site for project that has war
plugin using 'exploded' goal.
I searched the archives and it looks like other people had issues with
it over the last couple years, but I could not find solution for it.
The error is
[INFO] Using default encoding to copy filtered resources.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin.
Reason: ERROR: Cannot override
read-only parameter: classesDirectory in goal: war:exploded
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
configuring: org.apache.maven.plugins:
maven-war-plugin. Reason: ERROR: Cannot override read-only parameter:
classesDirectory in goal: war:
exploded
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor
.java:568)
Perhaps, this can be solved by defining profiles and each profile
defining different configuration for war plugin, but I was thinking
there is a simpler solution for it.
Thanks
Leonard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]