Skip to content

Commit

Permalink
Fix up poms to properly sign on deploy, provide source and javadoc ja…
Browse files Browse the repository at this point in the history
…rs per sonatype's requirements, and bump the API version to 1.4 for OSGI components.
  • Loading branch information
cgruber committed Jul 31, 2013
1 parent ce48fa8 commit 359c5c3
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 5 deletions.
12 changes: 12 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,18 @@
</excludes>
</configuration>
</plugin>
<!--
| Generate sources jar
-->
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!--
| Generate javadoc jar
-->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
12 changes: 12 additions & 0 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@
</instructions>
</configuration>
</plugin>
<!--
| Generate sources jar
-->
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!--
| Generate javadoc jar
-->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
40 changes: 35 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
<!--
| The spec version of the public Guice API
-->
<guice.api.version>1.3</guice.api.version>
<guice.api.version>1.4</guice.api.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--
| Use "-Dguice.with.jarjar=false" to build without jarjar
Expand All @@ -107,6 +107,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
| Use "-Dguice.with.no_aop=false" to skip the no-AOP variant
-->
<guice.with.no_aop>true</guice.with.no_aop>
<gpg.skip>true</gpg.skip>
</properties>

<dependencies>
Expand Down Expand Up @@ -339,14 +340,27 @@ See the Apache License Version 2.0 for the specific language governing permissio
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
Expand All @@ -361,6 +375,22 @@ See the Apache License Version 2.0 for the specific language governing permissio
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!--
| Sign artifacts.
-->
<plugin>
<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>

<profiles>
Expand Down

0 comments on commit 359c5c3

Please sign in to comment.