Hi all, We tried to build application server Helloservice jar file using maven. When I trying to build the project using “mvn clean install” I got following error.also I have attached generated POM file and wsdl file as well.
“ Failed to execute goal on project WSO2-Axis2-Client: Could not resolve dependencies for project WSO2:WSO2-Axis2-Client:jar:0.0.1-SNAPSHOT: Failure to find org.apache.axis2:axis2:jar:1.6.1-wso2v10 in http://dist.wso2.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-Nexus has elapsed or updates are forced -> [Help 1] “ Also I tried replacing repository element with as below, <repository> <id>wso2-nexus</id> <name>WSO2 internal Repository</name> <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url> </repository> But it still give the same error.. Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
HelloService.wsdl
Description: HelloService.wsdl
<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>WSO2</groupId> <artifactId>WSO2-Axis2-Client</artifactId> <version>0.0.1-SNAPSHOT</version> <name>Axis2-Client</name> <repositories> <repository> <id>wso2-Nexus</id> <name>WSO2 Repository</name> <url>http://dist.wso2.org/maven2/</url> </repository> </repositories> <properties> <axis2_version>1.6.1-wso2v10</axis2_version> </properties> <pluginRepositories> <pluginRepository> <id>wso2-Nexus</id> <name>WSO2 Repository</name> <url>http://dist.wso2.org/maven2/</url> </pluginRepository> </pluginRepositories> <build> <plugins> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <version>${axis2_version}</version> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> </execution> </executions> <configuration> <outputDirectory>${basedir}/generated-sources</outputDirectory> <databindingName>adb</databindingName><language>java</language><wsdlFile>/u01/jb/wso2as-5.2.1/tmp/work/extra/1.4091217683750464E12/1.4091217683750464E12.xml</wsdlFile> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${basedir}/generated-sources/src</source> <source>${basedir}/generated-sources/test</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2</artifactId> <version>${axis2_version}</version> </dependency> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2-adb</artifactId> <version>${axis2_version}</version> </dependency> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2-transport-http</artifactId> <version>${axis2_version}</version> </dependency> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2-transport-local</artifactId> <version>${axis2_version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>compile</scope> </dependency> </dependencies> </project>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev