[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2009-12-17 Thread Eric Miles (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Miles updated MRELEASE-261:


Attachment: maven-release-issue.tar.gz

Sample project that still has release issues in a flat structure

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
Assignee: Maria Odea Ching
 Fix For: 2.0-beta-10

 Attachments: flatProject.main.patch, flatProject.test.patch, 
 maven-release-issue.tar.gz, MRELEASE-261-with-its-v3.patch, 
 MRELEASE-261-with-its.patch, MRELEASE-261.patch, PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2009-05-23 Thread Maria Odea Ching (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Odea Ching updated MRELEASE-261:
--

Fix Version/s: 2.0-beta-10

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
Assignee: Maria Odea Ching
 Fix For: 2.0-beta-10

 Attachments: flatProject.main.patch, flatProject.test.patch, 
 MRELEASE-261-with-its-v3.patch, MRELEASE-261-with-its.patch, 
 MRELEASE-261.patch, PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2009-05-19 Thread Maria Odea Ching (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Odea Ching updated MRELEASE-261:
--

Attachment: MRELEASE-261-with-its-v3.patch

Attached patch with a couple of fixes for the tag url written in the pom and 
additional tests.

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: flatProject.main.patch, flatProject.test.patch, 
 MRELEASE-261-with-its-v3.patch, MRELEASE-261-with-its.patch, 
 MRELEASE-261.patch, PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2009-05-14 Thread Maria Odea Ching (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Odea Ching updated MRELEASE-261:
--

Attachment: MRELEASE-261-with-its.patch

Attaching revised patch with integration tests for a flat multi-module project 
and a regular multi-module project.

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: flatProject.main.patch, flatProject.test.patch, 
 MRELEASE-261-with-its.patch, MRELEASE-261.patch, PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2009-05-13 Thread Maria Odea Ching (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Odea Ching updated MRELEASE-261:
--

Attachment: MRELEASE-261.patch

Attaching MRELEASE-261.patch..

The base working directory and the base scm url is determined based on the root 
project's working dir and scm url, and the relative path of it's modules. 
Tested the fix with Continuum and the maven-release-plugin. 

I'm not very familiar with the source code of the Maven Release component so I 
would really appreciate it if someone could review the fix before I commit it 
to trunk. Thanks in advance..

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: flatProject.main.patch, flatProject.test.patch, 
 MRELEASE-261.patch, PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2008-12-22 Thread Moritz Rebbert (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Moritz Rebbert updated MRELEASE-261:


Attachment: flatProject.test.patch
flatProject.main.patch

We also using a flat hierarchy for some of our projects.

Based on the assumption of a common ancestor directory that has to be tagged, 
we started to make a patch.
It workes for us in a simple setup with a parent project in the same folder 
with some direct modules. Also it should not destroy the behavior in 
hierarchical layouts.

We do not set or change the workingDirectory variable but compute the common 
ancestor of all projects where we need it. So we technically devided the 
location where the pom of the root project resides from the directory which 
will be tagged(or my be branched).

All projects are tagged under a common directory and release:perform also do 
the job for us.

I've you are brave, you could give flatProject.main.patch a try.
We also tried to fix the tests in a reasonable way(flatProject.test.patch).

(We also assume that the layout of the working copy matches the layout in a 
single repository.)  

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: flatProject.main.patch, flatProject.test.patch, 
 PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2008-12-19 Thread Arnaud Heritier (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated MRELEASE-261:
-

Patch Submitted: [Yes]

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2008-12-18 Thread Arnaud Heritier (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnaud Heritier updated MRELEASE-261:
-

Component/s: prepare

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
  Components: prepare
 Environment: linux / maven2 / svn
Reporter: paul.whe...@gmail.com
 Attachments: PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MRELEASE-261) release:prepare shouls support flat directory multimodule projects

2008-04-05 Thread Adam Leggett (JIRA)

 [ 
http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Leggett updated MRELEASE-261:
--

Attachment: PrepareReleaseMojo.patch

Attaching a prospective workaround patch for this issue.

Patch adds a new configuration property 'tagWorkingDirectory' to Prepare mojo. 
Then in your relative parent pom you can configure like this:

plugin
   groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-release-plugin/artifactId
version2.0-beta-7-PATCHED/version
configuration
  
tagWorkingDirectory${basedir}/../tagWorkingDirectory
preparationGoals
clean verify -f ${artifactId}/pom.xml
/preparationGoals

connectionUrlscm:svn:svn://localhost/svn/relative-parent/tags/${artifactId}-${release.version}/connectionUrl
goalsclean deploy/goals
pomFileName${artifactId}/pom.xml/pomFileName
arguments-f ${artifactId}/pom.xml/arguments
/configuration
/plugin

The additional config is to ensure the parent pom gets found for the forked 
lifecycles in release:prepare and release:perform. In addition, due to the 
release manager now putting the release descriptor (release.properties) in 
$[basedir}/.. you need to specify the connectionUrl for release:perform. I 
guess you could write some script to move it or, as above, fill in the url 
apart from the release version e.g.

#hello-world/hello-world-parent mvn release:prepare release:perform 
-Drelease.version=1.7 --batch-mode

Hope this is useful.

Adam

 release:prepare shouls support flat directory multimodule projects
 --

 Key: MRELEASE-261
 URL: http://jira.codehaus.org/browse/MRELEASE-261
 Project: Maven 2.x Release Plugin
  Issue Type: Improvement
 Environment: linux / maven2 / svn
Reporter: [EMAIL PROTECTED]
 Attachments: PrepareReleaseMojo.patch


 What I mean by flat file structure firstly.
 parent/pom.xml
 module1/pom.xml
 module2/pom.xml
 .
 .
 .
 module15/pom.xml
 the parent references the modules like so
 modules
   module../module1/module
   module../module2/module
 .
 .
 .
   module../module15/module
 /modules
 When i  release:prepare only the parent project is tagged the modules 
 projects versions are incremented etc but the modules are not tagged in svn.
 I use this structure as i use eclipse as my IDE.
 I would love to see a fix for the issue marked as closed here 
 http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand 
 each submodule of the projects but it would be so nice to have the release 
 plugin do this for me.
 forgive my english.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira