On Fri, Jul 6, 2012 at 10:04 AM, Shammi Jayasinghe <[email protected]> wrote:
> Build is failing due to following reason. I am looking in to this. > > Thanks > Shammi > > build 05-Jul-2012 21:07:27 [INFO] BUILD FAILURE > build 05-Jul-2012 21:07:27 [INFO] > ------------------------------------------------------------------------ > build 05-Jul-2012 21:07:27 [INFO] Total time: 4.665s > build 05-Jul-2012 21:07:27 [INFO] Finished at: Thu Jul 05 21:07:27 PDT 2012 > build 05-Jul-2012 21:07:28 [INFO] Final Memory: 36M/231M > build 05-Jul-2012 21:07:28 [INFO] > ------------------------------------------------------------------------ > build 05-Jul-2012 21:07:28 [ERROR] Plugin > org.apache.axis2:axis2-repo-maven-plugin:1.6.1-wso2v5 or one of its > dependencies could not be resolved: Failure to find > org.apache.axis2:axis2-repo-maven-plugin:jar:1.6.1-wso2v5 in > http://download.java.net/maven/2/ was cached in the local repository, > resolution will not be reattempted until the update interval of > repository.dev.java.net-maven2 has elapsed or updates are forced -> [Help 1] > > > > Hi all, The problem here is the version of axis2-repo-maven-plugin. In the following pom.xml [1] we have that as follows. <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-mar-maven-plugin</artifactId> <version>1.5.2</version> </plugin> <!-- No chicken and egg problem here because the plugin doesn't expose any extension. We can always use the version from the current build. --> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-repo-maven-plugin</artifactId> <version>${project.version}</version> </plugin> In that we have used previous version (1.5.2) for axis2-mar-maven-plugin and $project.version for the axis2-repo-maven-plugin. In Bamboo we are now building in a clean repo. When we run the command "mvn clean" It looks for the project version of this plugin. Since it not available in the repo, build fails. (We do "mvn clean" task to clean old sure-fire reports). When i checked locally , i could reproduce this issue and it can be overcome by changing the version of "axis2-repo-maven-plugin" to "1.5.2" as in other plugins. Is it ok to do it or is there any other solution for this ? Thanks Shammi [1] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/dependencies/axis2/1.6.1-wso2v5/modules/parent/pom.xml > > On Fri, Jul 6, 2012 at 9:39 AM, Bamboo <[email protected]> wrote: > >> [image: Failed] Carbon >> Snapshot<http://wso2.org/bamboo/browse/WSO2CARBON/>› >> Kernel <http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD/>› >> #359<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-359/> >> failed >> >> This build was manually triggered by >> BambooBuilder<http://wso2.org/bamboo/browse/user/bamboo_builder> >> . >> >> No failed tests found, a possible compilation error. >> Failing >> Jobs<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-359/> >> Job >> Duration Tests [image: Failed] Default >> Job<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1-359/> >> (Default >> Stage) 1 minute No tests found >> Logs<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1-359/log>| >> Artifacts<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-JOB1-359/artifact> >> View >> Online<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-359> >> | Add >> Comments<http://wso2.org/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-359?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 >> >> > > > -- > Best Regards,* > > Shammi Jayasinghe* > Senior Software Engineer; WSO2, Inc.; http://wso2.com, > mobile: +94 71 4493085 > > > -- Best Regards,* Shammi Jayasinghe* Senior Software Engineer; WSO2, Inc.; http://wso2.com, mobile: +94 71 4493085
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
