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 9792 tao
	<version>2.8.0-SNAPSHOT</version>
8 7581 leinfelder
	<name>metacat-index</name>
9
	<url>http://maven.apache.org</url>
10 9829 tao
11
	<properties>
12
        <d1_cn_index_processor_version>2.3.0-SNAPSHOT</d1_cn_index_processor_version>
13
        <metacat_common_version>2.8.0-SNAPSHOT</metacat_common_version>
14
    </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 7717 tao
        </exclusions>
69
        </dependency>
70 7799 tao
        <dependency>
71
            <groupId>commons-io</groupId>
72
            <artifactId>commons-io</artifactId>
73
            <version>2.4</version>
74
        </dependency>
75 8498 leinfelder
76
        <dependency>
77
			<groupId>org.apache.jena</groupId>
78
			<artifactId>jena-tdb</artifactId>
79
			<version>1.0.0</version>
80
		</dependency>
81 7717 tao
82 7581 leinfelder
	</dependencies>
83 7582 leinfelder
84
	<build>
85
		<plugins>
86 8153 tao
87
		 <plugin>
88
            <artifactId>maven-resources-plugin</artifactId>
89
            <version>2.6</version>
90
            <executions>
91
                <execution>
92
                    <id>copy-resources</id>
93
                    <!-- here the phase you need -->
94
                    <phase>validate</phase>
95
                    <goals>
96
                        <goal>copy-resources</goal>
97
                    </goals>
98
                    <configuration>
99
                        <outputDirectory>target/classes/solr-home</outputDirectory>
100
                        <resources>
101
                            <resource>
102
                                <directory>../metacat-common/src/main/resources/solr-home</directory>
103
                                <filtering>true</filtering>
104
                            </resource>
105
                        </resources>
106
                    </configuration>
107
                 </execution>
108
                </executions>
109
            </plugin>
110 7701 leinfelder
			<plugin>
111
				<groupId>org.apache.maven.plugins</groupId>
112
				<artifactId>maven-compiler-plugin</artifactId>
113
				<version>2.3</version>
114
				<configuration>
115
					<source>1.6</source>
116
					<target>1.6</target>
117
				</configuration>
118
			</plugin>
119 7582 leinfelder
120
			<plugin>
121
				<artifactId>maven-failsafe-plugin</artifactId>
122
				<version>2.6</version>
123
				<executions>
124
					<execution>
125
						<goals>
126
							<goal>integration-test</goal>
127
							<goal>verify</goal>
128
						</goals>
129
					</execution>
130
				</executions>
131
			</plugin>
132
133
		</plugins>
134
	</build>
135
136 7538 tao
</project>