-
Notifications
You must be signed in to change notification settings - Fork 193
Tycho Pomless
Patrick Ziegler edited this page Jan 31, 2022
·
18 revisions
- You can output the generated poms with the following option:
-Dpolyglot.dump.pom=pom.xml
just keep in mind that pom.xml takes precedence over pomless configuration, so maybe choose a different name if you only like to use this for debug purpose!
The group id of generated poms is inherited from the parent pom, while the artifact id is derived from the directory, in which the polygot file is located. Within a reactor build, this id pair has to be unique.
You can influence this behavior by creating a build.properties in the same directory as the polygot file you want to modify, with the following entries:
pom.model.groupId=my.group.id
pom.model.artifactId=my.custom.artifact.id
Use Case:
- A project with multiple features or plugins directories.
Example:
project
+- component A
| +- plugins
| | + plugin1
| | + ...
| | + build.properties
| |
| +- features
| + feature1
| + ...
| + build.properties
|
+- component B
| +- plugins
| | + ...
| | + build.properties
| |
| +- features
| + ...
| + build.properties
|
+- releng
+- products