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

Reply via email to