Skip to content

Commit

Permalink
Small Java project structure improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Aug 21, 2013
1 parent ad06ccb commit bfa97d0
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 18 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/jmchilton/blend4j.png?branch=master)](https://travis-ci.org/jmchilton/blend4j)

# About

blend4j is a partial reimplemenation of the Python library [blend][1]
Expand Down
47 changes: 29 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
<developerConnection>scm:git:git@github.com:jmchilton/blend4j.git</developerConnection>
<url>git@github.com:jmchilton/blend4j.git</url>
</scm>
<properties>
<skipTests>true</skipTests>
</properties>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
Expand Down Expand Up @@ -63,22 +60,36 @@
<version>1.9.12</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<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>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
Expand Down
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

read -s -p "GPG Password: " gpgpass
mvn_args="-Dgpg.passphrase=$gpgpass -DskipTests=true -DperformRelease=true"

mvn $mvn_args release:clean

mvn $mvn_args release:prepare

mvn $mvn_args release:perform

echo "Artifacts staged, must be released by visiting: https://oss.sonatype.org/, closing staging repository, and then releasing."

0 comments on commit bfa97d0

Please sign in to comment.