You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Miles (JIRA)" <ji...@codehaus.org> on 2010/01/04 14:58:57 UTC
[jira] Issue Comment Edited: (MRELEASE-261) release:prepare should
support flat directory multi-module projects
[ http://jira.codehaus.org/browse/MRELEASE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205002#action_205002 ]
Eric Miles edited comment on MRELEASE-261 at 1/4/10 7:57 AM:
-------------------------------------------------------------
Dennis,
I know this isn't a working directory. This is the eclipse workspace folder that contains the three projects and is the parent directory to the parent pom project. Here is my directory structure:
{noformat}
release-workspace\
|
|--release-parent
| |+pom.xml (modules: ../release-module1, ../release-module2)
|
|--release-module1
| |+pom.xml (parent: ../release-parent)
|
|--release-module2
|+pom.xml (parent: ../release-parent)
{noformat}
I am issuing the release:prepare from the release-parent directory, so there should be no reason I receive this error.
I have asked a coworker on a Windows box to pull down the sample project attachment, he had no problems opening it with 7zip. In any case, I'm attaching another sample project archived in a zip format. Please see http://jira.codehaus.org/secure/attachment/46726/maven-release-issue.zip
.
was (Author: bigehokie):
Dennis,
I know this isn't a working directory. This is the eclipse workspace folder that contains the three projects and is the parent directory to the parent pom project. Here is my directory structure:
{noformat}
release-workspace\
|
|--release-parent
| |+pom.xml (modules: ../release-module1, ../release-module2)
|
|--release-module1
| |+pom.xml (parent: ../release-parent)
|
|--release-module2
|+pom.xml (parent: ../release-parent)
{noformat}
I am issuing the release:prepare from the release-parent directory, so there should be no reason I receive this error.
I have asked a coworker on a Windows box to pull down the sample project attachment, he had no problems opening it with 7zip. In any case, I'm attaching another sample project archived in a zip format.
> release:prepare should support flat directory multi-module 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.whelan@gmail.com
> Assignee: Maria Odea Ching
> Fix For: 2.0
>
> Attachments: flatProject.main.patch, flatProject.test.patch, maven-release-issue.tar.gz, maven-release-issue.zip, MRELEASE-261-sample-project.zip, 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