This is fixed and now we can build C5 kernel code base using latest maven
version (3.3.3) also.

On Thu, Oct 22, 2015 at 11:18 PM, Afkham Azeez <[email protected]> wrote:

> Yes, we shouldn't release without build support for the latest version of
> Maven. It is working fine for me on Maven 3.1.1 though.
>
> On Thu, Oct 22, 2015 at 10:45 PM, Sagara Gunathunga <[email protected]>
> wrote:
>
>>
>> @Azeez, This is C5, shouldn't we support to build the source with latest
>> Maven version ? Maven 3.0.5 is released in 2013.
>>
>> Thanks !
>>
>> On Thu, Oct 22, 2015 at 10:39 PM, Isuru Perera <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Thanks for the help. The Carbon Kernel 5 is building successfully with
>>> Maven 3.0.5. I couldn't figure out that issue is related to Maven version :(
>>>
>>> It's good that you created a JIRA to fix build issues with Maven 3.3.3.
>>>
>>>
>>> On Thu, Oct 22, 2015 at 10:18 PM, Kishanthan Thangarajah <
>>> [email protected]> wrote:
>>>
>>>> This looks like an issue when building with maven 3.3.3. Can you try
>>>> building with 3.0.5 (which the jenkins build job is configured)?
>>>>
>>>> Anyways we are fixing this issue as this is an unused dependency and
>>>> making build ready on maven 3.3.3 :
>>>> https://wso2.org/jira/browse/CARBON-15567.
>>>>
>>>> On Thu, Oct 22, 2015 at 10:16 PM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>> Kernel team please help Isuru resolve this soon.
>>>>>
>>>>> On Thu, Oct 22, 2015 at 9:50 PM, Isuru Perera <[email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to build Carbon Kernel 5.0.x branch [1] and I'm seeing
>>>>>> following error when building (mvn clean install) from root directory.
>>>>>>
>>>>>> [INFO] Installing
>>>>>> /home/isuru/work/wso2-git/carbon-kernel/features/org.wso2.carbon.core.runtime.feature/target/org.wso2.carbon.core.runtime.feature-5.0.0-SNAPSHOT.zip
>>>>>> to
>>>>>> /home/isuru/.m2/repository/org/wso2/carbon/org.wso2.carbon.core.runtime.feature/5.0.0-SNAPSHOT/org.wso2.carbon.core.runtime.feature-5.0.0-SNAPSHOT.zip
>>>>>> [INFO]
>>>>>>
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building WSO2 Carbon Kernel - Distribution 5.0.0-SNAPSHOT
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [WARNING] The POM for
>>>>>> org.eclipse.osgi:org.eclipse.equinox.p2.transport.ecf:jar:1.1.0.v20130516-1858
>>>>>> is missing, no dependency information available
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>> [INFO] WSO2 Carbon Kernel - Parent Pom .................... SUCCESS
>>>>>> [  5.875 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Launcher ...................... SUCCESS [
>>>>>> 24.962 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Core .......................... SUCCESS
>>>>>> [01:56 min]
>>>>>> [INFO] WSO2 Carbon Kernel - Tests ......................... SUCCESS
>>>>>> [  2.131 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Tests Artifacts ........ SUCCESS
>>>>>> [  0.849 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Startup Coordination Artifacts
>>>>>> SUCCESS [  0.955 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Transport Manager ...... SUCCESS [
>>>>>> 41.717 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Transport HTTP ......... SUCCESS [
>>>>>> 38.526 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Runtime Manager ........ SUCCESS [
>>>>>> 34.667 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Runtime MSS ............ SUCCESS [
>>>>>> 29.489 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Runtime Webapp ......... SUCCESS [
>>>>>> 37.784 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Runtime JAR ............ SUCCESS [
>>>>>> 36.073 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Runtime BPS ............ SUCCESS [
>>>>>> 36.849 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Sample Deployer Manager ....... SUCCESS [
>>>>>> 39.433 s]
>>>>>> [INFO] WSO2 Carbon Kernel - OSGi Tests .................... SUCCESS [
>>>>>> 28.565 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Transport ..................... SUCCESS [
>>>>>> 49.597 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Features Parent ............... SUCCESS
>>>>>> [  1.659 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Carbon Server Feature ......... SUCCESS
>>>>>> [  4.693 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Carbon Runtime Feature ........ SUCCESS
>>>>>> [  2.102 s]
>>>>>> [INFO] WSO2 Carbon Kernel - Distribution .................. FAILURE
>>>>>> [  0.095 s]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 08:56 min
>>>>>> [INFO] Finished at: 2015-10-22T21:43:59+05:30
>>>>>> [INFO] Final Memory: 108M/1143M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] Failed to execute goal on project wso2carbon-kernel: Could
>>>>>> not resolve dependencies for project
>>>>>> org.wso2.carbon:wso2carbon-kernel:pom:5.0.0-SNAPSHOT: Failure to find
>>>>>> org.eclipse.osgi:org.eclipse.equinox.p2.transport.ecf:jar:1.1.0.v20130516-1858
>>>>>> in http://maven.wso2.org/nexus/content/repositories/releases/ was
>>>>>> cached in the local repository, resolution will not be reattempted until
>>>>>> the update interval of wso2.releases 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 :wso2carbon-kernel
>>>>>>
>>>>>> However I can build from distribution directory and there are no
>>>>>> failures.
>>>>>>
>>>>>> It seems the mentioned dependency is not available in wso2-public
>>>>>> repo [2] also
>>>>>>
>>>>>> What could be reason? I'm still trying to figure out what's happening.
>>>>>>
>>>>>> [1] https://github.com/wso2/carbon-kernel/tree/5.0.x
>>>>>> [2]
>>>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/osgi/org.eclipse.equinox.p2.transport.ecf/1.1.0.v20130516-1858/
>>>>>> --
>>>>>> Isuru Perera
>>>>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>> about.me/chrishantha
>>>>>> Contact: +IsuruPereraWSO2
>>>>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>*
>>>>> *email: **[email protected]* <[email protected]>
>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>>> <http://twitter.com/afkham_azeez>
>>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *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>*
>>>>
>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Architect; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services;    http://ws.apache.org/
>> Linkedin; http://www.linkedin.com/in/ssagara
>> Blog ;  http://ssagara.blogspot.com
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
*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>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to