You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andrea Nasato (Created) (JIRA)" <ji...@apache.org> on 2012/02/08 12:43:59 UTC

[jira] [Created] (AXIS2-5241) axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property

axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
------------------------------------------------------------------------------

                 Key: AXIS2-5241
                 URL: https://issues.apache.org/jira/browse/AXIS2-5241
             Project: Axis2
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.6.1
         Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
            Reporter: Andrea Nasato
            Priority: Trivial


The property schemaGenClassName in class Java2WSDLMojo has a wrong property annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be ${axis2.java2wsdl.schemaGenClassName}. 

If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated. 
<pre>
<plugin>
                <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
                <version>1.6.1</version>
                <configuration>
                    <className>codfe.cp2a8CBean</className>
                    <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
                    <serviceName>codfe</serviceName>
                    <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>                    
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>java2wsdl</goal>
                        </goals>
                    </execution>
                </executions>
                ....
</pre>


Changing Java2WSDLMojo this way corrects the problem:
<pre>
andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
Index: axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
===================================================================
--- axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (revision 1225773)
+++ axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (working copy)
@@ -128,7 +128,7 @@

     /**
      * Schema Generator
-     * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
+     * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
      */
     private String schemaGenClassName;

andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
</pre>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5241) axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204443#comment-13204443 ] 

Hudson commented on AXIS2-5241:
-------------------------------

Integrated in Axis2 #1264 (See [https://builds.apache.org/job/Axis2/1264/])
    Fixed AXIS2-5241.

sagara : 
Files : 
* /axis/axis2/java/core/trunk/modules/tool/axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java

                
> axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5241
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5241
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.5.5, 1.6.1
>         Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
>            Reporter: Andrea Nasato
>            Assignee: Sagara Gunathunga 
>            Priority: Trivial
>             Fix For: 1.5.7, 1.6.2, 1.7.0
>
>
> The property schemaGenClassName in class Java2WSDLMojo has a wrong property annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be ${axis2.java2wsdl.schemaGenClassName}. 
> If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated. 
> <pre>
> <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>                 <version>1.6.1</version>
>                 <configuration>
>                     <className>codfe.cp2a8CBean</className>
>                     <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
>                     <serviceName>codfe</serviceName>
>                     <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>                    
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>java2wsdl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 ....
> </pre>
> Changing Java2WSDLMojo this way corrects the problem:
> <pre>
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> Index: axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> ===================================================================
> --- axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (revision 1225773)
> +++ axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (working copy)
> @@ -128,7 +128,7 @@
>      /**
>       * Schema Generator
> -     * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
> +     * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
>       */
>      private String schemaGenClassName;
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
> </pre>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5241) axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property

Posted by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5241.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
                   1.6.2
                   1.5.7

Fixed in r1242249.
                
> axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5241
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5241
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.5.5, 1.6.1
>         Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
>            Reporter: Andrea Nasato
>            Assignee: Sagara Gunathunga 
>            Priority: Trivial
>             Fix For: 1.5.7, 1.6.2, 1.7.0
>
>
> The property schemaGenClassName in class Java2WSDLMojo has a wrong property annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be ${axis2.java2wsdl.schemaGenClassName}. 
> If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated. 
> <pre>
> <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>                 <version>1.6.1</version>
>                 <configuration>
>                     <className>codfe.cp2a8CBean</className>
>                     <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
>                     <serviceName>codfe</serviceName>
>                     <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>                    
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>java2wsdl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 ....
> </pre>
> Changing Java2WSDLMojo this way corrects the problem:
> <pre>
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> Index: axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> ===================================================================
> --- axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (revision 1225773)
> +++ axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (working copy)
> @@ -128,7 +128,7 @@
>      /**
>       * Schema Generator
> -     * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
> +     * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
>       */
>      private String schemaGenClassName;
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
> </pre>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5241) axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property

Posted by "Sagara Gunathunga (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated AXIS2-5241:
--------------------------------------

    Affects Version/s: 1.5.5
    
> axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5241
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5241
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.5.5, 1.6.1
>         Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
>            Reporter: Andrea Nasato
>            Assignee: Sagara Gunathunga 
>            Priority: Trivial
>
> The property schemaGenClassName in class Java2WSDLMojo has a wrong property annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be ${axis2.java2wsdl.schemaGenClassName}. 
> If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated. 
> <pre>
> <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>                 <version>1.6.1</version>
>                 <configuration>
>                     <className>codfe.cp2a8CBean</className>
>                     <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
>                     <serviceName>codfe</serviceName>
>                     <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>                    
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>java2wsdl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 ....
> </pre>
> Changing Java2WSDLMojo this way corrects the problem:
> <pre>
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> Index: axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> ===================================================================
> --- axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (revision 1225773)
> +++ axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (working copy)
> @@ -128,7 +128,7 @@
>      /**
>       * Schema Generator
> -     * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
> +     * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
>       */
>      private String schemaGenClassName;
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
> </pre>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Assigned] (AXIS2-5241) axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property

Posted by "Sagara Gunathunga (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  reassigned AXIS2-5241:
-----------------------------------------

    Assignee: Sagara Gunathunga 
    
> axis2-java2wsdl-maven-plugin Java2WSDLMojo and wrong Schema Generator property
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5241
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5241
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1
>         Environment: jdk 1.6.0_30, centos 5.7 64 bit, maven 2.2.1
>            Reporter: Andrea Nasato
>            Assignee: Sagara Gunathunga 
>            Priority: Trivial
>
> The property schemaGenClassName in class Java2WSDLMojo has a wrong property annotation name. It is ${axis2.java2wsdl.nsGenClassName} and should be ${axis2.java2wsdl.schemaGenClassName}. 
> If I use this pom.xml my PlexBeanSchemaGenerator is nevere istantiated. 
> <pre>
> <plugin>
>                 <groupId>org.apache.axis2</groupId>
>                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>                 <version>1.6.1</version>
>                 <configuration>
>                     <className>codfe.cp2a8CBean</className>
>                     <outputFileName>${basedir}/resources/codfe-service.wsdl</outputFileName>
>                     <serviceName>codfe</serviceName>
>                     <schemaGenClassName>it.kibernetes.axis2.java2wsdl.PlexBeanSchemaGenerator</schemaGenClassName>                    
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>java2wsdl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 ....
> </pre>
> Changing Java2WSDLMojo this way corrects the problem:
> <pre>
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$ svn diff axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> Index: axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java
> ===================================================================
> --- axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (revision 1225773)
> +++ axis2-java2wsdl-maven-plugin/src/main/java/org/apache/axis2/maven2/java2wsdl/Java2WSDLMojo.java     (working copy)
> @@ -128,7 +128,7 @@
>      /**
>       * Schema Generator
> -     * @parameter expression="${axis2.java2wsdl.nsGenClassName}"
> +     * @parameter expression="${axis2.java2wsdl.schemaGenClassName}"
>       */
>      private String schemaGenClassName;
> andrean@colinux:~/work/plex6.1/axis2-1.6.1-svn/modules/tool$
> </pre>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org