Skip to content

Commit

Permalink
Adding maven enforcer plugin to check dependency convergence, bumping…
Browse files Browse the repository at this point in the history
… to ndarray 0.4.0. (#485)
  • Loading branch information
Craigacp authored Feb 3, 2023
1 parent a9a43ef commit dc25607
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
25 changes: 23 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
Expand Down Expand Up @@ -296,7 +296,7 @@
<developer>
<name>SIG JVM</name>
<organization>TensorFlow</organization>
<organizationUrl>http://www.tensorflow.org</organizationUrl>
<organizationUrl>https://www.tensorflow.org</organizationUrl>
</developer>
</developers>

Expand All @@ -310,6 +310,27 @@
<fork>true</fork> <!-- Required for JDK16+ -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<dependencyConvergence/>
<requireMavenVersion>
<version>3.6</version>
</requireMavenVersion>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG signed components: http://central.sonatype.org/pages/apache-maven.html#gpg-signed-components -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-core/tensorflow-core-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<javacpp.parser.skip>${native.build.skip}</javacpp.parser.skip>
<javacpp.compiler.skip>${native.build.skip}</javacpp.compiler.skip>
<java.module.name>org.tensorflow.core.api</java.module.name>
<ndarray.version>0.4.0-SNAPSHOT</ndarray.version>
<ndarray.version>0.4.0</ndarray.version>
<truth.version>1.0.1</truth.version>
</properties>

Expand Down

0 comments on commit dc25607

Please sign in to comment.