http://jira.codehaus.org/browse/MCOMPILER-178
Correct, I started vote 6 days ago but still no vote:
http://markmail.org/message/4qgmojr27564dnzr



2013/3/12 Jörg Schaible <joerg.schai...@scalaris.com>:
> Hi Thomas,
>
> Thomas Matthijs wrote:
>
>> Hey,
>>
>> The compiler plugins states to use something like this to pass xlint
>> arguments:
>>            <plugin>
>>                     <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-compiler-plugin</artifactId>
>>                     <version>2.4</version>
>>                     <configuration>
>>                         <compilerArguments>
>>                             <Xlint:varargs/>
>>                         </compilerArguments>
>>                     </configuration>
>>                 </plugin>
>>
>> See
>> http://maven.apache.org/plugins/maven-compiler-plugin/compile-
> mojo.html#compilerArguments
>>
>> However if you use maven-release-plugin on a pom with this it fails: The
>> prefix "Xlint" for element "Xlint:varargs" is not bound.
>>
>> Am i doing it wrong, is this a bug? is there a way to specify this that
>> works?
>
> starting with version 3.1 of the compiler plugin, this construct is
> deprecated - because of this problems.
>
> You'll use in future:
>
>  <compilerArgs>
>    <compilerArg>Xlint:varargs</compilerArg>
>  </compilerArgs>
>
> Vote for 3.1 is currently running.
>
> Cheers,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to