Commit b26ba48a authored by Benjamin Beeker's avatar Benjamin Beeker

better deployment

parent b4e9f299
Pipeline #11054025 passed with stages
in 2 minutes and 5 seconds
......@@ -62,7 +62,9 @@ build-and-deploy:
expire_in: 12 weeks
paths:
- "target/*.jar"
- "target/*.asc"
- "target/*.jar.asc"
- "target/*.pom"
- "target/*.pom.asc"
pages:
image: maven:alpine
......
......@@ -153,6 +153,33 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment