@@ -114,13 +114,6 @@ Contributors:
114114 <jetty .version>9.4.26.v20200117</jetty .version>
115115 </properties >
116116
117- <distributionManagement >
118- <repository >
119- <id >ossrh</id >
120- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
121- </repository >
122- </distributionManagement >
123-
124117 <profiles >
125118 <profile >
126119 <!-- This profile launch all redis integration tests -->
@@ -183,12 +176,67 @@ Contributors:
183176 </plugins >
184177 </build >
185178 </profile >
179+ <profile >
180+ <!-- Release nightly/snapshot build on eclipse nexus -->
181+ <id >release-nightly</id >
182+ <activation >
183+ <activeByDefault >false</activeByDefault >
184+ </activation >
185+ <pluginRepositories >
186+ <pluginRepository >
187+ <id >eclipse-repo</id >
188+ <name >Eclipse Repository</name >
189+ <releases >
190+ <enabled >true</enabled >
191+ </releases >
192+ <snapshots >
193+ <enabled >false</enabled >
194+ </snapshots >
195+ <url >https://repo.eclipse.org/content/repositories/releases/</url >
196+ </pluginRepository >
197+ </pluginRepositories >
198+ <distributionManagement >
199+ <repository >
200+ <id >repo.eclipse.org</id >
201+ <name >Leshan Repository - Releases</name >
202+ <url >https://repo.eclipse.org/content/repositories/leshan-releases/</url >
203+ </repository >
204+ <snapshotRepository >
205+ <id >repo.eclipse.org</id >
206+ <name >Leshan Repository - Snapshots</name >
207+ <url >https://repo.eclipse.org/content/repositories/leshan-snapshots/</url >
208+ </snapshotRepository >
209+ </distributionManagement >
210+ <build >
211+ <plugins >
212+ <plugin >
213+ <groupId >org.eclipse.cbi.maven.plugins</groupId >
214+ <artifactId >eclipse-jarsigner-plugin</artifactId >
215+ <executions >
216+ <execution >
217+ <id >sign-jars</id >
218+ <phase >verify</phase >
219+ <goals >
220+ <goal >sign</goal >
221+ </goals >
222+ </execution >
223+ </executions >
224+ </plugin >
225+ </plugins >
226+ </build >
227+ </profile >
186228 <profile >
187229 <!-- this profile generate all the needed artifact and signatures needed, then release it on maven central -->
188230 <id >release</id >
189231 <activation >
190232 <activeByDefault >false</activeByDefault >
191233 </activation >
234+ <distributionManagement >
235+ <repository >
236+ <id >ossrh</id >
237+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
238+ </repository >
239+ </distributionManagement >
192240 <build >
193241 <plugins >
194242 <plugin >
0 commit comments