I'm working on a project, which originally was set up by a different author. Each module has its own directory. Also the main pom (my-project-pom
), which includes the modules, is stored in a separate sub-directory. We're using subversion:
+-- branches
+-- tags
'-- trunk
+-- my-project-pom
+-- my-project-web
+-- my-project-ear
'-- README
Now I'm trying to setup the maven release plugin with following goals:
- Everything is included in the commit from maven release, also changes in the root README file
- SVN tags are automatically created in the proper repository directory
tags\<version>
So my questions are:
- Is this possible at all, although the main pom is not in the root directory?
- How should I configure the
<connection>
and<developerConnection>
URLs inmy-project-pom
to achieve this? Do I have to point directly to the trunk or totrunk\my-project-pom
or something different - Is there any other configuration required besides the
<scm>
configuration above and the definition of the plugin dependency - e.g. thetagBase
setting? - In which directory do I have to execute the
mvn release
commands?