cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Parker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5985) wadl2java maven plugin: executions don't use plugin-level configuration
Date Tue, 30 Sep 2014 22:07:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153862#comment-14153862
] 

Matt Parker commented on CXF-5985:
----------------------------------

Hi Sergey,

Sorry for the late reply. defaultOptions does indeed already work.

Thanks,

-Matt

> wadl2java maven plugin: executions don't use plugin-level configuration
> -----------------------------------------------------------------------
>
>                 Key: CXF-5985
>                 URL: https://issues.apache.org/jira/browse/CXF-5985
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system, Tooling
>    Affects Versions: 3.0.1
>         Environment: maven 3.1.1
> wadl2java
>            Reporter: Matt Parker
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>              Labels: maven
>             Fix For: 3.0.2, 3.1.0
>
>
> Specifying a configuration outside of an execution does not apply the expected configuration
to the execution.
> According to http://maven.apache.org/guides/mini/guide-configuring-plugins.html, 
> {quote}
> Configurations inside the <executions> tag differ from those that are outside <executions>
in that they cannot be used from a direct command line invocation. Instead they are only applied
when the lifecycle phase they are bound to are invoked. Alternatively, if you move a configuration
section outside of the executions section, it will apply globally to all invocations of the
plugin.{quote}
> For example, I would like to be able to specify the catalog and extraargs configuration
at the plugin level, specify multiple executions, and have the configuration apply to all
executions. Similar to:
> {code}
>     <plugin>
>           <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-wadl2java-plugin</artifactId>
>                 <version>${cxf.wadltojava.version}</version>
>                 <configuration>
>                     <sourceRoot>${project.build.directory}/wadl2java</sourceRoot>
>                     <catalog>catalog</catalog>
>                     <extraargs>
>                          <extraarg>-verbose</extraarg>
>                                <extraarg>-inheritResourceParams</extraarg>
>                                <extraarg>-noVoidForEmptyResponses</extraarg>
>                                <extraarg>-compile</extraarg>
>                         </extraargs>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>execution1</id>
> ...
>                     <execution>
>                         <id>execution2</id>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message