Skip to content

Commit 0210ff0

Browse files
committed
Removed duplicated plugin declaration
Signed-off-by: Dariusz Zbyrad <[email protected]>
1 parent 9e971fd commit 0210ff0

File tree

1 file changed

+78
-87
lines changed

1 file changed

+78
-87
lines changed

dl4j-examples/pom.xml

Lines changed: 78 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
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>dl4j-examples</artifactId>
26-
<version>1.0.0-beta7</version>
27-
<name>Introduction to DL4J</name>
28-
<description>A set of examples introducing the DL4J framework</description>
24+
<groupId>org.deeplearning4j</groupId>
25+
<artifactId>dl4j-examples</artifactId>
26+
<version>1.0.0-beta7</version>
27+
<name>Introduction to DL4J</name>
28+
<description>A set of examples introducing the DL4J framework</description>
2929

3030
<properties>
3131
<dl4j-master.version>1.0.0-beta7</dl4j-master.version>
3232
<!-- Change the nd4j.backend property to nd4j-cuda-X-platform to use CUDA GPUs -->
33-
<!-- <nd4j.backend>nd4j-cuda-10.2-platform</nd4j.backend> -->
33+
<!-- <nd4j.backend>nd4j-cuda-10.2-platform</nd4j.backend> -->
3434
<nd4j.backend>nd4j-native</nd4j.backend>
3535
<java.version>1.8</java.version>
3636
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
@@ -56,7 +56,7 @@
5656
</dependency>
5757
</dependencies>
5858
</dependencyManagement>
59-
59+
6060
<dependencies>
6161
<dependency>
6262
<groupId>org.nd4j</groupId>
@@ -140,59 +140,59 @@
140140
<!-- Maven Enforcer: Ensures user has an up to date version of Maven before building -->
141141
<build>
142142
<plugins>
143-
<plugin>
144-
<artifactId>maven-enforcer-plugin</artifactId>
145-
<version>1.0.1</version>
146-
<executions>
147-
<execution>
148-
<id>enforce-default</id>
149-
<goals>
150-
<goal>enforce</goal>
151-
</goals>
152-
<configuration>
153-
<rules>
154-
<requireMavenVersion>
143+
<plugin>
144+
<artifactId>maven-enforcer-plugin</artifactId>
145+
<version>1.0.1</version>
146+
<executions>
147+
<execution>
148+
<id>enforce-default</id>
149+
<goals>
150+
<goal>enforce</goal>
151+
</goals>
152+
<configuration>
153+
<rules>
154+
<requireMavenVersion>
155155
<version>[${maven.minimum.version},)</version>
156156
<message>********** Minimum Maven Version is ${maven.minimum.version}. Please upgrade Maven before continuing (run "mvn --version" to check). **********</message>
157-
</requireMavenVersion>
158-
</rules>
159-
</configuration>
160-
</execution>
161-
</executions>
162-
</plugin>
157+
</requireMavenVersion>
158+
</rules>
159+
</configuration>
160+
</execution>
161+
</executions>
162+
</plugin>
163163
<plugin>
164164
<groupId>org.apache.maven.plugins</groupId>
165165
<artifactId>maven-compiler-plugin</artifactId>
166166
<version>${maven-compiler-plugin.version}</version>
167167
<configuration>
168-
<source>1.7</source>
169-
<target>1.7</target>
168+
<source>${java.version}</source>
169+
<target>${java.version}</target>
170170
</configuration>
171171
</plugin>
172-
<plugin>
173-
<groupId>com.lewisd</groupId>
174-
<artifactId>lint-maven-plugin</artifactId>
175-
<version>0.0.11</version>
176-
<configuration>
177-
<failOnViolation>true</failOnViolation>
178-
<onlyRunRules>
179-
<rule>DuplicateDep</rule>
180-
<rule>RedundantPluginVersion</rule>
181-
<!-- Rules incompatible with Java 9
182-
<rule>VersionProp</rule>
183-
<rule>DotVersionProperty</rule> -->
184-
</onlyRunRules>
185-
</configuration>
186-
<executions>
187-
<execution>
188-
<id>pom-lint</id>
189-
<phase>validate</phase>
190-
<goals>
191-
<goal>check</goal>
192-
</goals>
193-
</execution>
194-
</executions>
195-
</plugin>
172+
<plugin>
173+
<groupId>com.lewisd</groupId>
174+
<artifactId>lint-maven-plugin</artifactId>
175+
<version>0.0.11</version>
176+
<configuration>
177+
<failOnViolation>true</failOnViolation>
178+
<onlyRunRules>
179+
<rule>DuplicateDep</rule>
180+
<rule>RedundantPluginVersion</rule>
181+
<!-- Rules incompatible with Java 9
182+
<rule>VersionProp</rule>
183+
<rule>DotVersionProperty</rule> -->
184+
</onlyRunRules>
185+
</configuration>
186+
<executions>
187+
<execution>
188+
<id>pom-lint</id>
189+
<phase>validate</phase>
190+
<goals>
191+
<goal>check</goal>
192+
</goals>
193+
</execution>
194+
</executions>
195+
</plugin>
196196
<plugin>
197197
<groupId>org.codehaus.mojo</groupId>
198198
<artifactId>exec-maven-plugin</artifactId>
@@ -247,43 +247,34 @@
247247
</execution>
248248
</executions>
249249
</plugin>
250-
<plugin>
251-
<groupId>org.apache.maven.plugins</groupId>
252-
<artifactId>maven-compiler-plugin</artifactId>
253-
<version>3.5.1</version>
254-
<configuration>
255-
<source>${java.version}</source>
256-
<target>${java.version}</target>
257-
</configuration>
258-
</plugin>
259250
</plugins>
260-
<pluginManagement>
261-
<plugins>
262-
<plugin>
263-
<groupId>org.eclipse.m2e</groupId>
264-
<artifactId>lifecycle-mapping</artifactId>
265-
<version>1.0.0</version>
266-
<configuration>
267-
<lifecycleMappingMetadata>
268-
<pluginExecutions>
269-
<pluginExecution>
270-
<pluginExecutionFilter>
271-
<groupId>com.lewisd</groupId>
251+
<pluginManagement>
252+
<plugins>
253+
<plugin>
254+
<groupId>org.eclipse.m2e</groupId>
255+
<artifactId>lifecycle-mapping</artifactId>
256+
<version>1.0.0</version>
257+
<configuration>
258+
<lifecycleMappingMetadata>
259+
<pluginExecutions>
260+
<pluginExecution>
261+
<pluginExecutionFilter>
262+
<groupId>com.lewisd</groupId>
272263
<artifactId>lint-maven-plugin</artifactId>
273-
<versionRange>[0.0.11,)</versionRange>
274-
<goals>
275-
<goal>check</goal>
276-
</goals>
277-
</pluginExecutionFilter>
278-
<action>
279-
<ignore/>
280-
</action>
281-
</pluginExecution>
282-
</pluginExecutions>
283-
</lifecycleMappingMetadata>
284-
</configuration>
285-
</plugin>
286-
</plugins>
287-
</pluginManagement>
264+
<versionRange>[0.0.11,)</versionRange>
265+
<goals>
266+
<goal>check</goal>
267+
</goals>
268+
</pluginExecutionFilter>
269+
<action>
270+
<ignore/>
271+
</action>
272+
</pluginExecution>
273+
</pluginExecutions>
274+
</lifecycleMappingMetadata>
275+
</configuration>
276+
</plugin>
277+
</plugins>
278+
</pluginManagement>
288279
</build>
289280
</project>

0 commit comments

Comments
 (0)