You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Venkatagopalaraju <ve...@realsoftinc.com> on 2006/03/08 16:01:32 UTC
How can I able to use maven-compiler-plugin with ${maven.compiler.debug}
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
Re: How can I able to use maven-compiler-plugin with ${maven.compiler.debug}
Posted by Subhash Chandran <su...@gmail.com>.
Can anyone put this information here:
http://maven.apache.org/plugins/maven-compiler-plugin/howto.html
--
Regards,
Subhash Chandran S
Cross platform OpenSource Java based file encryption software:
http://www.WizTools.org/project/WizCrypt/
On 3/9/06, Henry S. Isidro <hi...@exist.com> wrote:
>
> 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.
> >
>
> >
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: How can I able to use maven-compiler-plugin with ${maven.compiler.debug}
Posted by "Henry S. Isidro" <hi...@exist.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org