release scripts

This commit is contained in:
Alex Shvid 2015-04-28 15:35:16 -07:00
parent ecd0222ffc
commit 053d69e690
3 changed files with 35 additions and 12 deletions

4
deploy.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
mvn clean jar:jar javadoc:jar source:jar gpg:sign deploy -Pcasser

39
pom.xml
View file

@ -54,7 +54,7 @@
<logback>1.0.11</logback>
<mockito>1.9.5</mockito>
<jackson>1.9.13</jackson>
</properties>
<dependencies>
@ -100,7 +100,7 @@
<version>${jackson}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cassandraunit</groupId>
<artifactId>cassandra-unit</artifactId>
@ -131,7 +131,7 @@
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
@ -145,7 +145,7 @@
<version>2.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@ -159,7 +159,7 @@
<version>${jamm}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
@ -198,7 +198,7 @@
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
@ -207,8 +207,8 @@
<include>**/*</include>
</includes>
</testResource>
</testResources>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -292,7 +292,7 @@
</configuration>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@ -325,14 +325,14 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.16</version>
<configuration>
<forkCount>1</forkCount>
<argLine>-Xmx1024m -Xss512m
<argLine>-Xmx1024m -Xss512m
-javaagent:${com.github.stephenc:jamm:jar}</argLine>
<reuseForks>true</reuseForks>
<useFile>false</useFile>
@ -356,7 +356,22 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

4
sign.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
mvn clean jar:jar javadoc:jar source:jar gpg:sign install -Pcasser