More fiddling around with Sonatype....
This commit is contained in:
parent
9771bd1077
commit
b8a7dcaddb
88
api/pom.xml
88
api/pom.xml
|
@ -1,88 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<project
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib</artifactId>
|
|
||||||
<version>1.5-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>npclib-api</artifactId>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-commons</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_8_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_8_R2</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_8_R3</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_9_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_9_R2</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_10_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_11_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_12_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_13_R1</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib-nms-v1_13_R2</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<defaultGoal>clean install</defaultGoal>
|
|
||||||
<finalName>npclib-api-${project.version}</finalName>
|
|
||||||
</build>
|
|
||||||
</project>
|
|
36
nms/pom.xml
36
nms/pom.xml
|
@ -1,36 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<project
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
<parent>
|
|
||||||
<groupId>net.jitse</groupId>
|
|
||||||
<artifactId>npclib</artifactId>
|
|
||||||
<version>1.5-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>npclib-nms</artifactId>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module>v1_8_R1</module>
|
|
||||||
<module>v1_8_R2</module>
|
|
||||||
<module>v1_8_R3</module>
|
|
||||||
<module>v1_9_R1</module>
|
|
||||||
<module>v1_9_R2</module>
|
|
||||||
<module>v1_10_R1</module>
|
|
||||||
<module>v1_11_R1</module>
|
|
||||||
<module>v1_12_R1</module>
|
|
||||||
<module>v1_13_R1</module>
|
|
||||||
<module>v1_13_R2</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>${project.parent.groupId}</groupId>
|
|
||||||
<artifactId>npclib-commons</artifactId>
|
|
||||||
<version>${project.parent.version}</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</project>
|
|
|
@ -13,8 +13,6 @@
|
||||||
<artifactId>npclib-plugin</artifactId>
|
<artifactId>npclib-plugin</artifactId>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<directory>../target</directory>
|
|
||||||
<finalName>npclib-plugin-${project.parent.version}</finalName>
|
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<targetPath>.</targetPath>
|
<targetPath>.</targetPath>
|
||||||
|
|
111
pom.xml
111
pom.xml
|
@ -10,15 +10,10 @@
|
||||||
<artifactId>npclib</artifactId>
|
<artifactId>npclib</artifactId>
|
||||||
<version>1.5-SNAPSHOT</version>
|
<version>1.5-SNAPSHOT</version>
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.sonatype.oss</groupId>
|
|
||||||
<artifactId>oss-parent</artifactId>
|
|
||||||
<version>7</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<url>https://github.com/sonatype/nexus-oss.git</url>
|
<url>git@github.com:JitseB/NPCLib.git</url>
|
||||||
<connection>scm:git:git://github.com/JitseB/NPClib</connection>
|
<connection>scm:git:git@github.com:JitseB/NPClib.git</connection>
|
||||||
|
<developerConnection>scm:git:git@github.com:JitseB/NPCLib.git</developerConnection>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
|
@ -37,16 +32,13 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<!-- Repository for snapshots -->
|
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>sonatype-nexus-snapshots</id>
|
<id>ossrh</id>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
<!-- Repository for releases -->
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>nexus-releases</id>
|
<id>ossrh</id>
|
||||||
<name>Nexus Release Repository</name>
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||||
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
@ -87,61 +79,6 @@
|
||||||
<target>1.8</target>
|
<target>1.8</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
|
||||||
<version>3.1.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>shade</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>2.3.2</version>
|
|
||||||
<configuration>
|
|
||||||
<source>${java.version}</source>
|
|
||||||
<target>${java.version}</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
|
||||||
<version>2.1.2</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-sources</id>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<quiet>true</quiet>
|
|
||||||
<nonavbar>true</nonavbar>
|
|
||||||
<notree>true</notree>
|
|
||||||
<nocomment>true</nocomment>
|
|
||||||
<nohelp>true</nohelp>
|
|
||||||
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-javadocs</id>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
@ -155,24 +92,32 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonatype.plugins</groupId>
|
||||||
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||||
|
<version>1.6.7</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<serverId>ossrh</serverId>
|
||||||
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||||
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>commons</module>
|
<module>commons</module>
|
||||||
<module>nms</module>
|
<module>nms/v1_8_R1</module>
|
||||||
<module>api</module>
|
<module>nms/v1_8_R2</module>
|
||||||
|
<module>nms/v1_8_R3</module>
|
||||||
|
<module>nms/v1_9_R1</module>
|
||||||
|
<module>nms/v1_9_R2</module>
|
||||||
|
<module>nms/v1_10_R1</module>
|
||||||
|
<module>nms/v1_11_R1</module>
|
||||||
|
<module>nms/v1_12_R1</module>
|
||||||
|
<module>nms/v1_13_R1</module>
|
||||||
|
<module>nms/v1_13_R2</module>
|
||||||
|
<module>plugin</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>plugin</id>
|
|
||||||
<modules>
|
|
||||||
<module>commons</module>
|
|
||||||
<module>nms</module>
|
|
||||||
<module>api</module>
|
|
||||||
<module>plugin</module>
|
|
||||||
</modules>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
</project>
|
</project>
|
|
@ -0,0 +1,9 @@
|
||||||
|
#release configuration
|
||||||
|
#Mon Jun 03 22:24:55 CEST 2019
|
||||||
|
preparationGoals=clean verify
|
||||||
|
pushChanges=true
|
||||||
|
scm.commentPrefix=[maven-release-plugin]
|
||||||
|
remoteTagging=true
|
||||||
|
exec.additionalArguments=-Psonatype-oss-release
|
||||||
|
completedPhase=scm-check-modifications
|
||||||
|
scm.url=scm\:git\:git@github.com\:JitseB/NPCLib.git
|
Loading…
Reference in New Issue