2.0.8 does not support default-cli execution
the workaround is to specify the defaults outside an execution and if
necessary revert them back within any lifecycle bound executions
Sent from my [rhymes with tryPod] ;-)
On 14 Nov 2009, at 23:24, "Thiago Moreira (timba)" <tmoreira2...@gmail.com
> wrote:
Hi there,
I have the following configuration for the maven-compiler-plugin
<plugin>
<artifactId>maven-compiler-
plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<configuration>
<source>1.3</source>
<target>1.1</target>
<compilerArgument>-g:none</
compilerArgument>
<compilerArguments>
<bootclasspath>
${settings.localRepository}/org/microemu/cldcapi11/${me2Version}/
cldcapi11-${me2Version}.jar${path.separator}$
{settings.localRepository}/org/microemu/midpapi20/${me2Version}/
midpapi20-${me2Version}.jar
</bootclasspath>
</compilerArguments>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>default-testCompile</id>
<phase>testCompile</phase>
<configuration>
<source>1.3</source>
<target>1.3</target>
</configuration>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
The thing is the configuration does NOT apply to the default
executions in
Maven 2.0.8, it works fine in 2.2.1. Is it expected? The feature of
overriding the default executions was added between these version?
Is there
a workaround?
Thanks
Thiago Moreira
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org