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

Revision 31213, 2.9 KB (checked in by davidb, 3 years ago)

Tidy up

  • 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    <!--
23    <dependency>
24      <groupId>org.apache.hadoop</groupId>
25      <artifactId>hadoop-client</artifactId>
26      <version>2.7.1</version>
27    </dependency>
28    -->
29
30    <dependency>
31      <groupId>org.apache.commons</groupId>
32      <artifactId>commons-compress</artifactId>
33      <version>1.10</version>
34    </dependency>
35   
36    <dependency>
37      <groupId>org.json</groupId>
38      <artifactId>json</artifactId>
39      <version>20160212</version>
40    </dependency>
41   
42    <dependency>
43      <groupId>commons-cli</groupId>
44      <artifactId>commons-cli</artifactId>
45      <version>1.2</version>
46    </dependency>
47
48    <dependency>
49      <groupId>com.google.guava</groupId>
50      <artifactId>guava</artifactId>
51      <version>20.0</version>
52    </dependency>
53   
54  </dependencies>
55
56
57   <build>
58     <plugins>
59       <plugin>
60     <groupId>org.apache.maven.plugins</groupId>
61     <artifactId>maven-compiler-plugin</artifactId>
62     <version>2.3.2</version>
63     <configuration>
64       <source>1.8</source>
65       <target>1.8</target>
66     </configuration>
67       </plugin>
68
69       <plugin>
70     <groupId>org.apache.maven.plugins</groupId>
71     <artifactId>maven-shade-plugin</artifactId>
72     <version>2.4.3</version>
73     <configuration>
74       <relocations>
75         <relocation>
76           <pattern>com.google.common</pattern>
77           <shadedPattern>org.hathitrust.google.common</shadedPattern>
78         </relocation>
79       </relocations>
80     </configuration>
81     <executions>
82       <execution>
83         <phase>package</phase>
84         <goals>
85           <goal>shade</goal>
86         </goals>
87
88     <configuration>
89       <archive>
90         <manifest>
91               <mainClass>org.hathitrust.extractedfeatures.ProcessForSolrIngest</mainClass>
92         </manifest>
93       </archive>
94       <filters>
95         <filter>
96           <artifact>*:*</artifact>
97           <excludes>
98         <exclude>META-INF/*.SF</exclude>
99         <exclude>META-INF/*.DSA</exclude>
100         <exclude>META-INF/*.RSA</exclude>
101           </excludes>
102         </filter>
103       </filters>
104
105       <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
106
107     </configuration>
108
109       </execution>
110     </executions>
111       </plugin>
112     </plugins>
113   </build>
114 
115</project>
Note: See TracBrowser for help on using the browser.