On Thu, Dec 13, 2012 at 8:47 PM, Subash Chaturanga <[email protected]> wrote:

> Hi,
>
> This is because org.wso2.carbon.service.mgt.server.feature does not
> include org.wso2.carbon.throttle.server.feature. Any reason why this has
> been done ?
>
>  Software being installed: WSO2 Carbon - Service Management Core Feature
> 4.0.5 (org.wso2.carbon.service.mgt.server.feature.group 4.0.5)
>  Missing requirement: WSO2 Carbon - Service Management Core Feature 4.0.5
> (org.wso2.carbon.service.mgt.server.feature.group 4.0.5) requires
> 'org.wso2.carbon.throttle.server.feature.group [4.0.2,4.1.0)' but it could
> not be found
>

I updated the service.mgt.server.feature:4.0.5 to import external
dependency features (using importFeatureDef) rather than including them as
part of the feature (using includedFeatureDef). This is required for P2
installations to be seamless when we need to update the dependency features
to newer versions.

So in all product-profiles where org.wso2.carbon.service.mgt.server.feature
is used, we need to publish the set of imported-Features required for
service.mgt.server.feature 4.0.5 as featureArtifactDefs in the p2-repo gen
phase. Please include the below list in your product's profile-gen in
p2-repo-gen phase under <featureArtifacts>

<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.security.mgt.server:4.0.5</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.module.mgt.server:4.0.2</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.throttle.server:4.0.2</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.caching.server:4.0.2</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.rm.server:4.0.0</featureArtifactDef>

Thanks,
Dileepa

> Application failed, log file location:
> /home/subash/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1355411137768.log
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21.643s
> [INFO] Finished at: Thu Dec 13 20:35:41 IST 2012
> [INFO] Final Memory: 10M/490M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5:p2-profile-gen
> (3-p2-profile-generation) on project governace-profile-gen: P2 publisher
> return code was 13 -> [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
>
>
> --
>
> Subash Chaturanga
> Software Engineer
> WSO2 Inc. http://wso2.com
>
> email - [email protected]
> phone - 077 2225922
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to