Re: [Dev] Private PaaS build fails with Stratos 412

2015-09-03 Thread Imesh Gunaratne
Do you still see this issue?

On Mon, Aug 31, 2015 at 6:19 PM, Udara Liyanage  wrote:

>
> HI,
>
> With the intention of getting the latest Stratos, I build Stratos from 41x
> branch and changed Stratos version in PP to 412 and build PP. However I get
> the following error. Seems it tries to install 412-SNAPSHOT of  RESTful
> admin services feature.
>
>
> Installing org.wso2.carbon.event.server.feature.group 4.2.1.
> Installing org.wso2.carbon.event.common.feature.group 4.2.0.
> Installing org.wso2.carbon.captcha.mgt.server.feature.group 4.2.0.
> Installing org.jaggeryjs.feature.group 0.0.0.0_9_0_ALPHA4_wso2v3.
> Installing caramel.feature.group 1.0.1.
> Installing org.wso2.store.feature.group 1.0.1.
> Installing org.wso2.carbon.idp.mgt.feature.group 4.2.3.
> Installing org.wso2.carbon.as.runtimes.cxf.feature.group 4.2.2.
> Installing org.wso2.carbon.user.mgt.feature.group 4.2.1.
> Installation failed.
> Cannot complete the install because of a conflicting dependency.
>  Software being installed: Apache Stratos - RESTful admin services feature
> 4.1.2 (org.apache.stratos.rest.endpoint.feature.group 4.1.2)
>  Software currently installed: Apache Stratos - RESTful admin services
> feature 4.1.2.SNAPSHOT (org.apache.stratos.rest.endpoint.feature.group
> 4.1.2.SNAPSHOT)
>  Only one of the following can be installed at once:
>   Apache Stratos - RESTful admin services feature 4.1.2
> (org.apache.stratos.rest.endpoint.feature.jar 4.1.2)
>   Apache Stratos - RESTful admin services feature 4.1.2.SNAPSHOT
> (org.apache.stratos.rest.endpoint.feature.jar 4.1.2.SNAPSHOT)
>  Cannot satisfy dependency:
>   From: Apache Stratos - RESTful admin services feature 4.1.2
> (org.apache.stratos.rest.endpoint.feature.group 4.1.2)
>   To: org.apache.stratos.rest.endpoint.feature.jar [4.1.2]
>  Cannot satisfy dependency:
>   From: Apache Stratos - RESTful admin services feature 4.1.2.SNAPSHOT
> (org.apache.stratos.rest.endpoint.feature.group 4.1.2.SNAPSHOT)
>   To: org.apache.stratos.rest.endpoint.feature.jar [4.1.2.SNAPSHOT]
> Application failed, log file location:
> /home/udara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1440999235703.log
>
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 PPaaS - Parent ... SUCCESS [
>  0.830 s]
> [INFO] WSO2 PPaaS - Cartridges ... SUCCESS [
>  0.025 s]
> [INFO] WSO2 PPaaS - Cartridges - Template Modules  SUCCESS [
>  0.021 s]
> [INFO] WSO2 PPaaS - WSO2 AM 1.9.0 Template Module  SUCCESS [
>  0.457 s]
> [INFO] WSO2 PPaaS - WSO2 AS 5.2.1 Template Module  SUCCESS [
>  0.074 s]
> [INFO] WSO2 PPaaS - WSO2 ESB 4.8.1 Template Module ... SUCCESS [
>  0.047 s]
> [INFO] WSO2 PPaaS - WSO2 IS 5.0.0 Template Module  SUCCESS [
>  0.050 s]
> [INFO] WSO2 PPaaS - Components ... SUCCESS [
>  0.021 s]
> [INFO] WSO2 PPaaS - Python Configurator .. SUCCESS [
>  0.082 s]
> [INFO] WSO2 PPaaS - Features . SUCCESS [
>  0.024 s]
> [INFO] WSO2 PPaaS - Products . SUCCESS [
>  0.020 s]
> [INFO] WSO2 PPaaS - Product .. SUCCESS [
>  0.018 s]
> [INFO] WSO2 PPaaS - Profile Generation ... FAILURE [
> 47.325 s]
> [INFO] WSO2 PPaaS - Product - Distribution ... SKIPPED
> [INFO] WSO2 Private PaaS - Integration Tests . SKIPPED
> [INFO] WSO2 PPaaS - Configurator - Product ... SKIPPED
> [INFO] WSO2 PPaaS - Extensions ... SKIPPED
> [INFO] WSO2 PPaaS - Carbon Extensions  SKIPPED
> [INFO] WSO2 PPaaS - Carbon Extensions - Membership Scheme  SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 49.852 s
> [INFO] Finished at: 2015-08-31T11:04:01+05:30
> [INFO] Final Memory: 30M/424M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen (p2 profile generation
> for stratos manager) on project ppaas-p2-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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :ppaas-p2-profile-gen
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com

Re: [Dev] Private PaaS build fails with Stratos 412

2015-09-03 Thread Udara Liyanage
Hi,

Issue vanished after I install the newer mvn. Thanks Thanuja for looking
into this.

