JBoss Community

Re: Maven plugin to execute wsconsume

created by Lin Claire in JBoss Web Services - View the full discussion

For your reference, mine is:

 

{code:xml}

 

........

 

            <build>

                    <pluginManagement>

                    </pluginManagement>

                    <plugins>

                              <plugin>

                                        <artifactId>maven-compiler-plugin</artifactId>

                                        <version>2.3.2</version>

                                        <configuration>

                                                  <source>1.5</source>

                                                  <target>1.5</target>

                                        </configuration>

                              </plugin>

  <plugin>

                                        <groupId>org.jboss.ws.plugins</groupId>

                                        <artifactId>maven-jaxws-tools-plugin</artifactId>

                                        <version>1.1.0.GA</version>

                                        <configuration>

                                                  <wsdls>

        <wsdl>http://abc/def_ep?WSDL</wsdl>

                                                  </wsdls>

                                                  <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>

                                                  <extension>true</extension>

                                                  <verbose>true</verbose>

                                                  <goalPrefix>wsconsume</goalPrefix>

                                        </configuration>

                                        <executions>

                                                  <execution>

                                                            <goals>

                                                                      <goal>wsconsume</goal>

                                                            </goals>

                                                  </execution>

                                        </executions>

                              </plugin>

                    </plugins>

          </build>

          <dependencies>

                    <dependency>

                              <groupId>org.jboss.spec.javax.xml.ws</groupId>

                              <artifactId>jboss-jaxws-api_2.2_spec</artifactId>

                              <version>2.0.0.Final</version>

                              <scope>provided</scope>

                    </dependency>

                    <dependency>

                              <groupId>org.jboss.ws.cxf</groupId>

                              <artifactId>jbossws-cxf-client</artifactId>

                              <version>4.0.0.GA</version>

                              <scope>provided</scope>

                    </dependency>

                    <dependency>

                              <groupId>org.jboss.ws</groupId>

                              <artifactId>jbossws-api</artifactId>

                              <version>1.0.0.GA</version>

                              <scope>provided</scope>

                    </dependency>

          </dependencies>

 

........

 

{code}

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community