Skip to content

Commit

Permalink
add flatten
Browse files Browse the repository at this point in the history
  • Loading branch information
ulleo committed Aug 23, 2023
1 parent c724eb2 commit 5efe8c0
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ pnpm-debug.log*
.lh


### Spring flatten ###
.flattened-pom.xml

package-lock.json
3 changes: 3 additions & 0 deletions core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ pnpm-debug.log*
.lh


### Spring flatten ###
.flattened-pom.xml

package-lock.json
2 changes: 2 additions & 0 deletions extensions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,7 @@ pnpm-debug.log*
.settings/
.lh

### Spring flatten ###
.flattened-pom.xml

package-lock.json
1 change: 0 additions & 1 deletion extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.dataease</groupId>
<artifactId>dataease-extensions</artifactId>
<version>${dataease.version}</version>
<packaging>pom</packaging>
Expand Down
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,36 @@
<relativePath/>
</parent>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</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>
</plugins>

</build>



Expand Down
3 changes: 3 additions & 0 deletions sdk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@ pnpm-debug.log*
.lh
.factorypath

### Spring flatten ###
.flattened-pom.xml

package-lock.json
*.versionsBackup
1 change: 0 additions & 1 deletion sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.dataease</groupId>
<artifactId>dataease-extension-sdk</artifactId>
<packaging>pom</packaging>
<version>${dataease.version}</version>
Expand Down

0 comments on commit 5efe8c0

Please sign in to comment.