This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Artifact id of pomless aggregators should be configurable. #596
Milestone
You can continue the conversation there. Go to discussion →
A normal Eclipse project usually has the form:
When performing a pomless build of those bundles, Tycho creates polygot files in the plugins and features directories, with the group id inherited from the parent pom and the artifact id derived from the folder name.
Due to the size of our application, we have deviated from this structure by splitting features and plugins into separate, loosely related components. So our workspace looks something like this:
In a pomless build, this will result in the aggregator poms of both components to share the same artifact id, making it impossible to build the project, unless the group id is overwritten for each component.
I think it would be great to have more control over how the artifact id is generated. My idea is something like a system property (e.g. "tycho.pomless.aggregator.depth"), which derives a name from the current directory, as well as their parent directories. The default depth should be 0, in order to replicate the current behavior.
Example id for different depths:
depth = 0 -> features
depth = 1 -> component1-features
depth = 2 -> project-component1-features
The text was updated successfully, but these errors were encountered: