Skip to content

Commit

Permalink
Support POM flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
yetamine committed Oct 16, 2019
1 parent a6c0e55 commit cbbd210
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<groupId>net.yetamine</groupId>
<artifactId>net.yetamine.osgi.jdbc</artifactId>
<version>${revision}</version>
<version>1.1.3</version>
<packaging>bundle</packaging>

<name>net.yetamine.osgi.jdbc</name>
Expand Down Expand Up @@ -153,6 +153,36 @@
<version>3.0.0</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>

<configuration>
<flattenMode>oss</flattenMode>
<updatePomFile>true</updatePomFile>
<flattenedPomFilename>pom.xml</flattenedPomFilename>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>

<executions>
<execution>
<id>flatten-process</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit cbbd210

Please sign in to comment.