-
-
Save jasstionzyf/6f377dd5c7c2ad74953e753abea387a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- --><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> | |
| <groupId>com.edanz</groupId> | |
| <artifactId>datacenter</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <properties> | |
| <jedis.version>2.6.2</jedis.version> | |
| <elasticsearch.version>2.4.1</elasticsearch.version> | |
| <spring.version>4.3.4.RELEASE</spring.version> | |
| <dl4j.version>0.8.1-SNAPSHOT</dl4j.version> | |
| <nd4j.version>0.8.1-SNAPSHOT</nd4j.version> | |
| <JAVA_HOME>/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home</JAVA_HOME> | |
| <langdetect>/data/jars/languagedetect/langdetect.jar</langdetect> | |
| <jsonic>/data/jars/languagedetect/jsonic-1.2.0.jar</jsonic> | |
| <project.name>edanz-datacenter</project.name> | |
| <solr.version>4.6.1</solr.version> | |
| <hadoop.version>2.7.3</hadoop.version> | |
| <spark.version>2.1.0</spark.version> | |
| <!--<scala.version>2.11.0</scala.version>--> | |
| <scala.version>2.11.8</scala.version> | |
| <!--<scala.version>2.8.0</scala.version>--> | |
| <log4j.version>1.2.16</log4j.version> | |
| <kafka.version>0.8.1.1</kafka.version> | |
| <mongo-hadoop-core>1.5.0</mongo-hadoop-core> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>snapshots-repo</id> | |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
| <releases> | |
| <enabled>false</enabled> | |
| </releases> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| <updatePolicy> | |
| always | |
| </updatePolicy> <!-- Optional, update daily --> | |
| </snapshots> | |
| </repository> | |
| </repositories> | |
| <dependencies> | |
| <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-sql_2.10 --> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.spark</groupId>--> | |
| <!--<artifactId>spark-sql_2.10</artifactId>--> | |
| <!--<version>${spark.version}</version>--> | |
| <!--</dependency>--> | |
| <!-- https://mvnrepository.com/artifact/com.beust/jcommander --> | |
| <!-- https://mvnrepository.com/artifact/com.beust/jcommander --> | |
| <dependency> | |
| <groupId>com.beust</groupId> | |
| <artifactId>jcommander</artifactId> | |
| <version>1.72</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>deeplearning4j-ui-model</artifactId> | |
| <version>${dl4j.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/com.esotericsoftware.kryo/kryo --> | |
| <!--<dependency>--> | |
| <!--<groupId>com.esotericsoftware.kryo</groupId>--> | |
| <!--<artifactId>kryo</artifactId>--> | |
| <!--<version>2.24.0</version>--> | |
| <!--</dependency>--> | |
| <dependency> | |
| <groupId>org.nd4j</groupId> | |
| <artifactId>nd4j-kryo_2.11</artifactId> | |
| <version>0.8.1-SNAPSHOT</version> | |
| <scope>compile</scope> | |
| <exclusions> | |
| <!--<exclusion>--> | |
| <!--<groupId>org.nd4j</groupId>--> | |
| <!--<artifactId>nd4j-api</artifactId>--> | |
| <!--</exclusion>--> | |
| <exclusion> | |
| <groupId>de.javakaffee</groupId> | |
| <artifactId>kryo-serializers</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>de.javakaffee</groupId> | |
| <artifactId>kryo-serializers</artifactId> | |
| <version>0.41</version> | |
| <scope>compile</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.esotericsoftware</groupId> | |
| <artifactId>kryo</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>dl4j-spark_2.11</artifactId> | |
| <version>0.8.1_spark_2-SNAPSHOT</version> | |
| <exclusions> | |
| <exclusion> | |
| <artifactId>scala-library</artifactId> | |
| <groupId>org.scala-lang</groupId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>deeplearning4j-core</artifactId> | |
| <version>${dl4j.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-math3</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>deeplearning4j-modelimport</artifactId> | |
| <version>${dl4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.nd4j</groupId> | |
| <artifactId>nd4j-native-platform</artifactId> | |
| <version>${nd4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>ml.dmlc.mxnet</groupId> | |
| <!--mxnet-full_2.11-osx-x86_64-cpu-0.1.2-SNAPSHOT.jar--> | |
| <artifactId>mxnet-full_2.11-osx-x86_64-cpu</artifactId> | |
| <version>0.1.2</version> | |
| <scope>system</scope> | |
| <systemPath>/data/software/mxnet/mxnet-full_2.11-osx-x86_64-cpu-0.1.2-SNAPSHOT.jar</systemPath> | |
| </dependency> | |
| <dependency> | |
| <groupId>args4j</groupId> | |
| <artifactId>args4j</artifactId> | |
| <version>2.0.29</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.springframework/spring-core --> | |
| <dependency> | |
| <groupId>org.elasticsearch</groupId> | |
| <artifactId>elasticsearch</artifactId> | |
| <version>${elasticsearch.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>redis.clients</groupId> | |
| <artifactId>jedis</artifactId> | |
| <version>${jedis.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.yufei</groupId> | |
| <artifactId>utils</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-math3</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-core</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.tensorflow</groupId> | |
| <artifactId>tensorflow</artifactId> | |
| <version>1.1.0</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.scala-lang/scala-library --> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <version>${scala.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.scala-lang/scala-reflect --> | |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-reflect</artifactId> | |
| <version>${scala.version}</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_2.11 --> | |
| <dependency> | |
| <groupId>org.scala-lang.modules</groupId> | |
| <artifactId>scala-xml_2.11</artifactId> | |
| <version>1.0.6</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.scala-lang.modules/scala-parser-combinators_2.11 --> | |
| <dependency> | |
| <groupId>org.scala-lang.modules</groupId> | |
| <artifactId>scala-parser-combinators_2.11</artifactId> | |
| <version>1.0.5</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore --> | |
| <dependency> | |
| <groupId>org.apache.httpcomponents</groupId> | |
| <artifactId>httpcore</artifactId> | |
| <version>4.4.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>log4j</groupId> | |
| <artifactId>log4j</artifactId> | |
| <version>${log4j.version}</version> | |
| </dependency> | |
| <!--<dependency>--> | |
| <!--<groupId>com.cybozu.labs</groupId>--> | |
| <!--<artifactId>langdetect</artifactId>--> | |
| <!--<version>1.1-20120112</version>--> | |
| <!--</dependency>--> | |
| <dependency><groupId>joda-time</groupId><artifactId>joda-time</artifactId><version>2.8</version></dependency> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.tika</groupId>--> | |
| <!--<artifactId>tika-core</artifactId>--> | |
| <!--<version>1.8</version>--> | |
| <!--</dependency>--> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.tika</groupId>--> | |
| <!--<artifactId>tika-parsers</artifactId>--> | |
| <!--<version>1.8</version>--> | |
| <!--<exclusions>--> | |
| <!--<exclusion>--> | |
| <!----> | |
| <!--<groupId>com.google.guava</groupId>--> | |
| <!--<artifactId>guava</artifactId>--> | |
| <!--</exclusion>--> | |
| <!----> | |
| <!--</exclusions>--> | |
| <!--</dependency>--> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.tika</groupId>--> | |
| <!--<artifactId>tika-example</artifactId>--> | |
| <!--<version>1.8</version>--> | |
| <!--</dependency>--> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.jena</groupId>--> | |
| <!--<artifactId>jena-tdb</artifactId>--> | |
| <!--<version>1.1.0</version>--> | |
| <!--</dependency>--> | |
| <!--<!–aws–>--> | |
| <!--<dependency>--> | |
| <!--<groupId>com.amazonaws</groupId>--> | |
| <!--<artifactId>aws-java-sdk-s3</artifactId>--> | |
| <!--<version>1.10.45</version>--> | |
| <!--</dependency>--> | |
| <!--<dependency>--> | |
| <!--<groupId>com.amazonaws</groupId>--> | |
| <!--<artifactId>aws-java-sdk-s3</artifactId>--> | |
| <!--<version>1.10.45</version>--> | |
| <!--</dependency>--> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-core_2.11</artifactId> | |
| <version>${spark.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scalap</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-client</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-sql_2.11</artifactId> <!-- matching Scala version --> | |
| <version>${spark.version}</version> <!-- matching Spark Core version --> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.spark</groupId> | |
| <artifactId>spark-mllib_2.11</artifactId> | |
| <version>${spark.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>jdk.tools</groupId> | |
| <artifactId>jdk.tools</artifactId> | |
| <version>1.7</version> | |
| <scope>system</scope> | |
| <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>19.0</version> | |
| </dependency> | |
| <!--<dependency>--> | |
| <!--<groupId>org.apache.jena</groupId>--> | |
| <!--<artifactId>jena-core</artifactId>--> | |
| <!--<version>2.12.0</version>--> | |
| <!--</dependency>--> | |
| <dependency> | |
| <groupId>com.jayway.jsonpath</groupId> | |
| <artifactId>json-path</artifactId> | |
| <version>0.9.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.jayway.jsonpath</groupId> | |
| <artifactId>json-path-assert</artifactId> | |
| <version>0.9.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| <version>2.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-annotations</artifactId> | |
| <version>2.6.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-math3</artifactId> | |
| <version>3.6</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-hdfs</artifactId> | |
| <version>${hadoop.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hadoop</groupId> | |
| <artifactId>hadoop-common</artifactId> | |
| <version>${hadoop.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</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.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| <version>2.4</version> | |
| <type>jar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.deeplearning4j</groupId> | |
| <artifactId>deeplearning4j-ui-model</artifactId> | |
| <version>0.8.1-SNAPSHOT</version> | |
| </dependency> | |
| </dependencies> | |
| <profiles> | |
| <profile> | |
| <id>shade</id> | |
| <!-- <activation> | |
| <activeByDefault>true</activeByDefault> | |
| </activation>--> | |
| <build> | |
| <resources> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <includes> | |
| <include>conf/app.xml</include> | |
| </includes> | |
| <filtering>true</filtering> | |
| </resource> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <includes> | |
| <include>obj/cat.obj</include> | |
| <include>obj/issnMap.obj</include> | |
| </includes> | |
| <filtering>false</filtering> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.scala-tools</groupId> | |
| <artifactId>maven-scala-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>compile</id> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <phase>compile</phase> | |
| </execution> | |
| <execution> | |
| <id>test-compile</id> | |
| <goals> | |
| <goal>testCompile</goal> | |
| </goals> | |
| <phase>test-compile</phase> | |
| </execution> | |
| <execution> | |
| <phase>process-resources</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>1.7</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <filters> | |
| <filter> | |
| <artifact>*:*</artifact> | |
| <excludes> | |
| <exclude>META-INF/*.SF</exclude> | |
| <exclude>META-INF/*.DSA</exclude> | |
| <exclude>META-INF/*.RSA</exclude> | |
| </excludes> | |
| </filter> | |
| </filters> | |
| <artifactSet> | |
| <excludes> | |
| <exclude>org.slf4j:*</exclude> | |
| <exclude>log4j:*</exclude> | |
| </excludes> | |
| </artifactSet> | |
| <finalName>datacenter-hadoop</finalName> | |
| <shadedArtifactAttached>true</shadedArtifactAttached> | |
| <shadedClassifierName>jar-with-dependencies</shadedClassifierName> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainClass>com.comm.datacenter.SparkAppTools</mainClass> | |
| </transformer> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
| <resource>META-INF/spring.handlers</resource> | |
| </transformer> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
| <resource>META-INF/spring.schemas</resource> | |
| </transformer> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
| <resource>META-INF/spring.tooling</resource> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <version>2.5</version> | |
| <configuration> | |
| <encoding>UTF-8</encoding> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <skipTests>true</skipTests> | |
| <test>false</test> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>product</id> | |
| <activation> | |
| <activeByDefault>true</activeByDefault> | |
| </activation> | |
| <build> | |
| <resources> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <filtering>true</filtering> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.scala-tools</groupId> | |
| <artifactId>maven-scala-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>compile</id> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <phase>compile</phase> | |
| </execution> | |
| <execution> | |
| <id>test-compile</id> | |
| <goals> | |
| <goal>testCompile</goal> | |
| </goals> | |
| <phase>test-compile</phase> | |
| </execution> | |
| <execution> | |
| <phase>process-resources</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>2.4</version> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <addClasspath>true</addClasspath> | |
| <classpathPrefix>./lib/</classpathPrefix> | |
| </manifest> | |
| </archive> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>2.10</version> | |
| <executions> | |
| <execution> | |
| <id>copy-dependencies</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>copy-dependencies</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/lib</outputDirectory> | |
| <overWriteReleases>false</overWriteReleases> | |
| <overWriteSnapshots>false</overWriteSnapshots> | |
| <overWriteIfNewer>true</overWriteIfNewer> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>8</source> | |
| <target>8</target> | |
| <encoding>UTF-8</encoding> | |
| <skip>true</skip> | |
| <meminitial>1024m</meminitial> | |
| <maxmem>2024m</maxmem> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment