You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steinar Bang <sb...@dod.no> on 2007/06/11 21:59:00 UTC
What does "Expression:" mean?
What does the "Expression:" entry in maven plugin goal argument lists
mean? Eg. like here:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encoding
Does this mean that by setting
<properties>
<maven.compile.encoding>utf-8</maven.compile.encoding>
<properties>
the java compiler encoding will be set to UTF-8?
Or is it neccessary to set it like this?
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>utf-8</encoding>
</configuration>
</plugin>
</plugins>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: What does "Expression:" mean?
Posted by Steinar Bang <sb...@dod.no>.
>>>>> "Brett Porter" <br...@gmail.com>:
> It needs to be set with the second form, the expression is used for:
> - reading from <properties>
> - reading from -Dmaven.compile.encoding on the command line,
Thanx for the info!
(I tried setting the first form, since it's so much shorter, but it
had no effect that I could see)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: What does "Expression:" mean?
Posted by Brett Porter <br...@gmail.com>.
It needs to be set with the second form, the expression is used for:
- reading from <properties>
- reading from -Dmaven.compile.encoding on the command line,
- Brett
On 12/06/07, Steinar Bang <sb...@dod.no> wrote:
> What does the "Expression:" entry in maven plugin goal argument lists
> mean? Eg. like here:
> http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encoding
>
> Does this mean that by setting
> <properties>
> <maven.compile.encoding>utf-8</maven.compile.encoding>
> <properties>
> the java compiler encoding will be set to UTF-8?
>
> Or is it neccessary to set it like this?
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <encoding>utf-8</encoding>
> </configuration>
> </plugin>
> </plugins>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org