Skip to content

Commit

Permalink
Merge pull request #792 from seadowg/fix-version
Browse files Browse the repository at this point in the history
Deploy/install flattened pom instead of one with variables
  • Loading branch information
lognaturel committed Aug 16, 2024
2 parents 19abad5 + 5a1991a commit 8a22ede
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
build:
working_directory: ~/work
docker:
- image: circleci/openjdk:8-jdk
- image: cimg/openjdk:17.0.11
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
package:
working_directory: ~/work
docker:
- image: circleci/openjdk:latest
- image: cimg/openjdk:17.0.11
steps:
- checkout
- restore_cache:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ logback-test.xml

# Android api level checker
android-api-level-checker/app/src/main/java/*

# flatten-maven-plugin
.flattened-pom.xml
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.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>
</project>

0 comments on commit 8a22ede

Please sign in to comment.