On Mon, Feb 6, 2012 at 6:58 PM, Sameera Jayasoma <[email protected]> wrote:

> Hi Samisa,
>
> There is a workaround. Can you please comment out the following section
> from the  platform pom.xml
>

But, because of this, the pom installed to m2 also will has the modules
commented out. So, manual editing is needed. A better option would be to
issue to following command from the top-level. There's no need to comment
the modules section.

*mvn install -N*
*
*
Maven help says,
-N,--non-recursive     -   Do not recurse into sub-projects


>
> <id>default</id>
>           <activation>
>                 <activeByDefault>true</activeByDefault>
>           </activation>
>             <!-- <modules>
>                 <module>dependencies</module>
>                 <module>orbit</module>
>                 <module>service-stubs</module>
>                 <module>core</module>
>                 <module>components</module>
>                 <module>features</module>
>                 <module>samples/shopping-cart</module>
>                 <module>products</module>
>              </modules>-->
>         </profile>
>
> Then invoke the 'mvn clean install' from the top level. This will allow
> the platform pom to be added to the .m2 repo.
>
> Then try to build carbon core.
>
> Thanks,
> Sameera.
>
> On Mon, Feb 6, 2012 at 6:47 PM, Samisa Abeysinghe <[email protected]> wrote:
>
>>
>>
>> On Mon, Feb 6, 2012 at 6:20 PM, Dileepa Jayakody <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> This is due to some dependency artifacts not been downloaded from
>>> maven.wso2.org/nexus/content/groups/wso2-public/
>>> I think this happens because LK cache repo is not yet synced properly.
>>>
>>
>> Is there any workaround?
>>
>>
>>>
>>> Regards,
>>> Dileepa
>>>
>>> On Mon, Feb 6, 2012 at 6:09 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 10.774s
>>>> [INFO] Finished at: Mon Feb 06 18:08:23 IST 2012
>>>> [INFO] Final Memory: 47M/981M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal on project org.wso2.carbon.base: Could
>>>> not resolve dependencies for project
>>>> org.wso2.carbon:org.wso2.carbon.base:jar:4.0.0-SNAPSHOT: Failed to collect
>>>> dependenc
>>>> ies for [org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1
>>>> (compile), org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.0-SNAPSHOT
>>>> (compile), org.wso2.carbon:org.wso2.carbon.queuing:jar:
>>>> 4.0.0-SNAPSHOT (compile),
>>>> org.wso2.securevault:org.wso2.securevault:jar:1.0.0 (compile),
>>>> org.wso2.carbon:org.wso2.carbon.securevault:jar:4.0.0-SNAPSHOT (compile),
>>>> javax.servlet:servlet-api:ja
>>>> r:2.4 (compile)]: Failed to read artifact descriptor for
>>>> org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1: Failure to find
>>>> org.wso2.carbon:carbon-platform:pom:4.0.0-SNAPSHOT in http:/
>>>> /maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
>>>> local repository, resolution will not be reattempted until the update
>>>> interval of wso2-nexus has elapsed or updates are for
>>>> ced -> [Help 1]
>>>> [ERROR]
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>> Samisa Abeysinghe
>>>> VP Engineering
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Dileepa Jayakody,
>>> Software Engineer, WSO2 Inc.
>>> Lean . Enterprise . Middleware
>>>
>>> Mobile : +94777-857616
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://tech.jayasoma.org
>
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Kasun Gajasinghe*
Software Engineer; WSO2 Inc.; http://wso2.com

,
*email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
*blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org>

*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>

*
*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to