|
21 | 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
22 | 22 | <modelVersion>4.0.0</modelVersion>
|
23 | 23 |
|
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> |
29 | 29 |
|
30 | 30 | <properties>
|
31 | 31 | <dl4j-master.version>1.0.0-beta7</dl4j-master.version>
|
32 | 32 | <!-- 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> --> |
34 | 34 | <nd4j.backend>nd4j-native</nd4j.backend>
|
35 | 35 | <java.version>1.8</java.version>
|
36 | 36 | <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
|
|
56 | 56 | </dependency>
|
57 | 57 | </dependencies>
|
58 | 58 | </dependencyManagement>
|
59 |
| - |
| 59 | + |
60 | 60 | <dependencies>
|
61 | 61 | <dependency>
|
62 | 62 | <groupId>org.nd4j</groupId>
|
|
140 | 140 | <!-- Maven Enforcer: Ensures user has an up to date version of Maven before building -->
|
141 | 141 | <build>
|
142 | 142 | <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> |
155 | 155 | <version>[${maven.minimum.version},)</version>
|
156 | 156 | <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> |
163 | 163 | <plugin>
|
164 | 164 | <groupId>org.apache.maven.plugins</groupId>
|
165 | 165 | <artifactId>maven-compiler-plugin</artifactId>
|
166 | 166 | <version>${maven-compiler-plugin.version}</version>
|
167 | 167 | <configuration>
|
168 |
| - <source>1.7</source> |
169 |
| - <target>1.7</target> |
| 168 | + <source>${java.version}</source> |
| 169 | + <target>${java.version}</target> |
170 | 170 | </configuration>
|
171 | 171 | </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> |
196 | 196 | <plugin>
|
197 | 197 | <groupId>org.codehaus.mojo</groupId>
|
198 | 198 | <artifactId>exec-maven-plugin</artifactId>
|
|
247 | 247 | </execution>
|
248 | 248 | </executions>
|
249 | 249 | </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> |
259 | 250 | </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> |
272 | 263 | <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> |
288 | 279 | </build>
|
289 | 280 | </project>
|
0 commit comments