Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
Upgraded maven plugins to the latest version and updated the release …
Browse files Browse the repository at this point in the history
…settings
  • Loading branch information
sergei-ivanov committed Apr 29, 2015
1 parent 5118c50 commit 8a12804
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 6 deletions.
80 changes: 74 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@
<distributionManagement>
<downloadUrl>https://bintray.com/sergei-ivanov/maven/maven-protoc-plugin/view</downloadUrl>
<site>
<!-- release:perform checks this element to determine whether site-deploy goal needs to be run -->
<!--
release:perform checks this element to determine whether site-deploy goal needs to be run.
The actual site deployment is done by GitHub site-maven-plugin, so the URL here is not used.
-->
<id>gh-pages</id>
<url>https://github.com/sergei-ivanov/maven-protoc-plugin/tree/gh-pages</url>
</site>
Expand Down Expand Up @@ -153,7 +156,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.1</version>
<version>2.2</version>
</plugin>

<plugin>
Expand All @@ -162,6 +165,24 @@
<version>2.6</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<minmemory>128m</minmemory>
<maxmemory>512m</maxmemory>
<detectLinks>true</detectLinks>
<show>package</show>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand All @@ -177,7 +198,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -341,9 +362,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<!-- Override the default release settings from the Super-POM -->
<configuration>
<!-- Enforce integration tests during release -->
<!-- Suppress the default release profile from Maven Super-POM -->
<useReleaseProfile>false</useReleaseProfile>
<!-- Release profile that will be activated by release:perform -->
<releaseProfiles>release</releaseProfiles>
<!-- Enforce integration tests during both release:prepare and release:perform -->
<arguments>-P run-its</arguments>
<!-- Not used in this project, but included for completeness -->
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>

Expand Down Expand Up @@ -429,7 +457,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.2</version>
<version>2.10.3</version>
<configuration>
<minmemory>128m</minmemory>
<maxmemory>512m</maxmemory>
Expand Down Expand Up @@ -458,7 +486,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.1</version>
<version>2.2</version>
<reportSets>
<reportSet>
<reports>
Expand Down Expand Up @@ -488,6 +516,11 @@

<profiles>
<profile>
<!--
A separate profile to optionally enable integration tests
(beware that they can be very time and resource-consuming).
It is forcibly activated when running the release goals.
-->
<id>run-its</id>
<build>
<plugins>
Expand Down Expand Up @@ -537,6 +570,41 @@
</plugins>
</reporting>
</profile>

<profile>
<!--
A separate set of executions to be performed when running the release goals.
-->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<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-deploy-plugin</artifactId>
<configuration>
<!--
Explicitly disable updating the release metadata in the remote repository,
because otherwise that messes BinTray repository layout up.
BinTray itself takes care of metadata when the artifacts are promoted.
-->
<updateReleaseInfo>false</updateReleaseInfo>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
9 changes: 9 additions & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@

<body>

<release version="0.4.2" date="2015-04-29" description="Bug fixes">
<action dev="sergei-ivanov" type="fix" issue="34">
Made the order of imports predictable and matching the order of dependencies.
</action>
<action dev="sergei-ivanov" type="fix">
Fixed release configuration.
</action>
</release>

<release version="0.4.1" date="2015-04-27" description="Support for native protoc plugins">
<action dev="sergei-ivanov" type="add" issue="33">
Added an option to download protoc binary artifact from Maven repo.
Expand Down

0 comments on commit 8a12804

Please sign in to comment.