Commit f0e5a51d authored by Greg Messner's avatar Greg Messner
Browse files

Now uses OSS Parent pom.

parent c270e985
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.messners</groupId> <groupId>com.messners</groupId>
<artifactId>gitlab-api</artifactId> <artifactId>gitlab-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>3.0.1-SNAPSHOT</version> <version>3.0.1-SNAPSHOT</version>
<name>gitlab-api</name> <name>GitLab API Java Client</name>
<description>GitLab API provides a full featured Java API for working with GitLab repositories via the GitLab REST API</description> <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> <url>http://www.messners.com/#gitlab-api/gitlab-api.html</url>
<distributionManagement> <parent>
<snapshotRepository> <groupId>org.sonatype.oss</groupId>
<id>ossrh</id> <artifactId>oss-parent</artifactId>
<url>https://oss.sonatype.org/content/repositories/snapshots</url> <version>9</version>
</snapshotRepository> </parent>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses> <licenses>
<license> <license>
...@@ -43,34 +39,18 @@ ...@@ -43,34 +39,18 @@
<jackson.version>2.8.6</jackson.version> <jackson.version>2.8.6</jackson.version>
<junit.version>4.12</junit.version> <junit.version>4.12</junit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties> </properties>
<scm> <scm>
<url>git@github.com:gmessner/gitlab-api.git</url> <url>git@github.com:gmessner/gitlab-api.git</url>
<connection>scm:git:git@github.com:gmessner/gitlab-api.git</connection> <connection>scm:git:git@github.com:gmessner/gitlab-api.git</connection>
<developerConnection>scm:git:git@github.com:gmessner/gitlab-api.git</developerConnection> <developerConnection>scm:git:git@github.com:gmessner/gitlab-api.git</developerConnection>
<tag>HEAD</tag>
</scm> </scm>
<build> <build>
<defaultGoal>package</defaultGoal> <defaultGoal>package</defaultGoal>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.2</version>
<configuration>
<tag>${project.artifactId}-${project.version}</tag>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -84,33 +64,18 @@ ...@@ -84,33 +64,18 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>1.5</version> <version>2.4</version>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>attach-sources</id>
<phase>verify</phase>
<goals> <goals>
<goal>sign</goal> <goal>jar-no-fork</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
......
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