Skip to content

Commit dc25607

Browse files
authored
Adding maven enforcer plugin to check dependency convergence, bumping to ndarray 0.4.0. (#485)
1 parent a9a43ef commit dc25607

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

pom.xml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<licenses>
2020
<license>
2121
<name>The Apache Software License, Version 2.0</name>
22-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
22+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
2323
<distribution>repo</distribution>
2424
</license>
2525
</licenses>
@@ -296,7 +296,7 @@
296296
<developer>
297297
<name>SIG JVM</name>
298298
<organization>TensorFlow</organization>
299-
<organizationUrl>http://www.tensorflow.org</organizationUrl>
299+
<organizationUrl>https://www.tensorflow.org</organizationUrl>
300300
</developer>
301301
</developers>
302302

@@ -310,6 +310,27 @@
310310
<fork>true</fork> <!-- Required for JDK16+ -->
311311
</configuration>
312312
</plugin>
313+
<plugin>
314+
<groupId>org.apache.maven.plugins</groupId>
315+
<artifactId>maven-enforcer-plugin</artifactId>
316+
<version>3.2.1</version>
317+
<executions>
318+
<execution>
319+
<id>enforce</id>
320+
<configuration>
321+
<rules>
322+
<dependencyConvergence/>
323+
<requireMavenVersion>
324+
<version>3.6</version>
325+
</requireMavenVersion>
326+
</rules>
327+
</configuration>
328+
<goals>
329+
<goal>enforce</goal>
330+
</goals>
331+
</execution>
332+
</executions>
333+
</plugin>
313334
<!-- GPG signed components: http://central.sonatype.org/pages/apache-maven.html#gpg-signed-components -->
314335
<plugin>
315336
<groupId>org.apache.maven.plugins</groupId>

tensorflow-core/tensorflow-core-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<javacpp.parser.skip>${native.build.skip}</javacpp.parser.skip>
2121
<javacpp.compiler.skip>${native.build.skip}</javacpp.compiler.skip>
2222
<java.module.name>org.tensorflow.core.api</java.module.name>
23-
<ndarray.version>0.4.0-SNAPSHOT</ndarray.version>
23+
<ndarray.version>0.4.0</ndarray.version>
2424
<truth.version>1.0.1</truth.version>
2525
</properties>
2626

0 commit comments

Comments
 (0)