Hello Stephen,
Thanks for your response. In fact, we have a module that works in J2SE.
We want to have other version in J2ME. Therefore, there are some classes
that must rewrite in J2ME. To avoid redundant code, we have to use that.
Could you have other ideas for that?
Thank you
Kinh
Stephen Connolly a écrit :
exclude them with maven-compiler-plugin
but be aware that using ../ to reference other directories outside of
your module tree (i.e. folders above pom.xml) is not "The Maven Way"
and does not give you the full power of Maven
-Stephen
2009/10/2 NGUYEN Cong Kinh <[email protected]>
Hello everybody,
I'm using the build-helper-maven-plugin plugin with the add-source
goal as the following:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>../../../cosmos/core/src/main/java/</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
But in fact, there are some classes in
../../../cosmos/core/src/main/java, I want to exclude them. But I
can not find anything about excluding files with
build-helper-maven-plugin. Could anyone help me to solve my problem?
Thanks in advance,
Kinh
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email