<?xml version="1.0" encoding="UTF-8"?> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.dataone</groupId> <artifactId>d1_cn_index_tool</artifactId> <name>d1_cn_index_tool</name> <version>2.4.0-SNAPSHOT</version> <licenses> <license> <name>Apache License, Version 2.0</name> <url>LICENSE.txt</url> </license> </licenses> <scm> <connection>scm:svn:https://repository.dataone.org/software/cicore</connection> <developerConnection>scm:svn:https://repository.dataone.org/software/cicore</developerConnection> <url>https://repository.dataone.org/software/cicore</url> </scm> <build> <resources> <resource> <filtering>true</filtering> <directory>src/main/resources</directory> <includes> <include>buildInfo/buildInfo.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.*</include> </includes> </resource> </resources> <finalName>d1_index_build_tool</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>${compiler.target.version}</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <doCheck>false</doCheck> <doUpdate>false</doUpdate> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>1.7.1</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> <exclude>META-INF/*.INF</exclude> <exclude>META-INF/eclipse.inf</exclude> </excludes> </filter> </filters> <transformers> <transformer> <mainClass>org.dataone.cn.utility.SolrIndexBuildTool</mainClass> </transformer> <transformer> <resource>META-INF/spring.handlers</resource> </transformer> <transformer> <resource>META-INF/spring.schemas</resource> </transformer> <transformer> <resource>buildInfo/buildInfo.properties</resource> </transformer> <transformer /> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>sonatype.org</id> <url>https://repository.sonatype.org/content/shadows/centralm1</url> </repository> <repository> <releases /> <snapshots /> <id>dataone.org</id> <url>http://maven.dataone.org/maven</url> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <d1_common_java.version>2.4.0-SNAPSHOT</d1_common_java.version> <hazelcast.version>2.4.1</hazelcast.version> <d1_cn_index_generator.version>2.4.0-SNAPSHOT</d1_cn_index_generator.version> <d1_cn_index_common.version>2.4.0-SNAPSHOT</d1_cn_index_common.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <compiler.target.version>1.8</compiler.target.version> <d1_cn_index_processor.version>2.4.0-SNAPSHOT</d1_cn_index_processor.version> <d1_libclient_java.version>2.4.0-SNAPSHOT</d1_libclient_java.version> <d1_cn_common.version>2.4.0-SNAPSHOT</d1_cn_common.version> <spring.version>4.3.8.RELEASE</spring.version> </properties> </project>