WSAS source code compilation
Hi all,
I have been trying to run the wso2 wsas as an eclipse plugin by compiling it from source code. However, I guess maven has to installed for that and when I try doing that, I keep getting “Unable to download the artifact from any repository” when I use ‘mvn clean install’ command. It would be great to know if there is a detailed tutorial on how to compile the source of the plugin. I am following the steps in http://wso2.org/library/2709. But the url for the svn checkout (http://wso2.org/repos/wso2/trunk/wsas/java) does not seem to be working. I manually downloaded wsas 2.3 and tried compiling it using Maven (2.0.7) but this is the error I get:
C:\wso2wsas-2.3-src>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] WSO2 Web Services Application Server
[INFO] Core
[INFO] Admin
[INFO] Samples
[INFO] Sample/Chad
[INFO] Sample/CommodityQuote
[INFO] Sample/JavascriptService
[INFO] Sample/TinyURL
[INFO] Sample/Trader
[INFO] Sample/FlickrClient
[INFO] Sample/DataService
[INFO] Sample/NodeManagement
[INFO] Sample/MEX
[INFO] Sample/MTOM
[INFO] Sample/XKMS
[INFO] Sample/xfer
[INFO] Sample/STS
[INFO] Sample/EJBService
[INFO] Sample/JAXWS
[INFO] Sample/JIBX
[INFO] STS
[INFO] Web Resources
[INFO] Clustering
[INFO] Documentation
[INFO] Integration
[INFO] Distribution
Downloading: http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin
/1.401/axis2-aar-maven-plugin-1.401.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plug
in/1.401/axis2-aar-maven-plugin-1.401.pom
Downloading: http://dist.wso2.org/maven2/org/apache/axis2/axis2-aar-maven-plugin
/1.401/axis2-aar-maven-plugin-1.401.pom
Downloading: http://tomcat.apache.org/dev/dist/m2-repository/org/apache/axis2/ax
is2-aar-maven-plugin/1.401/axis2-aar-maven-plugin-1.401.pom
Downloading: http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-aar-m
aven-plugin/1.401/axis2-aar-maven-plugin-1.401.pom
Downloading: http://download.java.net/maven/1//org.apache.axis2/poms/axis2-aar-m
aven-plugin-1.401.pom
Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plug
in/1.401/axis2-aar-maven-plugin-1.401.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.axis2:axis2-aar-maven-plugin
Reason: POM 'org.apache.axis2:axis2-aar-maven-plugin' not found in repository: U
nable to download the artifact from any repository
org.apache.axis2:axis2-aar-maven-plugin:pom:1.401
from the specified remote repositories:
wso2-maven2-repository (http://dist.wso2.org/maven2),
m2-snapshot-repository (http://people.apache.org/repo/m2-snapshot-repository),
maven-snapshots (http://snapshots.maven.codehaus.org/maven2),
java.net (http://download.java.net/maven/1/),
snapshot (http://snapshots.maven.codehaus.org/maven2),
ws-zones-repository (http://ws.zones.apache.org/repository2),
tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
wso2-maven2-plugin-repository (http://dist.wso2.org/maven2),
central (http://repo1.maven.org/maven2),
snapshot-apache (http://people.apache.org/repo/m2-snapshot-repository)
for project org.apache.axis2:axis2-aar-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 34 seconds
[INFO] Finished at: Mon Jul 14 17:16:44 PDT 2008
[INFO] Final Memory: 5M/11M
[INFO] ------------------------------------------------------------------------
Thanks a lot in advance. I’d really appreciate any help in this regard.
Regards,
Lavanya
- Login or register to post comments
- Printer friendly version
- 386 reads











Hi lavanya, First of all
Hi lavanya,
First of all what you want is to do development in wsas or build wsas eclipse plugin?? The article you've mentioned relates to how to load the wsas source code as a project to eclipse so that you can do development (add features/fix bugs) for wsas project. It does not concern with eclipse plugins. The svn checkout url you have specified is for the wsas source code. I'm assuming (since you have mentioned the word plugin in several occasions) that what you want is to have the wsas running as a plugin in the eclipse. the plugin source code for the wsas is located at,
http://wso2.org/repos/wso2/trunk/wsf/java/modules/
here you will find source code for both eclipse plugins and idea plugins.
However I'm not sure why you were not able to checkout anything even from the wsas source url. may be the svn server was having a load or was unavailable due to some reason. are you going through a proxy/firewall. Hope you'll be able to checkout this time without any problems.
After checking out the eclipse plugin source code try maven2 command to build the eclipse plugins.
mvn clean install -Dtest=false;
should build without any problems.
regards
Saminda
Hi Lavanya, I just got an
Hi Lavanya,
I just got an update from the given url (http://wso2.org/repos/wso2/trunk/wsas/java) and was able to check out without having an issue. (See attached screen shot 1)
Then I built the source with "mvn clean install". Initially I got a test failure and then the tests were switched off and build continued.
Can you please try again with "mvn clean install -Dtest=false" and see whether the build continues.
regards
Charitha