---------- Forwarded message ---------- From: Chamara Ariyarathne <chama...@wso2.com> Date: Fri, Jun 13, 2014 at 11:28 AM Subject: Appserver starbucks sample pom doesn't work To: carbon-dev <carbon-...@wso2.org>
Why do we have build.xml and pom.xml both here? mvn clean install doesn't work here. chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$ ant Buildfile: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml clean: [delete] Deleting directory /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build init: [mkdir] Created dir: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build [mkdir] Created dir: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes [mkdir] Created dir: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps [mkdir] Created dir: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib [copy] Copying 39 files to /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/lib compile: [javac] /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build.xml:51: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 8 source files to /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes war: [echo] Creating webapp jaxrs_starbucks_service.war. [copy] Copying 1 file to /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client [copy] Copying 1 file to /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client [copy] Copying 1 file to /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/classes/demo/jaxrs/client [war] Building war: /home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/build/webapps/jaxrs_starbucks_service.war build-all: [echo] Copying the created war file in to the deployment directory [copy] Copying 1 file to /home/chamara/as/5.2.1/wso2as-5.2.1/repository/deployment/server/webapps BUILD SUCCESSFUL Total time: 0 seconds chamara@chamaradell:~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$ mvn clean install [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/wso2/appserver/wso2appserver-samples-parent/5.2.1/wso2appserver-samples-parent-5.2.1.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.wso2.appserver:jaxrs_starbucks_service:5.2.1 (/home/chamara/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.wso2.appserver:wso2appserver-samples:5.2.1: Could not find artifact org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in central ( http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1, /home/chamara/as/5.2.1/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException chamara@chamaradell :~/as/5.2.1/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_starbucks_service$ -- *Chamara Ariyarathne* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; *+94772786766 <%2B94772786766>* -- *Chamara Ariyarathne* Senior Software Engineer - QA; WSO2 Inc; http://www.wso2.com/. Mobile; *+94772786766*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev