Venkatagopalaraju wrote:
Dear Maven Users,
Could you please anyone help out from this problem. I am suffering from these problems.
1. I am working on maven 2.0.2, I have seen, In this version we are not able to use properties file. I am using maven-compiler-plugin, But I need to set false for ${maven.compiler.debug}.For this I used to set command line properties.But it is ignoring these properties. How I am able to work with these properties.
2. In other case, I am working with maven 2.0.2. I am able to generate jar files, after
completing successful build with maven.But problem is, I need to put
compress="false" option through pom.xml or properties(command line properties).
I have seen in maven1, it is possible through properties${maven.jar.compress} file. could
you please let me know, how can I use with maven2.
Thanks & Regards
Gopal
Hi Gopal,
You can configure the compiler plugin like so:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<debug>false</debug>
</configuration>
</plugin>
</plugins>
Place this fragment in the build section of your pom.
HTH,
Henry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]