root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/pom.xml @ 31377

Revision 31377, 3.5 KB (checked in by davidb, 4 years ago)

Switch to using URI not string

  • Property svn:executable set to *
Line 
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.scala-lang</groupId>
24      <artifactId>scala-library</artifactId>
25      <version>2.12.1</version>
26    </dependency>
27
28    <dependency>
29      <groupId>org.mongodb</groupId>
30      <artifactId>mongo-java-driver</artifactId>
31      <version>3.4.1</version>
32    </dependency>
33<!--
34    <dependency>
35      <groupId>org.mongodb.spark</groupId>
36      <artifactId>mongo-spark-connector_2.10</artifactId>
37      <version>0.1</version>
38    </dependency>
39-->
40
41    <!--
42    <dependency>
43      <groupId>org.apache.hadoop</groupId>
44      <artifactId>hadoop-client</artifactId>
45      <version>2.7.1</version>
46    </dependency>
47    -->
48
49    <dependency>
50      <groupId>org.apache.commons</groupId>
51      <artifactId>commons-compress</artifactId>
52      <version>1.10</version>
53    </dependency>
54   
55    <dependency>
56      <groupId>org.json</groupId>
57      <artifactId>json</artifactId>
58      <version>20160212</version>
59    </dependency>
60   
61    <dependency>
62      <groupId>commons-cli</groupId>
63      <artifactId>commons-cli</artifactId>
64      <version>1.2</version>
65    </dependency>
66
67    <dependency>
68      <groupId>com.google.guava</groupId>
69      <artifactId>guava</artifactId>
70      <version>20.0</version>
71    </dependency>
72
73    <dependency>
74      <groupId>org.apache.lucene</groupId>
75      <artifactId>lucene-analyzers-icu</artifactId>
76      <version>6.3.0</version>
77    </dependency>
78
79  </dependencies>
80
81
82   <build>
83     <plugins>
84       <plugin>
85     <groupId>org.apache.maven.plugins</groupId>
86     <artifactId>maven-compiler-plugin</artifactId>
87     <version>2.3.2</version>
88     <configuration>
89       <source>1.8</source>
90       <target>1.8</target>
91
92     </configuration>
93       </plugin>
94
95       <plugin>
96     <groupId>org.apache.maven.plugins</groupId>
97     <artifactId>maven-shade-plugin</artifactId>
98     <version>2.4.3</version>
99     <configuration>
100       <relocations>
101         <relocation>
102           <pattern>com.google.common</pattern>
103           <shadedPattern>org.hathitrust.google.common</shadedPattern>
104         </relocation>
105       </relocations>
106     </configuration>
107     <executions>
108       <execution>
109         <phase>package</phase>
110         <goals>
111           <goal>shade</goal>
112         </goals>
113
114     <configuration>
115       <archive>
116         <manifest>
117               <mainClass>org.hathitrust.extractedfeatures.ProcessForSolrIngest</mainClass>
118         </manifest>
119       </archive>
120       <filters>
121         <filter>
122           <artifact>*:*</artifact>
123           <excludes>
124         <exclude>META-INF/*.SF</exclude>
125         <exclude>META-INF/*.DSA</exclude>
126         <exclude>META-INF/*.RSA</exclude>
127           </excludes>
128         </filter>
129       </filters>
130
131       <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
132
133     </configuration>
134
135       </execution>
136     </executions>
137       </plugin>
138     </plugins>
139   </build>
140 
141</project>
Note: See TracBrowser for help on using the browser.