Hi,

That's a very convenient way to generate the WSDL. Thanks Sajith!

I've applied the same changes for AutoScaler component as well.

On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <[email protected]> wrote:
> Hi all,
>
> I have added a java2wsdl plugin execution for the Cloudcontroller
> component's pom.xml. So that when you build the CC component WSDL will also
> be generated in target/generated-resources/wsdl directory. This way wsdl can
> be obtained without deploying the component into the server.
> Need to do the same for all the other WSDLs as well.
> Still this is available in docker-integration branch, will move to master
> branch later.
>
> Thanks,
> Sajith
>
>
> ---------- Forwarded message ----------
> From: <[email protected]>
> Date: Wed, Sep 10, 2014 at 7:51 PM
> Subject: [1/2] git commit: Added java2wsdl plugin execution
> To: [email protected]
>
>
> Repository: stratos
> Updated Branches:
>   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>
>
> Added java2wsdl plugin execution
>
>
> Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
> Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
> Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
> Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>
> Branch: refs/heads/docker-integration
> Commit: 9484e23637acd174b8428ca8ff2af525736f7248
> Parents: 54c8a6e
> Author: sajhak <[email protected]>
> Authored: Wed Sep 10 19:46:41 2014 +0530
> Committer: sajhak <[email protected]>
> Committed: Wed Sep 10 19:46:41 2014 +0530
>
> ----------------------------------------------------------------------
>  .../org.apache.stratos.cloud.controller/pom.xml      | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
> ----------------------------------------------------------------------
> diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
> b/components/org.apache.stratos.cloud.controller/pom.xml
> index b5e3605..448fafc 100644
> --- a/components/org.apache.stratos.cloud.controller/pom.xml
> +++ b/components/org.apache.stratos.cloud.controller/pom.xml
> @@ -85,6 +85,21 @@
>                      </instructions>
>                  </configuration>
>              </plugin>
> +            <plugin>
> +                       <groupId>org.apache.axis2</groupId>
> +
> <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
> +                       <configuration>
> +
> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
> +
> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
> +                       </configuration>
> +                       <executions>
> +                          <execution>
> +                            <goals>
> +                              <goal>java2wsdl</goal>
> +                            </goals>
> +                         </execution>
> +                       </executions>
> +            </plugin>
>          </plugins>
>      </build>
>
>
>
>
>
> --
> Sajith Kariyawasam
> Committer and PMC member, Apache Stratos,
> WSO2 Inc., http://wso2.com
> AMIE (SL)
> Mobile: +94772269575
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2
Committer & PMC Member, Apache Stratos

Blog: http://ravihansa3000.blogspot.com

Reply via email to