danielflower / multi-module-maven-release-plugin

A maven release plugin that is fast, does not add extra commits, and works well with single or multiple modules
http://danielflower.github.io/multi-module-maven-release-plugin/index.html
MIT License
125 stars 64 forks source link

Plugin forces unique artifact ids #50

Open douglassparker opened 7 years ago

douglassparker commented 7 years ago

This is a better statement of issue #49. I suggest closing that issue as a duplicate of this. The plugin generates tags in the form artifactId-version. This forces artifact Ids to be unique. Consider the following perfectly legal project structure: -com.foo:parent --com.foo:domain1 ---com.foo.domain1:service ---com.foo.domain1:model ---com.foo.domain1:client --com.foo:domain2 ---com.foo.domain2:service ---com.foo.domain2:model ---com.foo.domain2:client

The release task fails because it attempts to generate duplicate tags. Consider using groupId-artifactId-version as the tag format. Or at least provide that as an option.