Skip to content

Commit

Permalink
[ZEPPELIN-5847] Polish Maven tasks (apache#4509)
Browse files Browse the repository at this point in the history
* maven-remote-resources-plugin is managed by apache parent pom

* Maven version check is configured in apache parent

* Rename enforcer rule
  • Loading branch information
Reamer authored Nov 23, 2022
1 parent c8a529d commit 5ac5d1a
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 85 deletions.
9 changes: 0 additions & 9 deletions neo4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@

<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
Expand Down
41 changes: 1 addition & 40 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
<plugin.lifecycle.mapping.version>1.0.0</plugin.lifecycle.mapping.version>
<plugin.protobuf.version>3.11.4</plugin.protobuf.version>
<plugin.rat.version>0.13</plugin.rat.version>
<plugin.remote.resource.version>1.7.0</plugin.remote.resource.version>
<plugin.resource.version>3.1.0</plugin.resource.version>
<plugin.s3.upload.version>1.4</plugin.s3.upload.version>
<plugin.scala.alchim31.version>4.6.3</plugin.scala.alchim31.version>
Expand Down Expand Up @@ -1445,24 +1444,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<id>process-remote-resources</id>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
Expand All @@ -1478,7 +1459,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<configuration>
<rules>
<DependencyConvergence/>
Expand All @@ -1489,20 +1470,6 @@
<goal>enforce</goal>
</goals>
</execution>
<!-- https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html -->
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.1.0,)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>

Expand Down Expand Up @@ -1597,12 +1564,6 @@
<version>${plugin.deploy.version}</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>${plugin.remote.resource.version}</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
17 changes: 0 additions & 17 deletions spark/interpreter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -341,23 +341,6 @@

<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>

<configuration>
<rules>
<requireJavaVersion>
<version>1.7</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin>

<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
Expand Down
10 changes: 0 additions & 10 deletions spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@

<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-interpreter-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-plugins/launcher/cluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-plugins/launcher/docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-plugins/launcher/flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-plugins/launcher/k8s-standard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-plugins/launcher/yarn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<id>enforce-dependency-convergence</id>
<phase>none</phase>
</execution>
</executions>
Expand Down

0 comments on commit 5ac5d1a

Please sign in to comment.