hi,
C:\WSO2\Carbon\features\gadgets\org.wso2.carbon.gadget.initializer.feature\pom.xml
added -->
<bundleDef>commons-fileupload.wso2:commons-fileupload</bundleDef>
<bundleDef>org.json.wso2:json</bundleDef>
and updated
C:\WSO2\Carbon\features\gadgets\pom.xml
by adding
<dependency>
<groupId>commons-fileupload.wso2</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2.wso2v1</version>
</dependency>
<dependency>
<groupId>org.json.wso2</groupId>
<artifactId>json</artifactId>
<version>2.0.0.wso2v1</version>
</dependency>
It will work, we will commit this to trunk soon.
thank you
On Wed, Nov 16, 2011 at 8:43 PM, Isuru Wimalasundera <[email protected]>wrote:
> Hi Folks
>
> I received this error while trying to build Greg product in trunk. The
> issue seems to be a version mismatch in package
> org.apache.commons.fileupload in shindig 3.0.0.wso2v1, and related
> to Dashboard features. The error is as given below.
>
> Installing org.wso2.carbon.application.mgt.feature.group 3.2.0.SNAPSHOT.
> Installing org.wso2.carbon.jaxwsservices.server.feature.group
> 3.2.0.SNAPSHOT.
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
> Software being installed: WSO2 Carbon - Dashboard Composite Feature
> 3.2.0.SNAPSHOT (org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT)
> Missing requirement: shindig 3.0.0.wso2v1 (shindig 3.0.0.wso2v1) requires
> 'package org.apache.commons.fileupload 1.2.2' but it could not be found
> Cannot satisfy dependency:
> From: WSO2 Carbon - Dashboard Composite Feature 3.2.0.SNAPSHOT
> (org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT)
> To: org.wso2.carbon.dashboard.ui.feature.group [3.2.0.SNAPSHOT]
> Cannot satisfy dependency:
> From: WSO2 Carbon - Dashboard UI Feature 3.2.0.SNAPSHOT
> (org.wso2.carbon.dashboard.ui.feature.group 3.2.0.SNAPSHOT)
> To: shindig [3.0.0.wso2v1]
> Application failed, log file location:
> /home/isuruw/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.12.0/eclipse/configuration/1321453250108.log
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Governance Registry .......................... SUCCESS [0.246s]
> [INFO] WSO2 Governance Registry Styles Parent ............ SUCCESS [0.010s]
> [INFO] WSO2 Governance Registry - UI Styles .............. SUCCESS [2.550s]
> [INFO] WSO2 Stratos - Cloud Governance UI styles ......... SUCCESS [1.058s]
> [INFO] WSO2 Governance Registry - Check-in Client ........ SUCCESS [2.687s]
> [INFO] WSO2 Governance Registry Features Parent .......... SUCCESS [0.006s]
> [INFO] WSO2 Governance Registry - Features Aggregator Module SUCCESS
> [0.005s]
> [INFO] WSO2 Governance Registry - Styles Feature ......... SUCCESS [0.395s]
> [INFO] WSO2 Stratos - Cloud Governance Dashboard User Interface SUCCESS
> [0.765s]
> [INFO] WSO2 Stratos - Cloud Governance Login User Interface SUCCESS
> [0.337s]
> [INFO] WSO2 Stratos - Cloud Governance Features Aggregator Module SUCCESS
> [0.006s]
> [INFO] WSO2 Carbon - Cloud Governance UI Feature ......... SUCCESS [0.278s]
> [INFO] WSO2 Governance Registry P2 Profile Generation Parent SUCCESS
> [0.006s]
> [INFO] WSO2 Governance Registry - P2 Profile Generation .. FAILURE
> [15.153s]
> [INFO] WSO2 Stratos - Cloud Governance P2 Profile Generation SKIPPED
> [INFO] WSO2 Governance Registry Distribution Parent ...... SKIPPED
> [INFO] WSO2 Governance Registry - Distribution ........... SKIPPED
> [INFO] WSO2 Stratos - Cloud Governance Distribution ...... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 24.325s
> [INFO] Finished at: Wed Nov 16 19:50:54 IST 2011
> [INFO] Final Memory: 65M/1298M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT: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.
>
> The GS/Mashup folks please take a look and let know how to over come this
> issue.
>
> Thank You
> Isuruw
>
> --
> *Isuru Wimalasundera*
> Software Engineer; WSO2, Inc.; http://wso2.com,
> mobile: +94 77 920 5641
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
*Madhuka* Udantha
http://madhukaudantha.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev