Skip to content

Commit

Permalink
Move antlr dependency definitions up into parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Mar 29, 2016
1 parent ccd0bad commit c3f9835
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pmd-swift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</parent>

<properties>
<antlr.version>4.5.2-1</antlr.version>
<config.basedir>${basedir}/../pmd-core</config.basedir>
</properties>

Expand All @@ -20,18 +19,6 @@
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
Expand All @@ -50,7 +37,6 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>${antlr.version}</version>
</dependency>

<dependency>
Expand Down
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
<java.version>1.6</java.version>
<ant.version>1.9.4</ant.version>
<javadoc.plugin.version>2.10.1</javadoc.plugin.version>
<antlr.version>4.5.2-1</antlr.version>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pmd.website.baseurl>http://pmd.sourceforge.net/snapshot/${project.artifactId}</pmd.website.baseurl>
Expand All @@ -286,6 +287,22 @@
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down Expand Up @@ -668,6 +685,11 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>${antlr.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
Expand Down

0 comments on commit c3f9835

Please sign in to comment.