Hi,
I'm trying to modify my project so it uses the maven-release-plugin to do
the tagging of my source code for releases.

My folder structure is similar to the following:
parent-project
-pom.xml
-child-project
--pom.xml
--..
-child-project1
--pom.xml
--..

However my subversion repository is laid out with each child-project being
in the same folder as the parent project. E.g.

-parent-project
-child-project
-child-project

So I have each SCM URL set up differently in the child-project pom.xml.
Something like:
<scm>
        <connection>scm:svn:
http://192.168.40.1/svn/project/child-project/trunk</connection>
        <developerConnection>scm:svn:
http://192.168.40.1/svn/project/child-project/trunk</developerConnection>
        <url>http://192.168.40.1/project/child-project/trunk</url>
    </scm>

And also, within the child-project pom.xml I have the following
configuration for the release-plugin
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.0-beta-7</version>
                <configuration>
                    <tagBase>
http://192.168.40.1/svn/project/child-project/tags</tagBase>
                </configuration>
            </plugin>

However when I run the "mvn release:prepare" goal in the parent project it
tags the parent project but not the child projects. Is it possible to do
this? Or have I configured the setup incorrectly?

Many thanks,

Owen.





-- 
Owen Griffin

Reply via email to