Skip to content

Commit 8e97eae

Browse files
committed
Added Njord Maven Plugin.
Signed-off-by: Simone Bordet <[email protected]>
1 parent 35fa62a commit 8e97eae

File tree

1 file changed

+33
-37
lines changed

1 file changed

+33
-37
lines changed

pom.xml

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,21 @@
4444

4545
<distributionManagement>
4646
<repository>
47-
<id>oss.sonatype.org</id>
48-
<name>OSS Maven2 Repository</name>
49-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
47+
<id>sonatype-cp</id>
48+
<name>Central Portal</name>
49+
<url>https://repo.maven.apache.org/maven2</url>
5050
</repository>
5151
<snapshotRepository>
52-
<id>oss.sonatype.org</id>
53-
<name>OSS Maven2 Snapshot Repository</name>
54-
<url>https://oss.sonatype.org/content/repositories/jetty-snapshots</url>
52+
<id>sonatype-cp</id>
53+
<name>Central Portal</name>
54+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
5555
</snapshotRepository>
5656
</distributionManagement>
5757

5858
<properties>
5959
<jetty-version>10.0.25</jetty-version>
60+
<njord.autoPublish>true</njord.autoPublish>
61+
<njord.version>0.8.3</njord.version>
6062
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6163
<reactivestreams-version>1.0.4</reactivestreams-version>
6264
<rxjava-version>3.1.11</rxjava-version>
@@ -80,6 +82,7 @@
8082
<artifactId>slf4j-api</artifactId>
8183
<version>${slf4j-version}</version>
8284
</dependency>
85+
8386
<dependency>
8487
<groupId>io.reactivex.rxjava3</groupId>
8588
<artifactId>rxjava</artifactId>
@@ -128,7 +131,6 @@
128131
<version>5.13.4</version>
129132
<scope>test</scope>
130133
</dependency>
131-
132134
<dependency>
133135
<groupId>org.reactivestreams</groupId>
134136
<artifactId>reactive-streams-tck</artifactId>
@@ -143,33 +145,7 @@
143145
</dependency>
144146
</dependencies>
145147

146-
<repositories>
147-
<repository>
148-
<releases>
149-
<enabled>true</enabled>
150-
</releases>
151-
<snapshots>
152-
<enabled>false</enabled>
153-
</snapshots>
154-
<id>jetty-staging</id>
155-
<url>https://oss.sonatype.org/content/groups/jetty-with-staging</url>
156-
</repository>
157-
</repositories>
158-
<pluginRepositories>
159-
<pluginRepository>
160-
<releases>
161-
<enabled>true</enabled>
162-
</releases>
163-
<snapshots>
164-
<enabled>false</enabled>
165-
</snapshots>
166-
<id>jetty-staging</id>
167-
<url>https://oss.sonatype.org/content/groups/jetty-with-staging</url>
168-
</pluginRepository>
169-
</pluginRepositories>
170-
171148
<build>
172-
173149
<pluginManagement>
174150
<plugins>
175151
<plugin>
@@ -182,6 +158,11 @@
182158
<artifactId>license-maven-plugin</artifactId>
183159
<version>5.0.0</version>
184160
</plugin>
161+
<plugin>
162+
<groupId>eu.maveniverse.maven.plugins</groupId>
163+
<artifactId>njord</artifactId>
164+
<version>${njord.version}</version>
165+
</plugin>
185166
<plugin>
186167
<groupId>org.apache.felix</groupId>
187168
<artifactId>maven-bundle-plugin</artifactId>
@@ -269,6 +250,9 @@
269250
<plugin>
270251
<artifactId>maven-surefire-plugin</artifactId>
271252
<version>3.5.3</version>
253+
<configuration>
254+
<excludedGroups>external</excludedGroups>
255+
</configuration>
272256
</plugin>
273257
<plugin>
274258
<groupId>org.jacoco</groupId>
@@ -277,6 +261,7 @@
277261
</plugin>
278262
</plugins>
279263
</pluginManagement>
264+
280265
<plugins>
281266
<plugin>
282267
<groupId>com.diffplug.spotless</groupId>
@@ -316,7 +301,14 @@
316301
<groupId>com.mycila</groupId>
317302
<artifactId>license-maven-plugin</artifactId>
318303
<configuration>
319-
<header>copyright-header.txt</header>
304+
<licenseSets>
305+
<licenseSet>
306+
<header>copyright-header.txt</header>
307+
<includes>
308+
<include>**/*.java</include>
309+
</includes>
310+
</licenseSet>
311+
</licenseSets>
320312
<failIfMissing>true</failIfMissing>
321313
<strictCheck>true</strictCheck>
322314
<properties>
@@ -325,9 +317,6 @@
325317
<mapping>
326318
<java>SLASHSTAR_STYLE</java>
327319
</mapping>
328-
<includes>
329-
<include>**/*.java</include>
330-
</includes>
331320
</configuration>
332321
<executions>
333322
<execution>
@@ -391,6 +380,13 @@
391380
</executions>
392381
</plugin>
393382
</plugins>
383+
<extensions>
384+
<extension>
385+
<groupId>eu.maveniverse.maven.njord</groupId>
386+
<artifactId>extension3</artifactId>
387+
<version>${njord.version}</version>
388+
</extension>
389+
</extensions>
394390
</build>
395391

396392
<profiles>

0 commit comments

Comments
 (0)