Hi Dinithi / Danesh,
Thanks for your suggestions. I changed the carbon registry version, solr
version and jaggery version as you instructed. Changing registry and solr
version alone didn't make any difference. After changing jaggery version it
gives another error. New pom.xml file looks like this,
<carbon.kernel.version>4.4.1</carbon.kernel.version>
<carbon.commons.version>4.3.4</carbon.commons.version>
<carbon.registry.version>*4.4.9*</carbon.registry.version>
<carbon.registry.imp.pkg.version>[4.3.0,
4.4.0)</carbon.registry.imp.pkg.version>
<carbon.deployment.version>4.5.3</carbon.deployment.version>
<carbon.multitenancy.version>4.3.3</carbon.multitenancy.version>
<!--This is a locally used value-->
<jaggery.version>*0.11.1*</jaggery.version>
<product.jaggery.version>0.9.0-SNAPSHOT</product.jaggery.version>
<jaggery.deployer.version>0.10.0</jaggery.deployer.version>
----------------------
<solr.wso2.version>*5.0.0.wso2v1*</solr.wso2.version>
----------------------
<dependency>
<groupId>org.wso2.orbit.org.apache.solr</groupId>
<artifactId>solr</artifactId>
<version>${solr.wso2.version}</version>
</dependency>
Then it gives the new error as follows,
Installation failed.
Cannot complete the install because one or more required items could not be
found.
Software being installed: WSO2 Carbon - Webapp Management Core Feature
4.5.3 (org.wso2.carbon.webapp.mgt.server.feature.group 4.5.3)
Missing requirement: org.wso2.carbon.identity.sso.agent 4.5.6
(org.wso2.carbon.identity.sso.agent 4.5.6) requires 'package
org.apache.http.conn.ssl [4.3.1.wso2v2,4.4.0)' but it could not be found
Cannot satisfy dependency:
From: WSO2 Carbon - Webapp Management Core Feature 4.5.3
(org.wso2.carbon.webapp.mgt.server.feature.group 4.5.3)
To: org.wso2.carbon.identity.sso.agent [4.5.6]
Application failed, log file location:
/home/lalanke/test-m2/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1444284063071.log
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jaggeryjs - Parent ................................ SUCCESS [0.506s]
[INFO] Jaggery components parent ......................... SUCCESS [0.022s]
[INFO] Jaggery components parent ......................... SUCCESS [0.020s]
[INFO] Jaggery Server - UI styles ........................ SUCCESS [0.925s]
[INFO] WSO2 Jaggery Server - Features Aggregator Module .. SUCCESS [0.017s]
[INFO] WSO2 Jaggery Server - Style Features .............. SUCCESS [0.311s]
[INFO] Jaggery - Profile Generation ...................... FAILURE [5.183s]
[INFO] WSO2 Carbon - Distribution ........................ SKIPPED
[INFO] Jaggery Integration Tests ......................... SKIPPED
[INFO] Jaggery Integration Tests Commons ................. SKIPPED
[INFO] WSO2 Jaggery - Integration Test Common Utils Module SKIPPED
[INFO] jaggeryJS- Integration Test Module ................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.666s
[INFO] Finished at: Thu Oct 08 11:31:05 IST 2015
[INFO] Final Memory: 28M/982M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
(3-p2-profile-generation) on project p2-profile-gen: P2 publisher return
code was 13 -> [Help 1]
Any idea solve this.
Thanks.
On Thu, Oct 8, 2015 at 10:41 AM, Danesh Kuruppu <[email protected]> wrote:
> Hi Lalanke,
>
> Latest carbon-registry version is 4.4.9. solr version is 5.2.1.wso2v1. but
> solr dependency is also changed as follows,
>
> <dependency>
>> <groupId>org.wso2.orbit.org.apache.solr</groupId>
>> <artifactId>solr</artifactId>
>> <version>${solr.wso2.version}</version>
>> </dependency>
>>
>
>
> Please check with the latest the versions. I think we need to add some
> more dependencies to make it work.
>
> Thanks
> Danesh
>
> On Thu, Oct 8, 2015 at 10:20 AM, Dinithi De Silva <[email protected]>
> wrote:
>
>> Hi Lalanke,
>>
>> In the error message it says "requires 'package
>> org.apache.solr.client.solrj [5.0.0,5.1.0)' but it could not be found".
>>
>> The mentioned registry version depends on solr version 5.0.0.wso2v1.
>> Check [1].
>> And the jaggery version uses the same 5.0.0.wso2v1. Check [2].
>>
>> Make the changes accordingly / use the latest version of jaggery (0.11.1)
>> and check whether your it resolves your issue.
>>
>> [1] -
>> https://github.com/wso2/carbon-registry/blob/release-4.4.3/pom.xml#L1383
>> [2] - https://github.com/wso2/jaggery/blob/release-0.11.1/pom.xml#L415
>>
>> Thanks
>>
>> On Thu, Oct 8, 2015 at 9:02 AM, Lalanke Athauda <[email protected]> wrote:
>>
>>> Hi Madhawa,
>>> Thanks for your response, I updated carbon registry version as follows
>>> but it gives the same error.
>>>
>>> <carbon.registry.version>*4.4.3*</carbon.registry.version>
>>>
>>>
>>>
>>> On Wed, Oct 7, 2015 at 7:26 PM, Madhawa Gunasekara <[email protected]>
>>> wrote:
>>>
>>>> Hi Lalanke,
>>>>
>>>> Can you update carbon registry version to a newer version and try.
>>>> hope this will solve your issue.
>>>>
>>>> Thanks,
>>>> Madhawa
>>>>
>>>> On Wed, Oct 7, 2015 at 6:58 PM, Lalanke Athauda <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I changed the the pom.xml file in product-jaggeryjs as follows,
>>>>>
>>>>> <carbon.kernel.version>*4.4.1*</carbon.kernel.version>
>>>>> <carbon.commons.version>4.3.4</carbon.commons.version>
>>>>> <carbon.registry.version>4.3.0</carbon.registry.version>
>>>>> <carbon.registry.imp.pkg.version>[4.3.0,
>>>>> 4.4.0)</carbon.registry.imp.pkg.version>
>>>>> <carbon.deployment.version>*4.5.3*</carbon.deployment.version>
>>>>> <carbon.multitenancy.version>4.3.3</carbon.multitenancy.version>
>>>>>
>>>>> <!--This is a locally used value-->
>>>>> <jaggery.version>*0.10.0*</jaggery.version>
>>>>> <product.jaggery.version>0.9.0-SNAPSHOT</product.jaggery.version>
>>>>> <jaggery.deployer.version>*0.10.0*</jaggery.deployer.version>
>>>>>
>>>>> ---------------------
>>>>>
>>>>> <solr.wso2.version>*5.0.0*</solr.wso2.version>
>>>>>
>>>>> ---------------------
>>>>>
>>>>> <oauth.module.version>*1.4.1-SNAPSHOT*</oauth.module.version>
>>>>>
>>>>> When I build, it fails and give this error.
>>>>>
>>>>> Installation failed.
>>>>> Cannot complete the install because one or more required items could
>>>>> not be found.
>>>>> Software being installed: Jaggery aggregate Feature 0.10.0
>>>>> (org.jaggeryjs.feature.group 0.10.0)
>>>>> Missing requirement: org.wso2.carbon.registry.indexing 4.4.0
>>>>> (org.wso2.carbon.registry.indexing 4.4.0) requires 'package
>>>>> org.apache.solr.client.solrj [5.0.0,5.1.0)' but it could not be found
>>>>> Cannot satisfy dependency:
>>>>> From: Jaggery aggregate Feature 0.10.0 (org.jaggeryjs.feature.group
>>>>> 0.10.0)
>>>>> To: org.jaggeryjs.server.feature.group [0.10.0]
>>>>> Cannot satisfy dependency:
>>>>> From: Jaggery Server Feature 0.10.0
>>>>> (org.jaggeryjs.server.feature.group 0.10.0)
>>>>> To: org.wso2.carbon.registry.indexing [4.4.0,4.5.0)
>>>>> Application failed, log file location:
>>>>> /home/lalanke/test-m2/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1444224052531.log
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] jaggeryjs - Parent ................................ SUCCESS
>>>>> [0.516s]
>>>>> [INFO] Jaggery components parent ......................... SUCCESS
>>>>> [0.026s]
>>>>> [INFO] Jaggery components parent ......................... SUCCESS
>>>>> [0.025s]
>>>>> [INFO] Jaggery Server - UI styles ........................ SUCCESS
>>>>> [0.965s]
>>>>> [INFO] WSO2 Jaggery Server - Features Aggregator Module .. SUCCESS
>>>>> [0.019s]
>>>>> [INFO] WSO2 Jaggery Server - Style Features .............. SUCCESS
>>>>> [0.342s]
>>>>> [INFO] Jaggery - Profile Generation ...................... FAILURE
>>>>> [6.075s]
>>>>> [INFO] WSO2 Carbon - Distribution ........................ SKIPPED
>>>>> [INFO] Jaggery Integration Tests ......................... SKIPPED
>>>>> [INFO] Jaggery Integration Tests Commons ................. SKIPPED
>>>>> [INFO] WSO2 Jaggery - Integration Test Common Utils Module SKIPPED
>>>>> [INFO] jaggeryJS- Integration Test Module ................ SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 8.681s
>>>>> [INFO] Finished at: Wed Oct 07 18:50:55 IST 2015
>>>>> [INFO] Final Memory: 28M/982M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
>>>>> (3-p2-profile-generation) on project p2-profile-gen: P2 publisher return
>>>>> code was 13 -> [Help 1]
>>>>>
>>>>> It seems, the version of org.apache.solr is not compatible. But I
>>>>> have changed it to the latest version. Is there any other place to change
>>>>> the version to solve this?
>>>>> Appreciate the suggestions. Thanks
>>>>>
>>>>>
>>>>> On Tue, Oct 6, 2015 at 6:10 PM, Lalanke Athauda <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I'm trying to build product-jaggery, so I updated the carbon versions
>>>>>> in the pom.xml file. I have updated to newest versions. When it builds,
>>>>>> it
>>>>>> gives following error and fails the build.
>>>>>>
>>>>>> Installation failed.
>>>>>> Cannot complete the install because one or more required items could
>>>>>> not be found.
>>>>>> Software being installed: WSO2 Carbon - Webapp Management Core
>>>>>> Feature 4.5.3 (org.wso2.carbon.webapp.mgt.server.feature.group 4.5.3)
>>>>>> Missing requirement: org.wso2.carbon.identity.sso.agent 4.5.6
>>>>>> (org.wso2.carbon.identity.sso.agent 4.5.6) requires 'package
>>>>>> org.apache.http.conn.ssl [4.3.1.wso2v2,4.4.0)' but it could not be found
>>>>>> Cannot satisfy dependency:
>>>>>> From: WSO2 Carbon - Webapp Management Core Feature 4.5.3
>>>>>> (org.wso2.carbon.webapp.mgt.server.feature.group 4.5.3)
>>>>>> To: org.wso2.carbon.identity.sso.agent [4.5.6]
>>>>>>
>>>>>> Appreciate the suggestions of what should be updated more. Thanks.
>>>>>>
>>>>>> --
>>>>>> Lalanke Athauda
>>>>>> Software Engineer
>>>>>> WSO2 Inc.
>>>>>> Mobile: 0772264301
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lalanke Athauda
>>>>> Software Engineer
>>>>> WSO2 Inc.
>>>>> Mobile: 0772264301
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Madhawa Gunasekara*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: +94 719411002 <+94+719411002>
>>>> blog: *http://madhawa-gunasekara.blogspot.com
>>>> <http://madhawa-gunasekara.blogspot.com>*
>>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>>> <http://lk.linkedin.com/in/mgunasekara>*
>>>>
>>>
>>>
>>>
>>> --
>>> Lalanke Athauda
>>> Software Engineer
>>> WSO2 Inc.
>>> Mobile: 0772264301
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Dinithi De Silva*
>> Associate Software Engineer, WSO2 Inc.
>> m:+94716667655 | e:[email protected] | w: www.wso2.com
>> | a: #20, Palm Grove, Colombo 03
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Danesh Kuruppu
> Software Engineer
> WSO2 Inc,
> Mobile: +94 (77) 1690552
>
--
Lalanke Athauda
Software Engineer
WSO2 Inc.
Mobile: 0772264301
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev