Skip to content

Commit

Permalink
Merge pull request #3908 from h1alexbel/3406
Browse files Browse the repository at this point in the history
feat(#3406): flatten-maven-plugin
  • Loading branch information
yegor256 authored Feb 11, 2025
2 parents 2333346 + fe27047 commit 608145d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ release:
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
mvn flatten:flatten
mvn versions:set "-DnewVersion=${tag}" -Dstyle.color=never
git commit -am "${tag}"
mvn clean install -DskipTests -Dinvoker.skip
Expand Down
2 changes: 1 addition & 1 deletion .xcop
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--exclude=paper/**.xml
--exclude=paper/**.xml,**/.flattened-pom.xml
1 change: 1 addition & 0 deletions eo-maven-plugin/.xcop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--exclude=**/.flattened-pom.xml
1 change: 1 addition & 0 deletions eo-parser/.xcop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--exclude=**/.flattened-pom.xml
1 change: 1 addition & 0 deletions eo-runtime/.xcop
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--exclude=**/.flattened-pom.xml
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,18 @@ SOFTWARE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 608145d

Please sign in to comment.