[30898] | 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 |
|
---|
[31177] | 48 | <dependency>
|
---|
| 49 | <groupId>com.google.guava</groupId>
|
---|
| 50 | <artifactId>guava</artifactId>
|
---|
| 51 | <version>20.0</version>
|
---|
| 52 | </dependency>
|
---|
| 53 |
|
---|
[30898] | 54 | </dependencies>
|
---|
| 55 |
|
---|
| 56 |
|
---|
| 57 | <build>
|
---|
| 58 | <plugins>
|
---|
| 59 | <plugin>
|
---|
| 60 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[31212] | 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 |
|
---|
| 112 | <!--
|
---|
| 113 | <executions>
|
---|
| 114 | <execution>
|
---|
| 115 | <phase>package</phase>
|
---|
| 116 | <goals>
|
---|
| 117 | <goal>shade</goal>
|
---|
| 118 | </goals>
|
---|
| 119 | <configuration>
|
---|
| 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 | <artifactSet>
|
---|
| 131 | <excludes>
|
---|
| 132 | <exclude>org.datanucleus</exclude>
|
---|
| 133 | </excludes>
|
---|
| 134 | </artifactSet>
|
---|
| 135 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
|
---|
| 136 | <transformers>
|
---|
| 137 | <transformer
|
---|
| 138 | implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
|
---|
| 139 | />
|
---|
| 140 | </transformers>
|
---|
| 141 | </configuration>
|
---|
| 142 | </execution>
|
---|
| 143 | </executions>
|
---|
| 144 | -->
|
---|
| 145 | </plugin>
|
---|
| 146 |
|
---|
| 147 |
|
---|
| 148 | <!--
|
---|
| 149 | <plugin>
|
---|
| 150 | <groupId>org.apache.maven.plugins</groupId>
|
---|
[30898] | 151 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 152 | <configuration>
|
---|
| 153 | <archive>
|
---|
| 154 | <manifest>
|
---|
[30999] | 155 | <mainClass>org.hathitrust.extractedfeatures.ProcessForSolrIngest</mainClass>
|
---|
[30898] | 156 | </manifest>
|
---|
| 157 | </archive>
|
---|
[31212] | 158 | <filters>
|
---|
| 159 | <filter>
|
---|
| 160 | <artifact>*:*</artifact>
|
---|
| 161 | <excludes>
|
---|
| 162 | <exclude>META-INF/*.SF</exclude>
|
---|
| 163 | <exclude>META-INF/*.DSA</exclude>
|
---|
| 164 | <exclude>META-INF/*.RSA</exclude>
|
---|
| 165 | </excludes>
|
---|
| 166 | </filter>
|
---|
| 167 | </filters>
|
---|
| 168 | <finalName>uber-${project.artifactId}-${project.version}</finalName>
|
---|
[30898] | 169 | </configuration>
|
---|
| 170 | </plugin>
|
---|
[31212] | 171 | -->
|
---|
[30898] | 172 | </plugins>
|
---|
| 173 | </build>
|
---|
| 174 |
|
---|
| 175 | </project>
|
---|