This is an automated email from the ASF dual-hosted git repository. gaul pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jclouds.git
commit b7a8bd01f63754a51084c4595f8e509a7f710f81 Author: gurkerl83 <[email protected]> AuthorDate: Sun Dec 6 22:24:44 2020 +0100 Remove site profile and wired enforcer executions The site profile defines various enforcer execution rules, banned-dependencies, java (java and maven version). Those declarations in combination with the standard maven properties for the JDK version seem misleading and duplicated. Also, there is no indicator that the site profile is ever defined for a maven build. --- project/pom.xml | 74 --------------------------------------------------------- 1 file changed, 74 deletions(-) diff --git a/project/pom.xml b/project/pom.xml index cafcb61..4d2e7c7 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -592,44 +592,6 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.1.1</version> - <executions> - <execution> - <id>enforce-banned-dependencies</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <bannedDependencies> - <excludes> - <exclude>:maven-dependency-plugin</exclude> - </excludes> - </bannedDependencies> - </rules> - </configuration> - </execution> - <execution> - <id>enforce-java</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <requireJavaVersion> - <version>[1.8,)</version> - </requireJavaVersion> - <requireMavenVersion> - <version>[3.0.2,)</version> - </requireMavenVersion> - </rules> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <configuration> @@ -864,10 +826,6 @@ <version>2.7</version> </plugin> <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.1.1</version> - </plugin> - <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.4</version> </plugin> @@ -1163,38 +1121,6 @@ </build> </profile> <profile> - <id>site</id> - <build> - <plugins> - <!-- disable the Maven enforcer plugin and prevent forking (unlike -Denforcer.skip) --> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>enforce-banned-dependencies</id> - <phase>none</phase> - </execution> - <execution> - <id>enforce-java</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>none</phase> - </execution> - <!-- inherited from oss-parent --> - <execution> - <id>enforce-maven</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>none</phase> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>jclouds-project</id> <activation> <file>
