Use property to skip deploy to eliminate warnings, update lombok

This commit is contained in:
md_5 2017-06-21 19:45:03 +10:00
parent 73a81ff243
commit 6958943123
4 changed files with 7 additions and 29 deletions

View File

@ -19,6 +19,7 @@
<description>Java 1.6 loader for BungeeCord</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
@ -42,14 +43,6 @@
<build>
<finalName>BungeeCord</finalName>
<plugins>
<plugin>
<!-- Don't deploy proxy to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>

View File

@ -29,6 +29,7 @@
<properties>
<module.author>SpigotMC</module.author>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
@ -48,15 +49,5 @@
<directory>${basedir}/src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<!-- Don't deploy modules to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -94,7 +94,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.12</version>
<version>1.16.16</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -18,6 +18,10 @@
<name>BungeeCord-Proxy</name>
<description>Proxy component of the Elastic Portal Suite</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.flowpowered</groupId>
@ -89,15 +93,5 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<!-- Don't deploy proxy to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>