add flatten

This commit is contained in:
ulleo 2023-08-23 17:52:39 +08:00
parent c724eb2cab
commit 5efe8c0d55
7 changed files with 41 additions and 2 deletions

3
.gitignore vendored
View File

@ -55,4 +55,7 @@ pnpm-debug.log*
.lh
### Spring flatten ###
.flattened-pom.xml
package-lock.json

3
core/.gitignore vendored
View File

@ -55,4 +55,7 @@ pnpm-debug.log*
.lh
### Spring flatten ###
.flattened-pom.xml
package-lock.json

View File

@ -54,5 +54,7 @@ pnpm-debug.log*
.settings/
.lh
### Spring flatten ###
.flattened-pom.xml
package-lock.json

View File

@ -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>

30
pom.xml
View File

@ -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>

3
sdk/.gitignore vendored
View File

@ -54,5 +54,8 @@ pnpm-debug.log*
.lh
.factorypath
### Spring flatten ###
.flattened-pom.xml
package-lock.json
*.versionsBackup

View File

@ -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>