Skip to content

Commit

Permalink
Fixed POM to allow building of a standalone uber-JAR with all depende…
Browse files Browse the repository at this point in the history
…ncies included. Also includes a repository for obtaining the jira-rest-java-client dependency.

Fixed Javadoc for Change and VersionInfo classes.
  • Loading branch information
Andrew Pigram committed Sep 10, 2013
1 parent 4718879 commit 80bb88e
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
91 changes: 45 additions & 46 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>atlassian</id>
<name>Atlassian Public Repository</name>
<layout>default</layout>
<url>http://maven.atlassian.com/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
Expand All @@ -28,55 +40,42 @@
<classifier>jar-with-dependencies</classifier>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.3</version>
<classifier>api</classifier>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<artifactId>jersey-multipart</artifactId>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-apache-client</artifactId>
<version>1.17.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
<version>1.17.1</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
<version>1.17.1</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira.rest.client</groupId>
<artifactId>jira</artifactId>
<version>1.0</version>
<type>jar</type>
<version>1.8</version>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
</build>

<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>net.foxopen.jira.changelog.Changelog</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
5 changes: 3 additions & 2 deletions src/net/foxopen/jira/changelog/Change.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ public class Change
* Default constructor that accepts a name and changelog description for a
* JIRA issue.
*
* @param n Issue name
* @param d Issue changelog description
* @param issueKey Issue name.
* @param description Issue changelog description.
* @param issueType Issue type.
*/
public Change(String issueKey, String description, String issueType)
{
Expand Down
2 changes: 1 addition & 1 deletion src/net/foxopen/jira/changelog/VersionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class VersionInfo implements Serializable
* This also ensures that the list of issues fixed in this version are sorted.
*
* @param name of the JIRA project version.
* @param descriptionm of the JIRA project version.
* @param description of the JIRA project version.
* @param releaseDate of the JIRA project version.
* @param issueList issues fixed in the JIRA project version.
*/
Expand Down

0 comments on commit 80bb88e

Please sign in to comment.