kopia lustrzana https://github.com/onthegomap/planetiler
Fix build (#344)
rodzic
a90646dff3
commit
e74faec4a6
|
@ -1,6 +1,7 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
target/
|
target/
|
||||||
|
.flattened-pom.xml
|
||||||
*.jar
|
*.jar
|
||||||
!.mvn/wrapper/*.jar
|
!.mvn/wrapper/*.jar
|
||||||
*.log
|
*.log
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 64d8e0bf8307ea348e0926dac786956646250a09
|
Subproject commit b3347b808326a666229287aa3ef735d4c1cc4ba9
|
33
pom.xml
33
pom.xml
|
@ -390,5 +390,38 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</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>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
./mvnw -B -ntp install jib:dockerBuild
|
./mvnw -B -ntp install jib:dockerBuild -Pflatten
|
||||||
|
|
|
@ -14,4 +14,4 @@ fi
|
||||||
-Djib.to.auth.password="${GITHUB_TOKEN}" \
|
-Djib.to.auth.password="${GITHUB_TOKEN}" \
|
||||||
package jib:build --file pom.xml
|
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
|
||||||
|
|
Ładowanie…
Reference in New Issue