Skip to content

Commit

Permalink
add release-nightly profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Sep 3, 2020
1 parent cf7dbc9 commit bce0c96
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 7 deletions.
6 changes: 6 additions & 0 deletions leshan-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ Contributors:
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
Expand Down
62 changes: 55 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ Contributors:
<jetty.version>9.4.26.v20200117</jetty.version>
</properties>

<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<profiles>
<profile>
<!-- This profile launch all redis integration tests -->
Expand Down Expand Up @@ -183,12 +176,67 @@ Contributors:
</plugins>
</build>
</profile>
<profile>
<!-- Release nightly/snapshot build on eclipse nexus -->
<id>release-nightly</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<pluginRepositories>
<pluginRepository>
<id>eclipse-repo</id>
<name>Eclipse Repository</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>https://repo.eclipse.org/content/repositories/releases/</url>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>Leshan Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/leshan-releases/</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>Leshan Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/leshan-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<executions>
<execution>
<id>sign-jars</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- this profile generate all the needed artifact and signatures needed, then release it on maven central -->
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit bce0c96

Please sign in to comment.