[ 
https://issues.apache.org/jira/browse/MRELEASE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MRELEASE-715.
-----------------------------------
    Resolution: Won't Fix

{{compilerArguments}} is deprecated, use {{compilerArgs}} instead.

> Impossible to release projects which have compiler args such as Xlint:all
> -------------------------------------------------------------------------
>
>                 Key: MRELEASE-715
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-715
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.2.1
>            Reporter: Steven Schlansker
>            Priority: Critical
>         Attachments: pom.xml
>
>
> When you configure maven-compiler-plugin to pass arguments with a colon to 
> javac, such as -Xlint:all, the release plugin is no longer capable of 
> processing the POM file.
> e.g.
> {code:xml}
>           <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-compiler-plugin</artifactId>
>             <configuration>
>               <showWarnings>true</showWarnings>
>               <compilerArguments combine.children="append">
>                 <Werror />
>                 <Xlint:all />
>                 <Xlint:-path />
>               </compilerArguments>
>             </configuration>
>           </plugin>
> {code}
> produces:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on 
> project compiler-colon-args: Error reading POM: Error on line 29: The prefix 
> "Xlint" for element "Xlint:all" is not bound. -> [Help 1]
> {noformat}
> A sample pom file is attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to