Skip to content

Commit

Permalink
Use maven enforcer plugin for maven version requirements (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Jan 14, 2019
1 parent 2b661dd commit 8881848
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

<inceptionYear>2010</inceptionYear>

<prerequisites>
<maven>3.3.9</maven>
</prerequisites>

<scm>
<connection>scm:git:https://github.com/googleapis/google-api-java-client.git</connection>
<developerConnection>scm:git:ssh:[email protected]:googleapis/google-api-java-client.git</developerConnection>
Expand Down Expand Up @@ -383,6 +379,25 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version><executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.5.4,4.0.0)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
Expand Down

0 comments on commit 8881848

Please sign in to comment.