1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
---|
4 | http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
5 | <modelVersion>4.0.0</modelVersion>
|
---|
6 |
|
---|
7 | <name>HTRC Extracted Features Solr Ingest</name>
|
---|
8 | <url>analytics.hathitrust.org</url>
|
---|
9 | <groupId>org.hathitrust</groupId>
|
---|
10 | <artifactId>htrc-ef-ingest</artifactId>
|
---|
11 | <version>0.9</version>
|
---|
12 | <packaging>jar</packaging>
|
---|
13 |
|
---|
14 | <dependencies>
|
---|
15 | <dependency>
|
---|
16 | <groupId>org.apache.spark</groupId>
|
---|
17 | <artifactId>spark-core_2.11</artifactId>
|
---|
18 | <version>2.0.1</version>
|
---|
19 | <scope>provided</scope>
|
---|
20 | </dependency>
|
---|
21 |
|
---|
22 | <dependency>
|
---|
23 | <groupId>org.mongodb</groupId>
|
---|
24 | <artifactId>mongo-java-driver</artifactId>
|
---|
25 | <version>3.4.1</version>
|
---|
26 | </dependency>
|
---|
27 | <!--
|
---|
28 | <dependency>
|
---|
29 | <groupId>org.mongodb.spark</groupId>
|
---|
30 | <artifactId>mongo-spark-connector_2.10</artifactId>
|
---|
31 | <version>0.1</version>
|
---|
32 | </dependency>
|
---|
33 | -->
|
---|
34 |
|
---|
35 | <!--
|
---|
36 | <dependency>
|
---|
37 | <groupId>org.apache.hadoop</groupId>
|
---|
38 | <artifactId>hadoop-client</artifactId>
|
---|
39 | <version>2.7.1</version>
|
---|
40 | </dependency>
|
---|
41 | -->
|
---|
42 |
|
---|
43 | <dependency>
|
---|
44 | <groupId>org.apache.commons</groupId>
|
---|
45 | <artifactId>commons-compress</artifactId>
|
---|
46 | <version>1.10</version>
|
---|
47 | </dependency>
|
---|
48 |
|
---|
49 | <dependency>
|
---|
50 | <groupId>org.json</groupId>
|
---|
51 | <artifactId>json</artifactId>
|
---|
52 | <version>20160212</version>
|
---|
53 | </dependency>
|
---|
54 |
|
---|
55 | <dependency>
|
---|
56 | <groupId>commons-cli</groupId>
|
---|
57 | <artifactId>commons-cli</artifactId>
|
---|
58 | <version>1.2</version>
|
---|
59 | </dependency>
|
---|
60 |
|
---|
61 | <dependency>
|
---|
62 | <groupId>com.google.guava</groupId>
|
---|
63 | <artifactId>guava</artifactId>
|
---|
64 | <version>20.0</version>
|
---|
65 | </dependency>
|
---|
66 |
|
---|
67 | <dependency>
|
---|
68 | <groupId>org.apache.lucene</groupId>
|
---|
69 | <artifactId>lucene-analyzers-icu</artifactId>
|
---|
70 | <version>6.3.0</version>
|
---|
71 | </dependency>
|
---|
72 |
|
---|
73 | </dependencies>
|
---|
74 |
|
---|
75 |
|
---|
76 | <build>
|
---|
77 | <plugins>
|
---|
78 | <plugin>
|
---|
79 | <groupId>org.apache.maven.plugins</groupId>
|
---|
80 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
81 | <version>2.3.2</version>
|
---|
82 | <configuration>
|
---|
83 | <source>1.8</source>
|
---|
84 | <target>1.8</target>
|
---|
85 |
|
---|
86 | </configuration>
|
---|
87 | </plugin>
|
---|
88 |
|
---|
89 | <plugin>
|
---|
90 | <groupId>org.apache.maven.plugins</groupId>
|
---|
91 | <artifactId>maven-shade-plugin</artifactId>
|
---|
92 | <version>2.4.3</version>
|
---|
93 | <configuration>
|
---|
94 | <relocations>
|
---|
95 | <relocation>
|
---|
96 | <pattern>com.google.common</pattern>
|
---|
97 | <shadedPattern>org.hathitrust.google.common</shadedPattern>
|
---|
98 | </relocation>
|
---|
99 | </relocations>
|
---|
100 | </configuration>
|
---|
101 | <executions>
|
---|
102 | <execution>
|
---|
103 | <phase>package</phase>
|
---|
104 | <goals>
|
---|
105 | <goal>shade</goal>
|
---|
106 | </goals>
|
---|
107 |
|
---|
108 | <configuration>
|
---|
109 | <archive>
|
---|
110 | <manifest>
|
---|
111 | <mainClass>org.hathitrust.extractedfeatures.ProcessForSolrIngest</mainClass>
|
---|
112 | </manifest>
|
---|
113 | </archive>
|
---|
114 | <filters>
|
---|
115 | <filter>
|
---|
116 | <artifact>*:*</artifact>
|
---|
117 | <excludes>
|
---|
118 | <exclude>META-INF/*.SF</exclude>
|
---|
119 | <exclude>META-INF/*.DSA</exclude>
|
---|
120 | <exclude>META-INF/*.RSA</exclude>
|
---|
121 | </excludes>
|
---|
122 | </filter>
|
---|
123 | </filters>
|
---|
124 |
|
---|
125 | <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
|
---|
126 |
|
---|
127 | </configuration>
|
---|
128 |
|
---|
129 | </execution>
|
---|
130 | </executions>
|
---|
131 | </plugin>
|
---|
132 | </plugins>
|
---|
133 | </build>
|
---|
134 |
|
---|
135 | </project>
|
---|