Commit 567582f7 authored by Greg Messner's avatar Greg Messner
Browse files

Removed parent element and inlined all the plugins.

parent 3575c104
...@@ -7,12 +7,19 @@ ...@@ -7,12 +7,19 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.0.10-SNAPSHOT</version> <version>1.0.10-SNAPSHOT</version>
<name>gitlab-api</name> <name>gitlab-api</name>
<description>GitLab API provides a full featured Java API for working with GitLab repositories via the GitLab REST API</description>
<url>http://www.messners.com/#gitlab-api/gitlab-api.html</url>
<parent> <distributionManagement>
<groupId>org.sonatype.oss</groupId> <snapshotRepository>
<artifactId>oss-parent</artifactId> <id>ossrh</id>
<version>7</version> <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</parent> </snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses> <licenses>
<license> <license>
...@@ -49,24 +56,17 @@ ...@@ -49,24 +56,17 @@
<defaultGoal>package</defaultGoal> <defaultGoal>package</defaultGoal>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>2.4.2</version> <version>2.5.1</version>
<configuration> <configuration>
<!-- Whether to allow timestamped SNAPSHOT dependencies. 'true' means <goals>deploy</goals>
the release plugin will continue to operate even when a project has dependencies </configuration>
on SNAPSHOTs (which is normally not the case) -->
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<localCheckout>true</localCheckout>
<checkModificationExcludes>
<checkModificationExclude>build-number.txt</checkModificationExclude>
</checkModificationExcludes>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-scm-plugin</artifactId> <artifactId>maven-scm-plugin</artifactId>
<version>1.9</version> <version>1.9.2</version>
<configuration> <configuration>
<tag>${project.artifactId}-${project.version}</tag> <tag>${project.artifactId}-${project.version}</tag>
</configuration> </configuration>
...@@ -75,45 +75,58 @@ ...@@ -75,45 +75,58 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version> <version>3.2</version>
<configuration> <configuration>
<source>${jdk.version}</source> <source>${jdk.version}</source>
<target>${jdk.version}</target> <target>${jdk.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
<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>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.codehaus.jackson</groupId> <groupId>org.codehaus.jackson</groupId>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment