[INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/carbon/stratos/carbon/dependencies/neethi/src/test/resources [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] Building jar: /home/carbon/stratos/carbon/dependencies/neethi/target/neethi-2.0.4-wso2v1.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: default}] [INFO] Building jar: /home/carbon/stratos/carbon/dependencies/neethi/target/neethi-2.0.4-wso2v1-sources.jar [INFO] [install:install] [INFO] Installing /home/carbon/stratos/carbon/dependencies/neethi/target/neethi-2.0.4-wso2v1.jar to /home/carbon/.m2/repository/org/apache/neethi/neethi/2.0.4-wso2v1/neethi-2.0.4-wso2v1.jar [INFO] Installing /home/carbon/stratos/carbon/dependencies/neethi/target/neethi-2.0.4-wso2v1-sources.jar to /home/carbon/.m2/repository/org/apache/neethi/neethi/2.0.4-wso2v1/neethi-2.0.4-wso2v1-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Wed Dec 08 22:44:51 IST 2010 [INFO] Final Memory: 37M/1237M [INFO] ------------------------------------------------------------------------ [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Dec 08 22:44:52 IST 2010 [INFO] Final Memory: 8M/981M [INFO] ------------------------------------------------------------------------ [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building WSS4J [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Preparing pmd:check [INFO] [pmd:pmd] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] [pmd:check {execution: validate}] [INFO] [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [compiler:compile] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 112 source files to /home/carbon/stratos/carbon/dependencies/wss4j/target/classes [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 9 resources [INFO] Copying 3 resources [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. -- [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [bundle:bundle] [INFO] [install:install] [INFO] Installing /home/carbon/stratos/carbon/orbit/rome/0.9.0.wso2v1/target/rome-0.9.0.wso2v1.jar to /home/carbon/.m2/repository/rome/wso2/rome/0.9.0.wso2v1/rome-0.9.0.wso2v1.jar [INFO] [bundle:install] [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml [INFO] Installing rome/wso2/rome/0.9.0.wso2v1/rome-0.9.0.wso2v1.jar [INFO] Writing OBR metadata [INFO] ------------------------------------------------------------------------ [INFO] Building axis2.json.wso2 [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/carbon/stratos/carbon/orbit/axis2-json/1.6.0.wso2v4/src/main/resources Downloading: http://dist.wso2.org/maven2/org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-json:pom:1.6-wso2v4' in repository wso2-maven2-repository (http://dist.wso2.org/maven2) Downloading: https://repository.jboss.org/nexus/content/groups/public//org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-json:pom:1.6-wso2v4' in repository jboss-maven-repository (https://repository.jboss.org/nexus/content/groups/public/) Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-json:pom:1.6-wso2v4' in repository central (http://repo1.maven.org/maven2) Downloading: http://dist.wso2.org/maven2/org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.jar [INFO] Unable to find resource 'org.apache.axis2:axis2-json:jar:1.6-wso2v4' in repository wso2-maven2-repository (http://dist.wso2.org/maven2) Downloading: https://repository.jboss.org/nexus/content/groups/public//org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.jar [INFO] Unable to find resource 'org.apache.axis2:axis2-json:jar:1.6-wso2v4' in repository jboss-maven-repository (https://repository.jboss.org/nexus/content/groups/public/) Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2-json/1.6-wso2v4/axis2-json-1.6-wso2v4.jar [INFO] Unable to find resource 'org.apache.axis2:axis2-json:jar:1.6-wso2v4' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact.
Missing: ---------- 1) org.apache.axis2:axis2-json:jar:1.6-wso2v4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.axis2 -DartifactId=axis2-json -Dversion=1.6-wso2v4 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.axis2 -DartifactId=axis2-json -Dversion=1.6-wso2v4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.axis2.wso2:axis2-json:bundle:1.6.0.wso2v4 2) org.apache.axis2:axis2-json:jar:1.6-wso2v4 ---------- 1 required artifact is missing. for artifact: org.apache.axis2.wso2:axis2-json:bundle:1.6.0.wso2v4 from the specified remote repositories: wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2), central (http://repo1.maven.org/maven2), wso2-maven2-repository (http://dist.wso2.org/maven2), jboss-maven-repository (https://repository.jboss.org/nexus/content/groups/public/) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 45 seconds [INFO] Finished at: Wed Dec 08 22:58:41 IST 2010 [INFO] Final Memory: 94M/1275M [INFO] ------------------------------------------------------------------------ _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev