Hi Sanjeewa,

You are getting this because in chunk-02 features we only
have org.wso2.carbon.endpoint.server.feature and in the 4.2.1 feature
repository pom we have the endpoint aggregated feature
(org.wso2.carbon.endpoint.feature)




On Thu, Sep 26, 2013 at 3:58 PM, Sanjeewa Malalgoda <[email protected]>wrote:

> Hi Team,
> I'm getting following error while building feature repository. I was able
> to build all component features and products listed in chunk 2
> product release. org.wso2.carbon.endpoint.feature:zip feature cannot build
> as it missed some of required jars(endpoint.ui) and those are not available
> in online repos. We cannot build them manually as there are lot of missing
> jars. How should we fix this? Shouldn't we add these components + features
> to chunk 2 poms if related features are in feature repos?
>
>
> Thanks,
> sanjeewa.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.721s
> [INFO] Finished at: Thu Sep 26 10:20:49 UTC 2013
> [INFO] Final Memory: 17M/410M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
> project wso2carbon-feature-repository: Error occured when processing the
> Feature Artifact: org.wso2.carbon:org.wso2.carbon.endpoint.feature:4.2.0:
> ERROR: Failure to find
> org.wso2.carbon:org.wso2.carbon.endpoint.feature:zip:4.2.0 in
> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of wso2-nexus has elapsed or updates are forced
> [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=org.wso2.carbon.endpoint.feature -Dversion=4.2.0
> -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=org.wso2.carbon.endpoint.feature -Dversion=4.2.0
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR] org.wso2.carbon:org.wso2.carbon.endpoint.feature:zip:4.2.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/, 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 :wso2carbon-feature-repository
>
> --
> *
> *
> *Sanjeewa Malalgoda*
> Senior Software Engineer
> WSO2 Inc.
> Mobile : +94713068779
>
>  <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>
>
>


-- 
*Isuru Udana*
*
 *
Senior *
Software Engineer
*
WSO2 Inc.; http://wso2.com
email: [email protected] cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
twitter: http://twitter.com/isudana
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to