Hi,
after migrating our old ant build system to maven our first non-SNAPSHOT
release is planned. But I have difficulties to get it work with the
release plugin.
SVN layout is this:
branches/
tags/
trunk/
|-- pom.xml
|-- parent/
| `-- pom.xml
|-- module1/
| `-- pom.xml
|-- ..
`-- modulen/
`-- pom.xml
The pom-parent of trunk/pom.xml is trunk/parent/pom.xml.
For parent and module1-modulen the scm-URLs are defined in the pom.xml
of parent like this:
<scm>
<connection>scm:svn:file:///svn/trunk/${project.artifactId}</connection>
<developerConnection>scm:svn:file:///svn/trunk/${project.artifactId}</developerConnection>
</scm>
in trunk/pom.xml like this:
<scm>
<connection>scm:svn:file:///svn/trunk</connection>
<developerConnection>scm:svn:file:///svn/trunk</developerConnection>
</scm>
No with that the generated sites for all modules will link to the
correct SVN-URL. But after a
"mvn release:prepare"
the repository layout is wrong
branches/
tags/
`-- release-1.0
|-- branches
|-- tags
`-- trunk
trunk/
The release plugin did not copied the content of the trunk folder to
tags/release-1.0 but the content of the parent-folder.
So how do I have to configure the scm/release plugins to get this done
correctly?
Regards,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]