Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add facility to deploy nightly build to eclipse nexus instance. #885

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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