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 <lala...@wso2.com> 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to