Project

General

Profile

1 7538 tao
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 7581 leinfelder
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4
	<groupId>edu.ucsb.nceas.metacat.index</groupId>
5
	<artifactId>metacat-index</artifactId>
6
	<packaging>war</packaging>
7 10215 tao
	<version>2.9.0-SNAPSHOT</version>
8 7581 leinfelder
	<name>metacat-index</name>
9
	<url>http://maven.apache.org</url>
10 9829 tao
11
	<properties>
12 10215 tao
        <d1_cn_index_processor_version>2.4.0-SNAPSHOT</d1_cn_index_processor_version>
13
        <metacat_common_version>2.9.0-SNAPSHOT</metacat_common_version>
14 9829 tao
    </properties>
15
16 7581 leinfelder
	<repositories>
17
		<repository>
18
			<id>dataone.org</id>
19 8965 leinfelder
			<url>http://maven.dataone.org</url>
20 7581 leinfelder
			<releases>
21
				<enabled>true</enabled>
22
			</releases>
23
			<snapshots>
24
				<enabled>true</enabled>
25
			</snapshots>
26
		</repository>
27
	</repositories>
28
29
	<dependencies>
30
		<dependency>
31
			<groupId>junit</groupId>
32
			<artifactId>junit</artifactId>
33
			<version>4.7</version>
34
			<type>jar</type>
35
			<scope>test</scope>
36
		</dependency>
37
		<dependency>
38 7631 tao
			<groupId>edu.ucsb.nceas.metacat.common</groupId>
39
			<artifactId>metacat-common</artifactId>
40 9829 tao
			<version>${metacat_common_version}</version>
41 7581 leinfelder
			<type>jar</type>
42
		</dependency>
43
		<dependency>
44
			<groupId>javax.servlet</groupId>
45
			<artifactId>servlet-api</artifactId>
46
			<version>2.5</version>
47
			<type>jar</type>
48
			<scope>provided</scope>
49
		</dependency>
50 7717 tao
		 <dependency>
51
        <groupId>org.dataone</groupId>
52
        <artifactId>d1_cn_index_processor</artifactId>
53 9829 tao
        <version>${d1_cn_index_processor_version}</version>
54 7717 tao
        <type>jar</type>
55
        <exclusions>
56
                <exclusion>
57
                    <groupId>org.slf4j</groupId>
58
                    <artifactId>slf4j-log4j12</artifactId>
59
                </exclusion>
60 8498 leinfelder
				<exclusion>
61
					<groupId>com.hp.hpl.jena</groupId>
62
					<artifactId>jena</artifactId>
63 8758 leinfelder
				</exclusion>
64 8498 leinfelder
				<exclusion>
65
					<groupId>xml-apis</groupId>
66
					<artifactId>xml-apis</artifactId>
67
				</exclusion>
68 10436 tao
				<exclusion>
69
				   <groupId>org.apache.solr</groupId>
70
                    <artifactId>solr-solrj</artifactId>
71
				</exclusion>
72 7717 tao
        </exclusions>
73
        </dependency>
74 7799 tao
        <dependency>
75
            <groupId>commons-io</groupId>
76
            <artifactId>commons-io</artifactId>
77
            <version>2.4</version>
78
        </dependency>
79 8498 leinfelder
80
        <dependency>
81
			<groupId>org.apache.jena</groupId>
82
			<artifactId>jena-tdb</artifactId>
83
			<version>1.0.0</version>
84
		</dependency>
85 7717 tao
86 7581 leinfelder
	</dependencies>
87 7582 leinfelder
88
	<build>
89
		<plugins>
90 8153 tao
91
		 <plugin>
92
            <artifactId>maven-resources-plugin</artifactId>
93
            <version>2.6</version>
94
            <executions>
95
                <execution>
96
                    <id>copy-resources</id>
97
                    <!-- here the phase you need -->
98
                    <phase>validate</phase>
99
                    <goals>
100
                        <goal>copy-resources</goal>
101
                    </goals>
102
                    <configuration>
103
                        <outputDirectory>target/classes/solr-home</outputDirectory>
104
                        <resources>
105
                            <resource>
106
                                <directory>../metacat-common/src/main/resources/solr-home</directory>
107
                                <filtering>true</filtering>
108
                            </resource>
109
                        </resources>
110
                    </configuration>
111
                 </execution>
112
                </executions>
113
            </plugin>
114 7701 leinfelder
			<plugin>
115
				<groupId>org.apache.maven.plugins</groupId>
116
				<artifactId>maven-compiler-plugin</artifactId>
117
				<version>2.3</version>
118
				<configuration>
119
					<source>1.6</source>
120
					<target>1.6</target>
121
				</configuration>
122
			</plugin>
123 7582 leinfelder
124
			<plugin>
125
				<artifactId>maven-failsafe-plugin</artifactId>
126
				<version>2.6</version>
127
				<executions>
128
					<execution>
129
						<goals>
130
							<goal>integration-test</goal>
131
							<goal>verify</goal>
132
						</goals>
133
					</execution>
134
				</executions>
135
			</plugin>
136
137
		</plugins>
138
	</build>
139
140 7538 tao
</project>