Fix for #1295 - flatten BOM Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
diff --git a/bom/pom.xml b/bom/pom.xml index 573c2b6..9603ec8 100644 --- a/bom/pom.xml +++ b/bom/pom.xml
@@ -152,31 +152,30 @@ <artifactId>aopalliance-repackaged</artifactId> <version>${project.version}</version> </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm</artifactId> - <version>${asm.version}</version> - </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-analysis</artifactId> - <version>${asm.version}</version> - </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-commons</artifactId> - <version>${asm.version}</version> - </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-tree</artifactId> - <version>${asm.version}</version> - </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-util</artifactId> - <version>${asm.version}</version> - </dependency> </dependencies> </dependencyManagement> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>1.8.0</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>bom</flattenMode> + <flattenedPomFilename>${project.build.directory}/flattened-pom.xml</flattenedPomFilename> + </configuration> + <executions> + <execution> + <id>flatten</id> + <phase>process-resources</phase> + <goals> + <goal>flatten</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project>