Skip to content

Commit

Permalink
Resolve #25 update pom.xml to do a release (#26)
Browse files Browse the repository at this point in the history
* Resolve #25 update pom.xml to do a release

* whitespace
  • Loading branch information
ruebot authored and ianmilligan1 committed Aug 24, 2017
1 parent cd3b51b commit 75f6c99
Showing 1 changed file with 106 additions and 16 deletions.
122 changes: 106 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
<github.global.server>github</github.global.server>
<checkstyle.plugin.version>2.15</checkstyle.plugin.version>
<license.plugin.version>2.11</license.plugin.version>
<download-maven-plugin.version>1.3.0</download-maven-plugin.version>
<release.plugin.version>2.5.2</release.plugin.version>
<scm-provider-gitexe.plugin.version>1.9.4</scm-provider-gitexe.plugin.version>
<changelog.plugin.version>2.3</changelog.plugin.version>
<github-site.plugin.version>0.12</github-site.plugin.version>
<javadoc.plugin.version>2.10.3</javadoc.plugin.version>
<gpg.plugin.version>1.6</gpg.plugin.version>
</properties>

<licenses>
Expand All @@ -40,6 +47,7 @@
<connection>scm:git:git@github.com:archivesunleashed/aut.git</connection>
<developerConnection>scm:git:git@github.com:archivesunleashed/aut.git</developerConnection>
<url>git@github.com:archivesunleashed/aut.git</url>
<tag>HEAD</tag>
</scm>

<repositories>
Expand Down Expand Up @@ -216,8 +224,78 @@
</goals>
</execution>
</executions>
</plugin>
</plugins>
</plugin>
<!-- So we can release aut -->
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${release.plugin.version}</version>
<configuration>
<!-- see http://jira.codehaus.org/browse/MRELEASE-424 -->
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>${scm-provider-gitexe.plugin.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- GitHub Pages -->
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${github-site.plugin.version}</version>
<configuration>
<message>Creating site for ${project.artifactId}, ${project.version}</message>
<path>${project.distributionManagement.site.url}</path>
<merge>true</merge>
<excludes>
<exclude>xref-test/**</exclude>
<exclude>testapidocs/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>github</id>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
<configuration>
<linksource>true</linksource>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<id>verify-javadocs</id>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
<goal>javadoc</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-changelog-plugin</artifactId>
<version>${changelog.plugin.version}</version>
</plugin>
</plugins>
</build>

<dependencies>
Expand Down Expand Up @@ -343,7 +421,7 @@
<url>https://github.com/archivesunleashed/aut/issues</url>
</issueManagement>

<profiles>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
Expand All @@ -353,22 +431,34 @@
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<useAgent>true</useAgent>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<useAgent>true</useAgent>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 75f6c99

Please sign in to comment.