diff options
Diffstat (limited to 'tensorflow/java/maven/hadoop/pom.xml')
-rw-r--r-- | tensorflow/java/maven/hadoop/pom.xml | 168 |
1 files changed, 154 insertions, 14 deletions
diff --git a/tensorflow/java/maven/hadoop/pom.xml b/tensorflow/java/maven/hadoop/pom.xml index 0642be06fa..a160377210 100644 --- a/tensorflow/java/maven/hadoop/pom.xml +++ b/tensorflow/java/maven/hadoop/pom.xml @@ -1,12 +1,30 @@ -<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"> - <!-- Placeholder pom which is replaced by TensorFlow ecosystem Hadoop pom during build --> +<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <description>TensorFlow TFRecord InputFormat/OutputFormat for Apache Hadoop</description> + <groupId>org.tensorflow</groupId> <artifactId>hadoop</artifactId> <packaging>jar</packaging> + <version>1.9.0-rc2</version> + <name>tensorflow-hadoop</name> + <url>https://www.tensorflow.org</url> + <description>TensorFlow TFRecord InputFormat/OutputFormat for Apache Hadoop</description> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>1.6</maven.compiler.source> + <maven.compiler.target>1.6</maven.compiler.target> + <hadoop.version>2.6.0</hadoop.version> + <protobuf.version>3.3.1</protobuf.version> + <junit.version>4.11</junit.version> + </properties> + + <licenses> + <license> + <name>Apache License Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + </license> + </licenses> <scm> <url>https://github.com/tensorflow/ecosystem.git</url> @@ -14,11 +32,133 @@ <developerConnection>scm:git:https://github.com/tensorflow/ecosystem.git</developerConnection> </scm> - <url>https://github.com/tensorflow/ecosystem/</url> - <parent> - <groupId>org.tensorflow</groupId> - <artifactId>parentpom</artifactId> - <version>1.9.0-rc0</version> - <relativePath>../</relativePath> - </parent> -</project>
\ No newline at end of file + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencies> + <dependency> + <groupId>org.tensorflow</groupId> + <artifactId>proto</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <version>${hadoop.version}</version> + <exclusions> + <exclusion> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-mapreduce-client-core</artifactId> + <version>${hadoop.version}</version> + <exclusions> + <exclusion> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + <version>${protobuf.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>${junit.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-mapreduce-client-jobclient</artifactId> + <version>${hadoop.version}</version> + <type>test-jar</type> + <optional>true</optional> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>com.google.protobuf</groupId> + <artifactId>protobuf-java</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + + <!-- Two profiles are used: + ossrh - deploys to ossrh/maven central + bintray - deploys to bintray/jcenter. --> + <profiles> + <profile> + <id>ossrh</id> + <distributionManagement> + <!-- Sonatype requirements from http://central.sonatype.org/pages/apache-maven.html --> + <snapshotRepository> + <id>ossrh</id> + <url>https://oss.sonatype.org/content/repositories/snapshots</url> + </snapshotRepository> + <repository> + <id>ossrh</id> + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> + </repository> + </distributionManagement> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>bintray</id> + <distributionManagement> + <!-- https://blog.bintray.com/2015/09/17/publishing-your-maven-project-to-bintray/ --> + <repository> + <id>bintray</id> + <url>https://api.bintray.com/maven/google/tensorflow/tensorflow/;publish=0</url> + </repository> + </distributionManagement> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + </profiles> + + <developers> + <developer> + <name>TensorFlowers</name> + <organization>TensorFlow</organization> + <organizationUrl>http://www.tensorflow.org</organizationUrl> + </developer> + </developers> +</project> |