Skip to content

Commit 9799225

Browse files
authored
Merge pull request #998 from dariuszzbyrad/maven_duplicated_plugin
Maven duplicated plugin
2 parents 8aa0180 + 812efcb commit 9799225

File tree

6 files changed

+399
-453
lines changed

6 files changed

+399
-453
lines changed

data-pipeline-examples/pom.xml

Lines changed: 78 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323

24-
<groupId>org.deeplearning4j</groupId>
25-
<artifactId>data-pipeline-examples</artifactId>
26-
<version>1.0.0-beta7</version>
27-
<name>Building a data pipeline prior to modeling</name>
28-
<description>Loading raw data and processing it before training</description>
24+
<groupId>org.deeplearning4j</groupId>
25+
<artifactId>data-pipeline-examples</artifactId>
26+
<version>1.0.0-beta7</version>
27+
<name>Building a data pipeline prior to modeling</name>
28+
<description>Loading raw data and processing it before training</description>
2929

3030
<properties>
3131
<dl4j-master.version>1.0.0-beta7</dl4j-master.version>
@@ -37,7 +37,7 @@
3737
<maven.minimum.version>3.3.1</maven.minimum.version>
3838
<exec-maven-plugin.version>1.4.0</exec-maven-plugin.version>
3939
<maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
40-
<logback.version>1.1.7</logback.version>
40+
<logback.version>1.1.7</logback.version>
4141
<scala.binary.version>2.11</scala.binary.version>
4242
<spark.version>2.4.3</spark.version>
4343
</properties>
@@ -102,7 +102,7 @@
102102
<groupId>net.jpountz.lz4</groupId>
103103
<artifactId>lz4</artifactId>
104104
</exclusion>
105-
</exclusions>
105+
</exclusions>
106106
</dependency>
107107
<dependency>
108108
<groupId>org.apache.spark</groupId>
@@ -139,59 +139,59 @@
139139
<!-- Maven Enforcer: Ensures user has an up to date version of Maven before building -->
140140
<build>
141141
<plugins>
142-
<plugin>
143-
<artifactId>maven-enforcer-plugin</artifactId>
144-
<version>1.0.1</version>
145-
<executions>
146-
<execution>
147-
<id>enforce-default</id>
148-
<goals>
149-
<goal>enforce</goal>
150-
</goals>
151-
<configuration>
152-
<rules>
153-
<requireMavenVersion>
142+
<plugin>
143+
<artifactId>maven-enforcer-plugin</artifactId>
144+
<version>1.0.1</version>
145+
<executions>
146+
<execution>
147+
<id>enforce-default</id>
148+
<goals>
149+
<goal>enforce</goal>
150+
</goals>
151+
<configuration>
152+
<rules>
153+
<requireMavenVersion>
154154
<version>[${maven.minimum.version},)</version>
155155
<message>********** Minimum Maven Version is ${maven.minimum.version}. Please upgrade Maven before continuing (run "mvn --version" to check). **********</message>
156-
</requireMavenVersion>
157-
</rules>
158-
</configuration>
159-
</execution>
160-
</executions>
161-
</plugin>
156+
</requireMavenVersion>
157+
</rules>
158+
</configuration>
159+
</execution>
160+
</executions>
161+
</plugin>
162162
<plugin>
163163
<groupId>org.apache.maven.plugins</groupId>
164164
<artifactId>maven-compiler-plugin</artifactId>
165165
<version>${maven-compiler-plugin.version}</version>
166166
<configuration>
167-
<source>1.7</source>
168-
<target>1.7</target>
167+
<source>${java.version}</source>
168+
<target>${java.version}</target>
169+
</configuration>
170+
</plugin>
171+
<plugin>
172+
<groupId>com.lewisd</groupId>
173+
<artifactId>lint-maven-plugin</artifactId>
174+
<version>0.0.11</version>
175+
<configuration>
176+
<failOnViolation>true</failOnViolation>
177+
<onlyRunRules>
178+
<rule>DuplicateDep</rule>
179+
<rule>RedundantPluginVersion</rule>
180+
<!-- Rules incompatible with Java 9
181+
<rule>VersionProp</rule>
182+
<rule>DotVersionProperty</rule> -->
183+
</onlyRunRules>
169184
</configuration>
185+
<executions>
186+
<execution>
187+
<id>pom-lint</id>
188+
<phase>validate</phase>
189+
<goals>
190+
<goal>check</goal>
191+
</goals>
192+
</execution>
193+
</executions>
170194
</plugin>
171-
<plugin>
172-
<groupId>com.lewisd</groupId>
173-
<artifactId>lint-maven-plugin</artifactId>
174-
<version>0.0.11</version>
175-
<configuration>
176-
<failOnViolation>true</failOnViolation>
177-
<onlyRunRules>
178-
<rule>DuplicateDep</rule>
179-
<rule>RedundantPluginVersion</rule>
180-
<!-- Rules incompatible with Java 9
181-
<rule>VersionProp</rule>
182-
<rule>DotVersionProperty</rule> -->
183-
</onlyRunRules>
184-
</configuration>
185-
<executions>
186-
<execution>
187-
<id>pom-lint</id>
188-
<phase>validate</phase>
189-
<goals>
190-
<goal>check</goal>
191-
</goals>
192-
</execution>
193-
</executions>
194-
</plugin>
195195
<plugin>
196196
<groupId>org.codehaus.mojo</groupId>
197197
<artifactId>exec-maven-plugin</artifactId>
@@ -246,43 +246,34 @@
246246
</execution>
247247
</executions>
248248
</plugin>
249-
<plugin>
250-
<groupId>org.apache.maven.plugins</groupId>
251-
<artifactId>maven-compiler-plugin</artifactId>
252-
<version>3.5.1</version>
253-
<configuration>
254-
<source>${java.version}</source>
255-
<target>${java.version}</target>
256-
</configuration>
257-
</plugin>
258249
</plugins>
259-
<pluginManagement>
260-
<plugins>
261-
<plugin>
262-
<groupId>org.eclipse.m2e</groupId>
263-
<artifactId>lifecycle-mapping</artifactId>
264-
<version>1.0.0</version>
265-
<configuration>
266-
<lifecycleMappingMetadata>
267-
<pluginExecutions>
268-
<pluginExecution>
269-
<pluginExecutionFilter>
270-
<groupId>com.lewisd</groupId>
250+
<pluginManagement>
251+
<plugins>
252+
<plugin>
253+
<groupId>org.eclipse.m2e</groupId>
254+
<artifactId>lifecycle-mapping</artifactId>
255+
<version>1.0.0</version>
256+
<configuration>
257+
<lifecycleMappingMetadata>
258+
<pluginExecutions>
259+
<pluginExecution>
260+
<pluginExecutionFilter>
261+
<groupId>com.lewisd</groupId>
271262
<artifactId>lint-maven-plugin</artifactId>
272-
<versionRange>[0.0.11,)</versionRange>
273-
<goals>
274-
<goal>check</goal>
275-
</goals>
276-
</pluginExecutionFilter>
277-
<action>
278-
<ignore/>
279-
</action>
280-
</pluginExecution>
281-
</pluginExecutions>
282-
</lifecycleMappingMetadata>
283-
</configuration>
284-
</plugin>
285-
</plugins>
286-
</pluginManagement>
263+
<versionRange>[0.0.11,)</versionRange>
264+
<goals>
265+
<goal>check</goal>
266+
</goals>
267+
</pluginExecutionFilter>
268+
<action>
269+
<ignore/>
270+
</action>
271+
</pluginExecution>
272+
</pluginExecutions>
273+
</lifecycleMappingMetadata>
274+
</configuration>
275+
</plugin>
276+
</plugins>
277+
</pluginManagement>
287278
</build>
288279
</project>

0 commit comments

Comments
 (0)