Skip to content

Commit e491ccd

Browse files
committed
Switch away from the sonatype oss parent
1 parent 0d5356d commit e491ccd

File tree

1 file changed

+79
-11
lines changed

1 file changed

+79
-11
lines changed

pom.xml

Lines changed: 79 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33

4-
<parent>
5-
<artifactId>oss-parent</artifactId>
6-
<groupId>org.sonatype.oss</groupId>
7-
<version>7</version>
8-
</parent>
94
<modelVersion>4.0.0</modelVersion>
105
<groupId>com.github.jsonld-java</groupId>
116
<artifactId>jsonld-java-parent</artifactId>
@@ -50,7 +45,7 @@
5045
<slf4j.version>1.7.9</slf4j.version>
5146
</properties>
5247
<prerequisites>
53-
<maven>2.2.1</maven>
48+
<maven>3.0.0</maven>
5449
</prerequisites>
5550
<dependencyManagement>
5651
<dependencies>
@@ -69,11 +64,6 @@
6964
<artifactId>jackson-annotations</artifactId>
7065
<version>${jackson.version}</version>
7166
</dependency>
72-
<dependency>
73-
<groupId>org.apache.clerezza</groupId>
74-
<artifactId>rdf.core</artifactId>
75-
<version>${clerezza.version}</version>
76-
</dependency>
7767
<dependency>
7868
<groupId>junit</groupId>
7969
<artifactId>junit</artifactId>
@@ -262,5 +252,83 @@
262252
</plugins>
263253
</pluginManagement>
264254
</build>
255+
256+
<repositories>
257+
<repository>
258+
<id>sonatype-nexus-snapshots</id>
259+
<name>Sonatype Nexus Snapshots</name>
260+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
261+
<releases>
262+
<enabled>false</enabled>
263+
</releases>
264+
<snapshots>
265+
<enabled>true</enabled>
266+
</snapshots>
267+
</repository>
268+
</repositories>
269+
270+
271+
<distributionManagement>
272+
<snapshotRepository>
273+
<id>sonatype-nexus-snapshots</id>
274+
<name>Sonatype Nexus Snapshots</name>
275+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
276+
</snapshotRepository>
277+
<repository>
278+
<id>sonatype-nexus-staging</id>
279+
<name>Nexus Release Repository</name>
280+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
281+
</repository>
282+
</distributionManagement>
283+
284+
<profiles>
285+
<profile>
286+
<id>sonatype-oss-release</id>
287+
<build>
288+
<plugins>
289+
<plugin>
290+
<groupId>org.apache.maven.plugins</groupId>
291+
<artifactId>maven-source-plugin</artifactId>
292+
<version>2.1.2</version>
293+
<executions>
294+
<execution>
295+
<id>attach-sources</id>
296+
<goals>
297+
<goal>jar-no-fork</goal>
298+
</goals>
299+
</execution>
300+
</executions>
301+
</plugin>
302+
<plugin>
303+
<groupId>org.apache.maven.plugins</groupId>
304+
<artifactId>maven-javadoc-plugin</artifactId>
305+
<version>2.7</version>
306+
<executions>
307+
<execution>
308+
<id>attach-javadocs</id>
309+
<goals>
310+
<goal>jar</goal>
311+
</goals>
312+
</execution>
313+
</executions>
314+
</plugin>
315+
<plugin>
316+
<groupId>org.apache.maven.plugins</groupId>
317+
<artifactId>maven-gpg-plugin</artifactId>
318+
<version>1.1</version>
319+
<executions>
320+
<execution>
321+
<id>sign-artifacts</id>
322+
<phase>verify</phase>
323+
<goals>
324+
<goal>sign</goal>
325+
</goals>
326+
</execution>
327+
</executions>
328+
</plugin>
329+
</plugins>
330+
</build>
331+
</profile>
332+
</profiles>
265333
</project>
266334

0 commit comments

Comments
 (0)