Skip to content

Instantly share code, notes, and snippets.

@hex128
Last active August 28, 2016 18:49
Show Gist options
  • Save hex128/78e65a71cb5663024a569a20d72358eb to your computer and use it in GitHub Desktop.
Save hex128/78e65a71cb5663024a569a20d72358eb to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 66e4055..51a875b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -114,6 +114,7 @@
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<configuration>
+ <skip>true</skip>
<keyname>00B2CAB8</keyname>
</configuration>
<executions>
diff --git a/src/main/java/org/whispersystems/dropwizard/simpleauth/AuthPrincipal.java b/src/main/java/org/whispersystems/dropwizard/simpleauth/AuthPrincipal.java
index c979cd6..6b589bd 100644
--- a/src/main/java/org/whispersystems/dropwizard/simpleauth/AuthPrincipal.java
+++ b/src/main/java/org/whispersystems/dropwizard/simpleauth/AuthPrincipal.java
@@ -16,7 +16,6 @@ public class AuthPrincipal implements Principal {
return null;
}
- @Override
public boolean implies(Subject subject) {
return false;
}
diff --git a/library/pom.xml b/library/pom.xml
index 1756f19..03bde0c 100644
--- a/library/pom.xml
+++ b/library/pom.xml
@@ -123,6 +123,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
<executions>
<execution>
<id>sign-artifacts</id>
@@ -141,6 +145,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<configuration>
+ <skip>true</skip>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
diff --git a/pom.xml b/pom.xml
index 4fbe372..60a251b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
diff --git a/sample-client/pom.xml b/sample-client/pom.xml
index 545b7ab..00146c8 100644
--- a/sample-client/pom.xml
+++ b/sample-client/pom.xml
@@ -47,7 +47,7 @@
<dependency>
<groupId>org.whispersystems</groupId>
<artifactId>websocket-resources</artifactId>
- <version>0.2.3</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
@@ -126,6 +126,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
diff --git a/sample-server/pom.xml b/sample-server/pom.xml
index 4818746..8dfb029 100644
--- a/sample-server/pom.xml
+++ b/sample-server/pom.xml
@@ -13,7 +13,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.whispersystems</groupId>
- <version>0.3.2</version>
+ <version>0.3.3</version>
</parent>
<name>WebSocket-Resources Sample Server Project</name>
@@ -47,7 +47,7 @@
<dependency>
<groupId>org.whispersystems</groupId>
<artifactId>websocket-resources</artifactId>
- <version>0.3.2</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.whispersystems</groupId>
@@ -126,6 +126,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment