Functions: 1.0.0-SNAPSHOT Core Apps: 3.0.0-SNAPSHOT Apps: 3.0.0-SNAPSHOT Aggregate Next:2020.0.0-SNAPSHOT
73 lines
2.3 KiB
XML
73 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>object-detection-function</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<name>object-detection-function</name>
|
|
<description>Spring Native Function for Tensorflow Integration</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.cloud.fn</groupId>
|
|
<artifactId>spring-functions-parent</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<relativePath>../../spring-functions-parent</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud.fn</groupId>
|
|
<artifactId>tensorflow-common</artifactId>
|
|
<version>${spring-cloud-fn.version}</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.tensorflow</groupId>-->
|
|
<!-- <artifactId>tensorflow-hadoop</artifactId>-->
|
|
<!-- <version>1.15.0</version>-->
|
|
<!-- </dependency>-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.os72</groupId>
|
|
<artifactId>protoc-jar-maven-plugin</artifactId>
|
|
<!-- NOTE upgrading with versions above 3.8.0 generates incompatible for protobuf-java:3.5.1 comming with TF 1.15.0 -->
|
|
<version>3.7.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- <includeDirectories> <include>src/main/protobuf</include> </includeDirectories> -->
|
|
<inputDirectories>
|
|
<include>src/main/proto</include>
|
|
</inputDirectories>
|
|
<!-- Create java files. And put them in the src/main/java directory. -->
|
|
<outputTargets>
|
|
<outputTarget>
|
|
<type>java</type>
|
|
<outputDirectory>src/main/java</outputDirectory>
|
|
</outputTarget>
|
|
</outputTargets>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<!-- <repositories>-->
|
|
<!-- <repository>-->
|
|
<!-- <id>tensorflow-snapshots</id>-->
|
|
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
|
|
<!-- <snapshots>-->
|
|
<!-- <enabled>true</enabled>-->
|
|
<!-- </snapshots>-->
|
|
<!-- </repository>-->
|
|
<!-- </repositories>-->
|
|
</project>
|