[ 
http://jira.codehaus.org/browse/MOJO-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86953
 ] 

Diego Ballve commented on MOJO-640:
-----------------------------------

Hi, sorry for not providing you a full pom. I understood this was a problem 
with maven (there were other bug entries in other plugins and in MGN).

As I said, I needed the plugin to run 4 times in a project. Based on the 
following sentence in 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html 
I thought that it should be supported: "When multiple executions are given that 
match a particular phase, they are executed in the order specified in the POM, 
with inherited executions running first."

Here are 2 of the executions have to run:

{{{
                    <execution>
                        <id>NotificationListenerServices</id>
                        <goals>
                            <goal>wsimport</goal>
                        </goals>
                        <phase>generate-sources</phase>
                        <configuration>
                            <bindingDirectory>conf</bindingDirectory>
                            <bindingFiles>
                                
<bindingFile>jaxb-xsd-NotificationListenerServices.xml</bindingFile>
                                
<bindingFile>jaxb-wsdl-NotificationListenerServices.xml</bindingFile>
                            </bindingFiles>
                            
<sourceDestDir>target/generated-sources</sourceDestDir>
                            <verbose>true</verbose>
                            
<wsdlDirectory>${basedir}/../ebxmlrr-spec/src/wsdl</wsdlDirectory>
                            <wsdlFiles>
                                
<wsdlFile>NotificationListenerServices.wsdl</wsdlFile>
                            </wsdlFiles>
                        </configuration>
                    </execution>
                    <execution>
                        <id>ValidationServices</id>
                        <goals>
                            <goal>wsimport</goal>
                        </goals>
                        <phase>generate-sources</phase>
                        <configuration>
                            <bindingDirectory>conf</bindingDirectory>
                            <bindingFiles>
                                
<bindingFile>jaxb-xsd-ValidationServices.xml</bindingFile>
                                
<bindingFile>jaxb-wsdl-ValidationServices.xml</bindingFile>
                            </bindingFiles>
                            
<sourceDestDir>target/generated-sources</sourceDestDir>
                            <verbose>true</verbose>
                            
<wsdlDirectory>${basedir}/../ebxmlrr-spec/src/wsdl</wsdlDirectory>
                            <wsdlFiles>
                                <wsdlFile>ValidationServices.wsdl</wsdlFile>
                            </wsdlFiles>
                        </configuration>
                    </execution>
}}}

I have the plugin temporarily commented and I run the ant task instead.. but if 
you are willing to dig deeper on this i can pack you a zip with poms, cfgs and 
wsdls.

Tks, Diego

> jaxws plugin: multiple executions not supported
> -----------------------------------------------
>
>                 Key: MOJO-640
>                 URL: http://jira.codehaus.org/browse/MOJO-640
>             Project: Mojo
>          Issue Type: Bug
>          Components: jaxws
>         Environment: maven 2.0.4
>            Reporter: Diego Ballve
>         Assigned To: Dan Tran
>
> Jaxws plugin multiple executions are not considered.
> I have a module project with a jaxws plugin configured to process 4 wsdl 
> files with different settings, so 4 executions. Only 1st execution runs.
> This is probably a deeper bug in maven..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to