Can you guys try including ../../parent to patch-releases/4.0.1/pom.xml as
a module and make that (../../../parent/pom.xml) as the parent relative
path of patch-releases/4.0.1/core/pom.xml,
patch-releases/4.0.1/dependencies/pom.xml,
etc...  ?

It solved me this issue.

 - Chethiya

On Fri, Aug 17, 2012 at 10:20 AM, Kasun Weranga <[email protected]> wrote:

> I went through patch-release poms, features and product p2-profile-gen. I
> couldn't find any issue. Also this is building fine for me.
>
> On Fri, Aug 17, 2012 at 8:39 AM, Ajith Vitharana <[email protected]> wrote:
>
>> Hi BAM team,
>>
>> Please fix this build issue.
>>
>>
>> build        16-Aug-2012 19:51:25    [INFO] WSO2 Business Activity Monitor 
>> P2 Profile Generation  FAILURE [3.542s]
>> build        16-Aug-2012 19:51:25    [INFO] WSO2 Business Activity Monitor - 
>> Product .......... FAILURE [21.356s]
>> build        16-Aug-2012 19:51:25    [INFO] WSO2 Carbon - Patch releases - 
>> products - Aggregator Module  SUCCESS [0.049s]
>> build        16-Aug-2012 19:51:25    [INFO] 
>> ------------------------------------------------------------------------
>> build        16-Aug-2012 19:51:25    [INFO] BUILD FAILURE
>> build        16-Aug-2012 19:51:25    [INFO] 
>> ------------------------------------------------------------------------
>> build        16-Aug-2012 19:51:25    [INFO] Total time: 30.438s
>> build        16-Aug-2012 19:51:25    [INFO] Finished at: Thu Aug 16 19:51:25 
>> PDT 2012
>> build        16-Aug-2012 19:51:25    [INFO] Final Memory: 43M/602M
>> build        16-Aug-2012 19:51:25    [INFO] 
>> ------------------------------------------------------------------------
>> build        16-Aug-2012 19:51:25    [ERROR] Failed to execute goal 
>> org.wso2.maven:carbon-p2-plugin:1.5:p2-repo-gen (2-p2-repo-generation) on 
>> project wso2bam-p2-profile-gen: ERROR: Failure to find 
>> org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.cassandra.feature:zip:4.0.1
>>  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 forced
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] Try downloading the file 
>> manually from the project website.
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] Then, install it using the 
>> command:
>> build        16-Aug-2012 19:51:25    [ERROR] mvn install:install-file 
>> -DgroupId=org.wso2.carbon 
>> -DartifactId=org.wso2.carbon.databridge.streamdefn.cassandra.feature 
>> -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] Alternatively, if you host your 
>> own repository you can deploy the file there:
>> build        16-Aug-2012 19:51:25    [ERROR] mvn deploy:deploy-file 
>> -DgroupId=org.wso2.carbon 
>> -DartifactId=org.wso2.carbon.databridge.streamdefn.cassandra.feature 
>> -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] 
>> -DrepositoryId=[id]
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] 
>> org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.cassandra.feature:zip:4.0.1
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] from the specified remote 
>> repositories:
>> build        16-Aug-2012 19:51:25    [ERROR] wso2-nexus 
>> (http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, 
>> snapshots=true),
>> build        16-Aug-2012 19:51:25    [ERROR] central 
>> (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>> build        16-Aug-2012 19:51:25    [ERROR] -> [Help 1]
>> build        16-Aug-2012 19:51:25    [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on 
>> project wso2bam: Failed to create assembly: Error adding file to archive: 
>> /home/bamboo/Bamboo-3.4/source-repository/build-dir/WCB001-PRO000-JOB1/products/bam2/2.0.0/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.0.1/repository/conf/etc/cassandra-auth.xml
>>  isn't a file. -> [Help 1]
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] To see the full stack trace of 
>> the errors, re-run Maven with the -e switch.
>> build        16-Aug-2012 19:51:25    [ERROR] Re-run Maven using the -X 
>> switch to enable full debug logging.
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] For more information about the 
>> errors and possible solutions, please read the following articles:
>> build        16-Aug-2012 19:51:25    [ERROR] [Help 1] 
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> build        16-Aug-2012 19:51:25    [ERROR]
>> build        16-Aug-2012 19:51:25    [ERROR] After correcting the problems, 
>> you can resume the build with the command
>> build        16-Aug-2012 19:51:25    [ERROR]   mvn <goals> -rf 
>> :wso2bam-p2-profile-gen
>>
>>
>> On Fri, Aug 17, 2012 at 8:22 AM, Bamboo <[email protected]> wrote:
>>
>>>      [image: Failed]  WSO2 Carbon 
>>> BRANCH<http://wso2.org/bamboo/browse/WCB001/>›
>>> Products_4.0.0 <http://wso2.org/bamboo/browse/WCB001-PRO000/> › 
>>> #68<http://wso2.org/bamboo/browse/WCB001-PRO000-68/>
>>> failed
>>>
>>> Code has been updated by 
>>> krishantha<http://wso2.org/bamboo/browse/author/krishantha>,
>>> nandika <http://wso2.org/bamboo/browse/author/nandika>, 
>>> nuwanw<http://wso2.org/bamboo/browse/author/nuwanw>,
>>> Kishanthan 
>>> Thangarajah<http://wso2.org/bamboo/browse/user/[email protected]>,
>>> asela <http://wso2.org/bamboo/browse/author/asela>, 
>>> eranda<http://wso2.org/bamboo/browse/author/eranda>,
>>> kasunw <http://wso2.org/bamboo/browse/author/kasunw>, 
>>> shammi<http://wso2.org/bamboo/browse/author/shammi>,
>>> charitham <http://wso2.org/bamboo/browse/author/charitham>, 
>>> lakmali<http://wso2.org/bamboo/browse/author/lakmali>,
>>> miyuru <http://wso2.org/bamboo/browse/author/miyuru>, 
>>> chamath<http://wso2.org/bamboo/browse/author/chamath>,
>>> sinthuja <http://wso2.org/bamboo/browse/author/sinthuja>, 
>>> ishan<http://wso2.org/bamboo/browse/author/ishan>,
>>> viraj <http://wso2.org/bamboo/browse/author/viraj>, 
>>> senaka<http://wso2.org/bamboo/browse/author/senaka>,
>>> maninda <http://wso2.org/bamboo/browse/author/maninda>, 
>>> suho<http://wso2.org/bamboo/browse/author/suho>,
>>> prabatha <http://wso2.org/bamboo/browse/author/prabatha>, 
>>> deep<http://wso2.org/bamboo/browse/author/deep>,
>>> supunm <http://wso2.org/bamboo/browse/author/supunm>, 
>>> reka<http://wso2.org/bamboo/browse/author/reka>,
>>> ajithn <http://wso2.org/bamboo/browse/author/ajithn>, 
>>> amila<http://wso2.org/bamboo/browse/author/amila>,
>>> Isuru Udana Loku 
>>> Narangoda<http://wso2.org/bamboo/browse/user/[email protected]>
>>> .
>>>
>>> No failed tests found, a possible compilation error.
>>>    Failing Jobs <http://wso2.org/bamboo/browse/WCB001-PRO000-68/>    Job
>>> Duration Tests    [image: Failed]  Default 
>>> Job<http://wso2.org/bamboo/browse/WCB001-PRO000-JOB1-68/> (Default
>>> Stage)  88 minutes  No tests found  
>>> Logs<http://wso2.org/bamboo/browse/WCB001-PRO000-JOB1-68/log>|
>>> Artifacts <http://wso2.org/bamboo/browse/WCB001-PRO000-JOB1-68/artifact>    
>>>  Code
>>> Changes <http://wso2.org/bamboo/browse/WCB001-PRO000-68/commit/>  View
>>> all 164 code changes<http://wso2.org/bamboo/browse/WCB001-PRO000-68/commit/>
>>> asela <http://wso2.org/bamboo/browse/author/asela>
>>> adding identity 4.0.1 feature to patch pom  138587    
>>> asela<http://wso2.org/bamboo/browse/author/asela>
>>> adding 4.0.1 feature versions  138586    
>>> asela<http://wso2.org/bamboo/browse/author/asela>
>>> addming 4.0.1 versions  138585   161 more 
>>> changes…<http://wso2.org/bamboo/browse/WCB001-PRO000-68/commit>     View
>>> Online <http://wso2.org/bamboo/browse/WCB001-PRO000-68> | Add 
>>> Comments<http://wso2.org/bamboo/browse/WCB001-PRO000-68?commentMode=true>
>>>
>>> This message was sent by Atlassian Bamboo <http://wso2.org/bamboo>.
>>>
>>> If you wish to stop receiving these emails edit your user 
>>> profile<http://wso2.org/bamboo/profile/userNotifications.action>or notify
>>> your administrator <http://wso2.org/bamboo/viewAdministrators.action>.
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  [email protected]
>> Mobile : +94714631794
>>
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chethiya Abeysinghe
Software Engineer; WSO2, Inc.;  http://wso2.com/
email: [email protected]     phone: +94 777444891
blog: chethiya3000.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to