Hi all, It seems we have to incorporate a manual change before running release prepare command. Following class refer the hard coded version(4.1.0-SNAPSHOT) to get the Stratos server zip location. It is not possible to change Java classes with maven release prepare command.
private final static String CARBON_ZIP = SampleApplicationsTest.class.getResource("/").getPath() + "/../../../distribution/target/apache-stratos-4.1.0-SNAPSHOT.zip"; Thanks. On Fri, May 22, 2015 at 1:25 AM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > It seems above issues solved when using 'project.' in front of the version > name 'jclouds.stratos.version'. > > Continues with that fix. > > Thanks. > > On Fri, May 22, 2015 at 12:43 AM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Hi, >> [update] >> >> Release fails with following error. Looking into it. >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3.865 s >> [INFO] Finished at: 2015-05-22T00:42:42+05:30 >> [INFO] Final Memory: 42M/620M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) >> on project stratos-parent: The version could not be updated: >> ${jclouds.stratos.version} -> [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/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :stratos-parent >> >> >> Thanks. >> >> On Fri, May 22, 2015 at 12:26 AM, Lahiru Sandaruwan <lahi...@wso2.com> >> wrote: >> >>> Hi all, >>> >>> I have found that "org.apache.stratos.common.stub" is used in few >>> places. Also there are some places that we use 4.0.0-SNAPSHOT as the >>> version. >>> >>> I will clean these up and commit now. >>> >>> Thanks. >>> >>> On Thu, May 21, 2015 at 9:13 PM, Lahiru Sandaruwan <lahi...@wso2.com> >>> wrote: >>> >>>> Hi all, >>>> >>>> I'm going to kick off a release build now with following commit. Please >>>> avoid committing any thing. I will inform if i found any issues. >>>> >>>> commit 9282761abb2186d9a85819e181d77b020f668da1 >>>> >>>> Thanks. >>>> >>>> On Thu, May 21, 2015 at 1:33 PM, Lahiru Sandaruwan <lahi...@wso2.com> >>>> wrote: >>>> >>>>> Thanks Shavindri! >>>>> >>>>> On Thu, May 21, 2015 at 12:20 PM, Shavindri Dissanayake < >>>>> shavin...@wso2.com> wrote: >>>>> >>>>>> Hi Lahiru, >>>>>> >>>>>> This was updated but I failed to send in a response on the thread . >>>>>> Apologies. >>>>>> >>>>>> In the guide for the examples provided, the version is left as 4.0.0 >>>>>> (as we are merely giving a example to the user on a possible scenario). >>>>>> >>>>>> Thanks & Regards >>>>>> Shavindri Dissanayake >>>>>> Technical Writer >>>>>> LinkedIn Profile >>>>>> <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile> >>>>>> Mob: 0779966739 >>>>>> >>>>>> WSO2 Inc. >>>>>> lean.enterprise.middleware >>>>>> >>>>>> On Thu, May 14, 2015 at 7:01 PM, Lahiru Sandaruwan <lahi...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> Hi devs, >>>>>>> >>>>>>> We need to do $subject. >>>>>>> >>>>>>> We need to generalize the release guide [1], by removing version >>>>>>> 4.0.0 and replacing it with <version>. Also we need to remove >>>>>>> "incubating" >>>>>>> parts from it. >>>>>>> >>>>>>> [1] >>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> On Thu, May 14, 2015 at 6:40 PM, Reka Thirunavukkarasu < >>>>>>> r...@wso2.com> wrote: >>>>>>> >>>>>>>> Hi Devs, >>>>>>>> >>>>>>>> Please update the jiras as you progress with it. We need to update >>>>>>>> all of them before the GA. >>>>>>>> >>>>>>>> >>>>>>>> https://issues.apache.org/jira/browse/STRATOS-1401?jql=project%20%3D%20STRATOS%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20fixVersion%20%3D%20%224.1.0%20RC1%22 >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Reka >>>>>>>> >>>>>>>> On Thu, May 14, 2015 at 1:51 PM, Lahiru Sandaruwan < >>>>>>>> lahi...@wso2.com> wrote: >>>>>>>> >>>>>>>>> Hi Devs, >>>>>>>>> >>>>>>>>> We are working on the release process. Please help with utility >>>>>>>>> tasks as you get time. Find the release guide at [1]. >>>>>>>>> Specially we need help with Jira versions and licence files. >>>>>>>>> >>>>>>>>> Thanks. >>>>>>>>> >>>>>>>>> [1] >>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide >>>>>>>>> >>>>>>>>> On Tue, May 12, 2015 at 7:06 PM, Lahiru Sandaruwan < >>>>>>>>> lahi...@wso2.com> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, May 11, 2015 at 6:49 PM, Imesh Gunaratne < >>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>> >>>>>>>>>>> Hi Devs, >>>>>>>>>>> >>>>>>>>>>> IMO we are now in a good position to finalize 4.1.0 GA release. >>>>>>>>>>> Please use this mail thread to discuss the remaining issues and take >>>>>>>>>>> necessary steps to prepare the first release candidate. >>>>>>>>>>> >>>>>>>>>>> @Lahiru: Would you like to be the release manager for this >>>>>>>>>>> release? >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Yes. Will do. >>>>>>>>>> >>>>>>>>>> Thanks. >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [1] >>>>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>> >>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> -- >>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>> Senior Software Engineer, >>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>> lean.enterprise.middleware >>>>>>>>>> >>>>>>>>>> phone: +94773325954 >>>>>>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>>>>>>> linked-in: >>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> -- >>>>>>>>> Lahiru Sandaruwan >>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>> Senior Software Engineer, >>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>> lean.enterprise.middleware >>>>>>>>> >>>>>>>>> phone: +94773325954 >>>>>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Reka Thirunavukkarasu >>>>>>>> Senior Software Engineer, >>>>>>>> WSO2, Inc.:http://wso2.com, >>>>>>>> Mobile: +94776442007 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> Lahiru Sandaruwan >>>>>>> Committer and PMC member, Apache Stratos, >>>>>>> Senior Software Engineer, >>>>>>> WSO2 Inc., http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>>> phone: +94773325954 >>>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Lahiru Sandaruwan >>>>> Committer and PMC member, Apache Stratos, >>>>> Senior Software Engineer, >>>>> WSO2 Inc., http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> phone: +94773325954 >>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>> >>>>> >>>> >>>> >>>> -- >>>> -- >>>> Lahiru Sandaruwan >>>> Committer and PMC member, Apache Stratos, >>>> Senior Software Engineer, >>>> WSO2 Inc., http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> phone: +94773325954 >>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>> >>>> >>> >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Committer and PMC member, Apache Stratos, >>> Senior Software Engineer, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> phone: +94773325954 >>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> phone: +94773325954 >> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > -- > Lahiru Sandaruwan > Committer and PMC member, Apache Stratos, > Senior Software Engineer, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > phone: +94773325954 > email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146