Repository: incubator-juneau Updated Branches: refs/heads/master 7139635d3 -> df969fa84
JUNEAU-41 - Prerequisites usage is deprecated for non maven-plugin projects Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/df969fa8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/df969fa8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/df969fa8 Branch: refs/heads/master Commit: df969fa8467d3ef94ee138921f74946073870f38 Parents: 7139635 Author: JamesBognar <[email protected]> Authored: Thu Apr 13 16:55:48 2017 -0400 Committer: JamesBognar <[email protected]> Committed: Thu Apr 13 16:56:15 2017 -0400 ---------------------------------------------------------------------- pom.xml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/df969fa8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 587d08f..39ec376 100644 --- a/pom.xml +++ b/pom.xml @@ -23,10 +23,6 @@ <name>Apache Juneau (incubating)</name> <description>All the Apache Juneau content in one convenient package.</description> - <prerequisites> - <maven>3.2.0</maven> - </prerequisites> - <parent> <groupId>org.apache</groupId> <artifactId>apache</artifactId> @@ -114,6 +110,26 @@ <build> <plugins> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-maven</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <!-- ! Maven minimum 3.2.0 to build. --> + <version>3.2.0</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <!-- Runs Apache Rat against all source code to make sure all files have licenses. --> @@ -275,4 +291,4 @@ </roles> </developer> </developers> -</project> \ No newline at end of file +</project>
