mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-13 21:01:01 +08:00
added flatten plugin to remove parent from generated pom.xml in bom (#2943)
* added flatten plugin to remove parent from generated pom.xml in bom * removed dependencies section * added flattened bom to .gitignore * removed properties from flattened-pom * added missing dependencies to bom
This commit is contained in:
parent
42b31a77b8
commit
59dfd60157
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ derby.log
|
||||
/devops/*.rpm.zip
|
||||
/devops/**/*.semaphore
|
||||
/devops/test-connection/.lein-repl-history
|
||||
**/.flattened-pom.xml
|
||||
|
||||
@ -16,6 +16,10 @@
|
||||
<url>${project.homepage}</url>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -48,6 +52,11 @@
|
||||
<artifactId>querydsl-collections</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>querydsl-guava</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>querydsl-sql</artifactId>
|
||||
@ -83,6 +92,11 @@
|
||||
<artifactId>querydsl-jdo</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>querydsl-kotlin-codegen</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>querydsl-lucene3</artifactId>
|
||||
@ -120,4 +134,39 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>${flatten-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>flatten</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>flatten</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>bom</flattenMode>
|
||||
<pomElements>
|
||||
<properties>remove</properties>
|
||||
<repositories>remove</repositories>
|
||||
<dependencies>remove</dependencies>
|
||||
</pomElements>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>flatten-clean</id>
|
||||
<phase>clean</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user