Hi Aruna, patch0012 also has the same issue as patch0009 had to update orbit/hazelcast/3.0.1.wso2v1/pom.xml <https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/orbit/hazelcast/3.0.1.wso2v1/pom.xml> with
<plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>1.4.0</version> <extensions>true</extensions> to get it built, other patchers were build without errors so the issue exists on patch0003,patch0009,patch0010 and patch0012 I will update the jira with the findings, Thanks and Regards, Ashwin On Mon, Nov 9, 2015 at 1:01 PM, Ashwin Nallaperuma <[email protected]> wrote: > Hi Aruna, > > Build failed on patch0010 also > > I added > > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>1.4.0</version> > <extensions>true</extensions> > > for all the pom.xml files inside orbit > then deleted <Bundle-Classpath>patch.jar.,</Bundle-Classpath> inside <plugins> > on orbit/tomcat/pom.xml > > then the build succeeded > > Do I need to create a separate jira for this or shall I update the same > one..? > > and is deleting <Bundle-Classpath>patch.jar.,</Bundle-Classpath> inside > <plugins> > ok ? > > Thanks and Regards, > Ashwin > > > On Mon, Nov 9, 2015 at 12:43 PM, Aruna Karunarathna <[email protected]> > wrote: > >> This maybe due to the upgrade version of the maven-bundle-plugin which is >> build in a JDK later than JDK6. >> Since patch0009 is already released we may not able to fix in that >> version, other than pointing out in documentation. >> >> @Nipuni. >> >> Please note, this need to be fixed in patch0013 and 4.4.x patch releases >> if the issue persists. >> >> Regards, >> Aruna >> >> On Mon, Nov 9, 2015 at 12:05 PM, Ashwin Nallaperuma <[email protected]> >> wrote: >> >>> Hi Udara, >>> >>> As you said, the same issue exists with patch0009 >>> need to manually update >>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/orbit/hazelcast/3.0.1.wso2v1/pom.xml >>> and add the below content >>> >>> <plugin> >>> <groupId>org.apache.felix</groupId> >>> <artifactId>maven-bundle-plugin</artifactId> >>> <version>1.4.0</version> >>> <extensions>true</extensions> >>> >>> then the build succeeds, >>> >>> I have updated the jira >>> >>> Thanks and Regards, >>> Ashwin >>> >>> On Mon, Nov 9, 2015 at 1:37 AM, Udara Rathnayake <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> Had a similar issue in patch0003 due to missing version property of the >>>> maven-bundle-plugin in some components. >>>> >>>> I have already created a doc jira[1] to put a note on this. If this is >>>> same with the patch00009 better mention that in the same doc jira. >>>> >>>> [1] https://wso2.org/jira/browse/DOCUMENTATION-2516 >>>> >>>> Regards, >>>> UdaraR >>>> >>>> On Sun, Nov 8, 2015 at 1:20 AM, Ashwin Nallaperuma <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to build carbon 4.2.0 patch 0009 and the build failed, >>>>> details are below >>>>> >>>>> *patch0009 with java 7.80 maven 3.0.5* >>>>> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile >>>>> (default-compile) on project org.wso2.carbon.application.deployer: >>>>> Compilation failure >>>>> [ERROR] >>>>> /mnt/4.2.0/patches/patch0009/core/org.wso2.carbon.application.deployer/4.2.0/src/main/java/org/wso2/carbon/application/deployer/AppDeployerUtils.java:[558,14] >>>>> error: type IQuery does not take parameters >>>>> *patch0009 **with java 6.38 **maven 3.0.5* >>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle (default-bundle) on >>>>> project hazelcast: Execution default-bundle of goal >>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle failed: An API >>>>> incompatibility was encountered while executing >>>>> org.apache.felix:maven-bundle-plugin:3.0.0:bundle: >>>>> java.lang.UnsupportedClassVersionError: aQute/bnd/osgi/Analyzer : >>>>> Unsupported major.minor version 51.0 >>>>> >>>>> patches from 0001 to 0008 builds were success >>>>> *Note:-* Patch0003 was build using java 7 as for java 6 gave an error >>>>> (Unsupported major.minor version 51.0) >>>>> >>>>> Other patches were build using java 6.38 maven 3.0.5 >>>>> >>>>> any help would be greatly appreciated. >>>>> >>>>> -- >>>>> Ashwin Nallaperuma >>>>> Software Engineer >>>>> WSO2 Inc. >>>>> lean . enterprise . middleware >>>>> http://wso2.com >>>>> >>>>> Mobile : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810 >>>>> Email : [email protected] <[email protected]> >>>>> Blog : shellpower.wordpress.com >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> UdaraR >>>> >>> >>> >>> >>> -- >>> Ashwin Nallaperuma >>> Software Engineer >>> WSO2 Inc. >>> lean . enterprise . middleware >>> http://wso2.com >>> >>> Mobile : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810 >>> Email : [email protected] <[email protected]> >>> Blog : shellpower.wordpress.com >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> *Aruna Sujith Karunarathna *| Software Engineer >> WSO2, Inc | lean. enterprise. middleware. >> #20, Palm Grove, Colombo 03, Sri Lanka >> Mobile: +94 71 9040362 | Work: +94 112145345 >> Email: [email protected] | Web: www.wso2.com >> >> > > > > -- > Ashwin Nallaperuma > Software Engineer > WSO2 Inc. > lean . enterprise . middleware > http://wso2.com > > Mobile : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810 > Email : [email protected] <[email protected]> > Blog : shellpower.wordpress.com > -- Ashwin Nallaperuma Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +94 (0) 7 <%2B94%20%280%29%20773%20451194>79978810 Email : [email protected] <[email protected]> Blog : shellpower.wordpress.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
