Hi Iqbal, As Udara mentioned you need to build, carbon-apimgt[1] first. The mentioned product-apim needs components and features of the version 4.3.0-SNAPSHOT, which are not released yet. So please build carbon-apimgt first.
[1] - https://github.com/wso2/carbon-apimgt/tree/release-1.10.x Thanks, Madusanka On Mon, Sep 21, 2015 at 1:20 PM, Udara Rathnayake <uda...@wso2.com> wrote: > try building https://github.com/wso2/carbon-apimgt/ repository first. I > think release-1.10.x is the branch you have to build. > This is where we have apim related components/features. > > On Mon, Sep 21, 2015 at 1:12 PM, Irham Iqbal <iq...@wso2.com> wrote: > >> Hi, >> >> When I am trying to build apim git repo[1] 1.10.x branch I am getting the >> following exception. Any ideas on this ? >> >> [INFO] WSO2 Stratos API Manager - Deployment Features ... SUCCESS >> [0.431s] >> >> [INFO] WSO2 API Manager - P2 Profile Generation Parent ... SUCCESS >> [0.028s] >> >> [INFO] WSO2 API Manager - P2 Profile Generation .......... FAILURE >> [53.228s] >> >> [INFO] WSO2 API Manager - BAM Toolbox .................... SKIPPED >> >> [INFO] WSO2 API Manager - Distribution Parent ............ SKIPPED >> >> [INFO] WSO2 API Manager - Distribution ................... SKIPPED >> >> [INFO] WSO2 API Manager - Integration Tests .............. SKIPPED >> >> [INFO] WSO2 API Manager - Integration Test Common Module . SKIPPED >> >> [INFO] WSO2 API Manager - Integration Admin Clients Module SKIPPED >> >> [INFO] WSO2 API Manager - Integration Common Test Module . SKIPPED >> >> [INFO] WSO2 API Manager - RestFul Backend Module for Integration Tests >> SKIPPED >> >> [INFO] WSO2 API Manager - Integration Extensions Module .. SKIPPED >> >> [INFO] WSO2 API Manager - Integration UI Pages Module .... SKIPPED >> >> [INFO] WSO2 API Manager - Integration New Test Module .... SKIPPED >> >> [INFO] WSO2 API Manager - Based on product backend Test Module SKIPPED >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] BUILD FAILURE >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 1:08.412s >> >> [INFO] Finished at: Mon Sep 21 13:04:12 IST 2015 >> >> [INFO] Final Memory: 35M/94M >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] Failed to execute goal >> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) on >> project am-p2-profile: Error occured when processing the Feature Artifact: >> org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature:4.3.0-SNAPSHOT: >> ERROR: Could not find artifact >> org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature: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.apimgt >> -DartifactId=org.wso2.carbon.forum.server.feature -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.apimgt >> -DartifactId=org.wso2.carbon.forum.server.feature -Dversion=4.3.0-SNAPSHOT >> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> [ERROR] >> >> [ERROR] >> >> [ERROR] >> org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature: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.releases ( >> http://maven.wso2.org/nexus/content/repositories/releases/, >> releases=true, snapshots=true), >> >> [ERROR] wso2.snapshots ( >> http://maven.wso2.org/nexus/content/repositories/snapshots/, >> releases=false, 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 :am-p2-profile >> [1] https://github.com/wso2/product-apim/ >> >> Thanks, >> Iqbal >> -- >> Irham Iqbal >> Software Engineer - Test Automation >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> phone: +94 777888452 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Madusanka Premaratne* | Associate Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 835 70 73| Work: +94 112 145 345 Email: madusan...@wso2.com | Web: www.wso2.com [image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus] <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image: Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram] <http://instagram.com/madusankapremaratne> [image: Skype] <http://@rmmpremaratne>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev