Skip to content

Commit

Permalink
fix(workflow): Fix deploy stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelsJP committed Aug 31, 2023
1 parent 2c68be3 commit 83ad9d4
Showing 1 changed file with 41 additions and 14 deletions.
55 changes: 41 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,52 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>publish</goal>
</goals>
<configuration>
<artifactory>
<includeEnvVars>true</includeEnvVars>
<envVarsExcludePatterns>*password*,*secret*,*key*,*token*,*passphrase*</envVarsExcludePatterns>
<timeoutSec>60</timeoutSec>
</artifactory>
<publisher>
<contextUrl>https://repo.heigit.org/artifactory</contextUrl>
<username>${env.RT_USERNAME}</username>
<password>${env.RT_PASSWORD}</password>
<excludePatterns>*-tests.jar</excludePatterns>
<repoKey>libs-release-local</repoKey>
<snapshotRepoKey>libs-snapshot-local</snapshotRepoKey>
</publisher>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<distributionManagement>
<downloadUrl>https://repo.heigit.org/artifactory/</downloadUrl>
<repository>
<id>releases</id>
<name>HeiGIT repository</name>
<uniqueVersion>false</uniqueVersion>
<url>https://repo.heigit.org/artifactory/libs-release-local</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<id>snapshots</id>
<name>HeiGIT repository (snapshots)</name>
<uniqueVersion>true</uniqueVersion>
<url>https://repo.heigit.org/artifactory/libs-snapshot-local</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>

Expand All @@ -242,18 +281,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down

0 comments on commit 83ad9d4

Please sign in to comment.