Skip to content

Commit

Permalink
Updated Maven configuration for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Sep 27, 2013
1 parent e4a7985 commit 6881de1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
21 changes: 7 additions & 14 deletions antlr-complete/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,6 @@

<plugins>

<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>${project.version}</version>
<configuration></configuration>
<executions>
<execution>
<goals>
<goal>antlr</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down Expand Up @@ -137,6 +123,13 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<includeDependencySources>true</includeDependencySources>
</configuration>
</plugin>
</plugins>

</build>
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<module>gunit</module>
<module>gunit-maven-plugin</module>
<module>antlr3-maven-archetype</module>
<module>antlr-complete</module>
</modules>

<!--
Expand Down Expand Up @@ -247,19 +248,30 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>2.4.1</version>
<configuration>
<arguments>-Psonatype-oss-release ${release.arguments}</arguments>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>2.16</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<!-- override the version inherited from the parent -->
<version>2.5.2</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
Expand Down

0 comments on commit 6881de1

Please sign in to comment.