pull/345/head
Michael Barry 2022-09-22 21:43:33 -04:00 zatwierdzone przez GitHub
rodzic a90646dff3
commit e74faec4a6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 37 dodań i 3 usunięć

1
.gitignore vendored
Wyświetl plik

@ -1,6 +1,7 @@
.DS_Store
target/
.flattened-pom.xml
*.jar
!.mvn/wrapper/*.jar
*.log

@ -1 +1 @@
Subproject commit 64d8e0bf8307ea348e0926dac786956646250a09
Subproject commit b3347b808326a666229287aa3ef735d4c1cc4ba9

33
pom.xml
Wyświetl plik

@ -390,5 +390,38 @@
</plugins>
</build>
</profile>
<profile>
<id>flatten</id>
<build>
<plugins>
<!-- flatten anywhere we do <version>${revision}</version>, see https://maven.apache.org/maven-ci-friendly.html -->
<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>
</profile>
</profiles>
</project>

Wyświetl plik

@ -2,4 +2,4 @@
set -eu
./mvnw -B -ntp install jib:dockerBuild
./mvnw -B -ntp install jib:dockerBuild -Pflatten

Wyświetl plik

@ -14,4 +14,4 @@ fi
-Djib.to.auth.password="${GITHUB_TOKEN}" \
package jib:build --file pom.xml
./mvnw -B -Dgpg.passphrase="${OSSRH_GPG_SECRET_KEY_PASSWORD}" -DskipTests -Prelease deploy
./mvnw -B -Dgpg.passphrase="${OSSRH_GPG_SECRET_KEY_PASSWORD}" -DskipTests -Prelease -Pflatten deploy