Jörn Kottmann wrote:
Ok I have now merged my version into the CasEditor project from svn.

Can I add an extra test folder for the plugin tests e.g src/plugintest/java ?
The default directory layout that Maven would like is:

For production code:
src/main/java
src/main/resources

For test code:
src/test/java
src/test/resources

Only these directories are automatically recognized by Maven, so if you could use these, that will be great. If you have to use another one like src/plugintest/java you have to specify this separately in the pom.xml.

My code depends on java 5.
How can I overwrite the compiler settings inside the pom.xml (currently it tries to use java 1.4)?
You can add the following to the pom.xml

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>

in addition to the other plugins.

-- Michael


Reply via email to