This issue is still there in JMS transport build. On Tue, Apr 19, 2016 at 3:01 PM, Suhan Dharmasuriya <[email protected]> wrote:
> Hi Kishanthan, > > Thank you for the reply. > I was able to build kernel branch 4.2.0 up to patch0005. > > However I had to do following changes. Please find the attached diff. > > 1. Removed the missing repo [1] and its dependencies from relevant > pom.xml files. > 2. To fix Unsupported major.minor version 51.0 error. > - build-helper-maven-plugin version 1.9.1 used [2] > - maven-bundle-plugin version 2.5.4 used [3], [4] > 3. Added org.wso2.carbon.utils[5] to patch0005/core and included in > its pom.xml to prevent missing class org.wso2.carbon.utils. > multitenancy.MultitenantConstants error. > > > [1] http://people.apache.org/repo/m2-incubating-repository/ > [2] http://repo1.maven.org/maven2/org/codehaus/mojo/build- > helper-maven-plugin/ > [3] http://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/ > [4] subject: carbon-apimgt-1.2.0, carbon-apimgt-1.2.5 and > product-apim-1.9.0 Build failure > [5] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4. > 2.0/patches/patch0004/core/org.wso2.carbon.utils/ > > It would be great if you can review and confirm the changes done as per > the attached diff file. > > Thanks, > Suhan > > > On Thu, Apr 7, 2016 10:25 AM, Kishanthan Thangarajah [email protected] > wrote: > >> It could be that particular repo is no longer available at apache site. >> We may have to remove it from the pom. >> >> On Mon, Apr 4, 2016 at 2:19 PM, Suhan Dharmasuriya <[email protected]> >> wrote: >> >> Hi, >> >> We were building carbon kernel 4.2.0 branch[1]. >> We used a clean repo and we built orbit 4.2.0 prior building kernel 4.2.0. >> We observed the following build failure[4]. >> >> We also noted that the following repo[2] at people.apache.org is not >> available. >> >> Please advice how to proceed. >> >> [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/ >> [2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4. >> 2.0/dependencies/transports/1.1.0-wso2v9/modules/jms/pom.xml >> <repositories> >> <!-- this is for qpid --> >> <repository> >> <id>apache-incubating</id> >> <name>Apache Maven 2 Incubating Repository</name> >> <url>http://people.apache.org/repo/m2-incubating-repository/ >> </url> >> <releases> >> <updatePolicy>never</updatePolicy> >> </releases> >> <snapshots> >> <updatePolicy>interval:60</updatePolicy> >> </snapshots> >> </repository> >> </repositories> >> >> [3] https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.2.0/ >> [4] >> [ERROR] Failed to execute goal on project axis2-transport-jms: Could not >> resolve dependencies for project org.apache.axis2:axis2- >> transport-jms:bundle:1.1.0-wso2v9: The following artifacts could not be >> resolved: org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1, >> org.apache.qpid:qpid-client:jar:1.0-incubating-M2.1: Failure to find >> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1 in >> http://people.apache.org/repo/m2-incubating-repository/ was cached in >> the local repository, resolution will not be reattempted until the update >> interval of apache-incubating has elapsed or updates are forced -> [Help 1] >> >> [5] >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] Building Apache Axis2 - Transport - JMS 1.1.0-wso2v9 >> [INFO] ------------------------------------------------------------ >> ------------ >> *[WARNING] The POM for >> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1 is missing, no >> dependency information available* >> *[WARNING] The POM for >> org.apache.qpid:qpid-client:jar:1.0-incubating-M2.1 is missing, no >> dependency information available* >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Axiom Parent POM .................................. SUCCESS >> [2.144s] >> [INFO] Axiom Test Utilities .............................. SUCCESS >> [4.509s] >> [INFO] Axiom Jaxen Test Suite ............................ SUCCESS >> [1.016s] >> [INFO] Axiom API ......................................... SUCCESS >> [1:02.274s] >> [INFO] Axiom Implementation Test Suite ................... SUCCESS >> [0.811s] >> [INFO] Axiom Impl ........................................ SUCCESS >> [3.110s] >> [INFO] Axiom DOM ......................................... SUCCESS >> [2.334s] >> [INFO] Axiom C14N ........................................ SUCCESS >> [0.397s] >> [INFO] Axiom Test Suite .................................. SUCCESS >> [0.603s] >> [INFO] Axiom OSGI Test Suite Parent ...................... SUCCESS >> [0.016s] >> [INFO] Axiom OSGI Test Suite - Build ..................... SUCCESS >> [8.110s] >> [INFO] Axiom OSGI Test Suite - Run ....................... SUCCESS >> [53.862s] >> [INFO] Axiom Integration Test Suite ...................... SUCCESS >> [25.241s] >> [INFO] Axiom ............................................. SUCCESS >> [1.083s] >> [INFO] axiom.wso2 ........................................ SUCCESS >> [1.780s] >> [INFO] Apache Axis2 - Kernel ............................. SUCCESS >> [16.154s] >> [INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS >> [1.469s] >> [INFO] Apache Axis2 - Transport - Local .................. SUCCESS >> [0.468s] >> [INFO] Apache Axis2 - JSON ............................... SUCCESS >> [0.430s] >> [INFO] axis2.wso2 ........................................ SUCCESS >> [3.789s] >> *[INFO] Apache Axis2 - Transport - JMS .................... FAILURE >> [0.140s]* >> [INFO] WSS4J ............................................. SKIPPED >> [INFO] wss4j.wso2 ........................................ SKIPPED >> [INFO] httpcore.wso2 ..................................... SKIPPED >> [INFO] spring.framework.wso2 ............................. SKIPPED >> [INFO] WSO2 Carbon - Utilities ........................... SKIPPED >> [INFO] WSO2 Carbon - JSR 107 API ......................... SKIPPED >> [INFO] WSO2 Carbon - User Manager Kernel ................. SKIPPED >> [INFO] WSO2 Carbon - Registry Kernel ..................... SKIPPED >> [INFO] WSO2 Carbon - Application Deployer ................ SKIPPED >> [INFO] WSO2 Carbon - Kernel .............................. SKIPPED >> [INFO] WSO2 Carbon - Standalone Server ................... SKIPPED >> [INFO] WSO2 Carbon - Coordination Core ................... SKIPPED >> [INFO] WSO2 Carbon - Services ............................ SKIPPED >> [INFO] WSO2 Carbon - Server Administration ............... SKIPPED >> [INFO] WSO2 Carbon - carbon tomcat bundle ................ SKIPPED >> [INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SKIPPED >> [INFO] WSO2 Carbon Kernel Kernel Patch 0001 .............. SKIPPED >> [INFO] WSO2 Carbon Kernel Kernel Core Patch 0001 ......... SKIPPED >> [INFO] Distribution-Aggregate ............................ SKIPPED >> [INFO] WSO2 Carbon - Kernel Patch0001 Feature ............ SKIPPED >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] BUILD FAILURE >> [INFO] ------------------------------------------------------------ >> ------------ >> [INFO] Total time: 3:11.088s >> [INFO] Finished at: Mon Apr 04 12:00:41 IST 2016 >> [INFO] Final Memory: 74M/1132M >> [INFO] ------------------------------------------------------------ >> ------------ >> *[ERROR] Failed to execute goal on project axis2-transport-jms: Could not >> resolve dependencies for project >> org.apache.axis2:axis2-transport-jms:bundle:1.1.0-wso2v9: The following >> artifacts could not be resolved: >> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1, >> org.apache.qpid:qpid-client:jar:1.0-incubating-M2.1: Failure to find >> org.apache.qpid:qpid-broker:jar:1.0-incubating-M2.1 in >> http://people.apache.org/repo/m2-incubating-repository/ >> <http://people.apache.org/repo/m2-incubating-repository/> was cached in the >> local repository, resolution will not be reattempted until the update >> interval of apache-incubating has elapsed or updates are forced -> [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/ >> DependencyResolutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :axis2-transport-jms >> >> Thanks, >> Suhan >> >> Suhan Dharmasuriya >> Software Engineer - Test Automation >> >> *WSO2, Inc. * >> >> lean . enterprise . middleware >> Tel: +94 112 145345 >> Mob: +94 779 869138 >> Blog: http://suhan-opensource.blogspot.com/ >> >> >> >> >> -- >> *Kishanthan Thangarajah* >> Associate Technical Lead, >> Platform Technologies Team, >> WSO2, Inc. >> lean.enterprise.middleware >> >> Mobile - +94773426635 >> Blog - *http://kishanthan.wordpress.com >> <http://kishanthan.wordpress.com>* >> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* >> > > > Suhan Dharmasuriya > Software Engineer - Test Automation > > *WSO2, Inc. * > > lean . enterprise . middleware > Tel: +94 112 145345 > Mob: +94 779 869138 > Blog: http://suhan-opensource.blogspot.com/ > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- https://wso2.com/signature*Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog: http://malinthas.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
