You can set the output directory in your pom and the plugins will use
this. That's why it's readonly in the plugin.
<build>
<sourceDirectory/>
<scriptSourceDirectory/>
<testSourceDirectory/>
<outputDirectory/>
<testOutputDirectory/>
-----Original Message-----
From: Matt Campbell [mailto:[EMAIL PROTECTED]
Sent: Monday, February 20, 2006 11:11 AM
To: [email protected]
Subject: Edit read only properties of plugins
Hello, im having problems customizing some of the plugins. A few plugins
have properties i cannot change.
I wanted to change the outputDirectory property for the plugin
"maven-compiler-plugin". When i run "mvn compile" i get the Build Error
:
"Cannot Override Read-Only parameter: outputDirectory in goal
compiler:compile"
The documentation for Maven 2 said that we could customize the layout
for the project, and that the basic plugins that come with maven 2 would
work.
It has to be possible to edit these properties. Any suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]