Hi CD, Seems product-ml depend on the snapshot version of carbon 4.3.0. Since 4.3.0 release, carbon snapshot versions in poms needs to be changed.
Thanks, Harsha On Tue, Jan 13, 2015 at 9:50 AM, CD Athuraliya <[email protected]> wrote: > Hi all, > > I am getting following error when building product ML. It seems like > several artifacts cannot be found in nexus. > > Downloading: > http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml > Downloading: > http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml > Downloading: > http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/maven-metadata.xml > Downloading: > http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip > Downloading: > http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip > Downloading: > http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/wso2carbon-core/4.3.0-SNAPSHOT/wso2carbon-core-4.3.0-SNAPSHOT.zip > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 Machine Learner - Aggregator Module .......... SUCCESS [0.365s] > [INFO] WSO2 Machine Learner Components ................... SUCCESS [0.049s] > [INFO] WSO2 Carbon - Machine Learner Project Management Component SUCCESS > [6.859s] > [INFO] WSO2 Carbon - Machine Learner Dataset Component ... SUCCESS [3.437s] > [INFO] WSO2 Carbon - Machine Learner Model Component ..... SUCCESS > [24.611s] > [INFO] WSO2 Machine Learner Features ..................... SUCCESS [0.010s] > [INFO] WSO2 Carbon - Machine Learner Dataset Service Feature SUCCESS > [1.430s] > [INFO] WSO2 Carbon - Machine Learner Model Service Feature SUCCESS > [9.414s] > [INFO] WSO2 Carbon - Machine Learner Project Management Service Feature > SUCCESS [0.980s] > [INFO] WSO2 Carbon Machine Learner ....................... SUCCESS > [10.572s] > [INFO] WSO2 Machine Learner - P2 Profile Generation ...... FAILURE > [16.018s] > [INFO] WSO2 Machine Learner - Distribution ............... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:15.811s > [INFO] Finished at: Tue Jan 13 09:37:49 IST 2015 > [INFO] Final Memory: 76M/923M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack > (1-unpack-p2-agent-distribution) on project wso2ml-p2-profile: Unable to > find artifact. Could not find artifact > org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT in wso2-nexus ( > http://maven.wso2.org/nexus/content/groups/wso2-public/) > [ERROR] > [ERROR] Try downloading the file manually from the project website. > [ERROR] > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon > -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip > -Dfile=/path/to/file > [ERROR] > [ERROR] Alternatively, if you host your own repository you can deploy the > file there: > [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon > -DartifactId=wso2carbon-core -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [ERROR] > [ERROR] > [ERROR] org.wso2.carbon:wso2carbon-core:zip:4.3.0-SNAPSHOT > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] wso2-nexus ( > http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, > snapshots=true), > [ERROR] wso2.snapshots ( > http://maven.wso2.org/nexus/content/repositories/snapshots/, > releases=false, snapshots=true), > [ERROR] wso2.releases ( > http://maven.wso2.org/nexus/content/repositories/releases/, > releases=true, snapshots=true), > [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > [ERROR] -> [Help 1] > [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/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :wso2ml-p2-profile > > Any help would be much appreciated. > > -- > *CD Athuraliya* > Software Engineering Intern > WSO2, Inc. > lean . enterprise . middleware > Mobile: +94 716288847 > LinkedIn <http://lk.linkedin.com/in/cdathuraliya> | Twitter > <https://twitter.com/cdathuraliya> | Blog > <http://cdathuraliya.tumblr.com/> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