On Fri, Sep 4, 2015 at 10:07 AM, Imesh Gunaratne  wrote:

> Do you still see this issue?
>
> On Mon, Aug 31, 2015 at 6:19 PM, Udara Liyanage  wrote:
>
>>
>> HI,
>>
>> With the intention of getting the latest Stratos, I build Stratos from
>> 41x branch and changed Stratos version in PP to 412 and build PP. However I
>> get the following error. Seems it tries to install 412-SNAPSHOT of  RESTful
>> admin services feature.
>>
>>
>> Installing org.wso2.carbon.event.server.feature.group 4.2.1.
>> Installing org.wso2.carbon.event.common.feature.group 4.2.0.
>> Installing org.wso2.carbon.captcha.mgt.server.feature.group 4.2.0.
>> Installing org.jaggeryjs.feature.group 0.0.0.0_9_0_ALPHA4_wso2v3.
>> Installing caramel.feature.group 1.0.1.
>> Installing org.wso2.store.feature.group 1.0.1.
>> Installing org.wso2.carbon.idp.mgt.feature.group 4.2.3.
>> Installing org.wso2.carbon.as.runtimes.cxf.feature.group 4.2.2.
>> Installing org.wso2.carbon.user.mgt.feature.group 4.2.1.
>> Installation failed.
>> Cannot complete the install because of a conflicting dependency.
>>  Software being installed: Apache Stratos - RESTful admin services
>> feature 4.1.2 (org.apache.stratos.rest.endpoint.feature.group 4.1.2)
>>  Software currently installed: Apache Stratos - RESTful admin services
>> feature 4.1.2.SNAPSHOT (org.apache.stratos.rest.endpoint.feature.group
>> 4.1.2.SNAPSHOT)
>>  Only one of the following can be installed at once:
>>   Apache Stratos - RESTful admin services feature 4.1.2
>> (org.apache.stratos.rest.endpoint.feature.jar 4.1.2)
>>   Apache Stratos - RESTful admin services feature 4.1.2.SNAPSHOT
>> (org.apache.stratos.rest.endpoint.feature.jar 4.1.2.SNAPSHOT)
>>  Cannot satisfy dependency:
>>   From: Apache Stratos - RESTful admin services feature 4.1.2
>> (org.apache.stratos.rest.endpoint.feature.group 4.1.2)
>>   To: org.apache.stratos.rest.endpoint.feature.jar [4.1.2]
>>  Cannot satisfy dependency:
>>   From: Apache Stratos - RESTful admin services feature 4.1.2.SNAPSHOT
>> (org.apache.stratos.rest.endpoint.feature.group 4.1.2.SNAPSHOT)
>>   To: org.apache.stratos.rest.endpoint.feature.jar [4.1.2.SNAPSHOT]
>> Application failed, log file location:
>> /home/udara/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1440999235703.log
>>
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 PPaaS - Parent ... SUCCESS [
>>  0.830 s]
>> [INFO] WSO2 PPaaS - Cartridges ... SUCCESS [
>>  0.025 s]
>> [INFO] WSO2 PPaaS - Cartridges - Template Modules  SUCCESS [
>>  0.021 s]
>> [INFO] WSO2 PPaaS - WSO2 AM 1.9.0 Template Module  SUCCESS [
>>  0.457 s]
>> [INFO] WSO2 PPaaS - WSO2 AS 5.2.1 Template Module  SUCCESS [
>>  0.074 s]
>> [INFO] WSO2 PPaaS - WSO2 ESB 4.8.1 Template Module ... SUCCESS [
>>  0.047 s]
>> [INFO] WSO2 PPaaS - WSO2 IS 5.0.0 Template Module  SUCCESS [
>>  0.050 s]
>> [INFO] WSO2 PPaaS - Components ... SUCCESS [
>>  0.021 s]
>> [INFO] WSO2 PPaaS - Python Configurator .. SUCCESS [
>>  0.082 s]
>> [INFO] WSO2 PPaaS - Features . SUCCESS [
>>  0.024 s]
>> [INFO] WSO2 PPaaS - Products . SUCCESS [
>>  0.020 s]
>> [INFO] WSO2 PPaaS - Product .. SUCCESS [
>>  0.018 s]
>> [INFO] WSO2 PPaaS - Profile Generation ... FAILURE [
>> 47.325 s]
>> [INFO] WSO2 PPaaS - Product - Distribution ... SKIPPED
>> [INFO] WSO2 Private PaaS - Integration Tests . SKIPPED
>> [INFO] WSO2 PPaaS - Configurator - Product ... SKIPPED
>> [INFO] WSO2 PPaaS - Extensions ... SKIPPED
>> [INFO] WSO2 PPaaS - Carbon Extensions  SKIPPED
>> [INFO] WSO2 PPaaS - Carbon Extensions - Membership Scheme  SKIPPED
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 49.852 s
>> [INFO] Finished at: 2015-08-31T11:04:01+05:30
>> [INFO] Final Memory: 30M/424M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen (p2 profile generation
>> for stratos manager) on project ppaas-p2-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/confluen