[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-user-ja
Subject: [jira] [Updated] (AXIS2-5459) WSDL2Java Maven plugin always requires package name attribute
From: "Sagara Gunathunga (JIRA)" <jira () apache ! org>
Date: 2012-11-20 7:28:59
Message-ID: 539778372.5527.1353396539389.JavaMail.jiratomcat () arcas
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AXIS2-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Sagara Gunathunga updated AXIS2-5459:
--------------------------------------
Fix Version/s: 1.6.3
1.7.0
1.5.7
> WSDL2Java Maven plugin always requires package name attribute
> -------------------------------------------------------------
>
> Key: AXIS2-5459
> URL: https://issues.apache.org/jira/browse/AXIS2-5459
> Project: Axis2
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.6.2
> Reporter: Prabhath Suminda
> Labels: maven
> Fix For: 1.5.7, 1.7.0, 1.6.3
>
>
> When I tried to generrate client code using Axis2 Maven2 WSDL2Code Plug-in it gives \
> me an error like this. [ERROR] Failed to execute goal \
> org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.2:wsdl2code (default-cli) on \
> project Test2: The parameters 'packageName' for goal \
> org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.2:wsdl2code are missing or \
> invalid -> [Help 1] But in Axis2 wsdl2java tool it is not essential to define a \
> package name. If it is not set it will generate a package name. So here it must not \
> be mandatory to define a package name. My pom.xml is like this,
> <project xmlns="http://maven.apache.org/POM/4.0.0" \
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
> http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
> <groupId>Test2</groupId>
> <artifactId>Test2</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <name>Test2</name>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
> <version>1.6.2</version>
> <executions>
> <execution>
> <goals>
> <goal>wsdl2code</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <!-- <packageName>foo.test</packageName> -->
> <wsdlFile>/home/prabhath/project/Array.wsdl</wsdlFile>
> <outputDirectory>${basedir}/generated-sources</outputDirectory>
> <databindingName>adb</databindingName>
> </configuration>
> </plugin>
>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2</artifactId>
> <version>1.4</version>
> </dependency>
> <dependency>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-adb</artifactId>
> <version>1.7.0-SNAPSHOT</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-transport-http</artifactId>
> <version>1.7.0-SNAPSHOT</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.axis2</groupId>
> <artifactId>axis2-transport-local</artifactId>
> <version>1.7.0-SNAPSHOT</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> </project>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic