Project

General

Profile

1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
	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
	<version>2.4.2-SNAPSHOT</version>
8
	<name>metacat-index</name>
9
	<url>http://maven.apache.org</url>
10

    
11
	<repositories>
12
		<repository>
13
			<id>dataone.org</id>
14
			<url>http://dev-testing.dataone.org/maven</url>
15
			<releases>
16
				<enabled>true</enabled>
17
			</releases>
18
			<snapshots>
19
				<enabled>true</enabled>
20
			</snapshots>
21
		</repository>
22
	</repositories>
23

    
24
	<dependencies>
25
		<dependency>
26
			<groupId>junit</groupId>
27
			<artifactId>junit</artifactId>
28
			<version>4.7</version>
29
			<type>jar</type>
30
			<scope>test</scope>
31
		</dependency>
32
		<dependency>
33
			<groupId>edu.ucsb.nceas.metacat.common</groupId>
34
			<artifactId>metacat-common</artifactId>
35
			<version>2.4.2-SNAPSHOT</version>
36
			<type>jar</type>
37
			<exclusions>
38
				<exclusion>
39
					<groupId>org.apache.httpcomponents</groupId>
40
					<artifactId>httpclient</artifactId>
41
				</exclusion>
42
				<exclusion>
43
					<groupId>org.apache.httpcomponents</groupId>
44
					<artifactId>httpmime</artifactId>
45
				</exclusion>
46
			</exclusions>
47
		</dependency>
48
		<dependency>
49
			<groupId>javax.servlet</groupId>
50
			<artifactId>servlet-api</artifactId>
51
			<version>2.5</version>
52
			<type>jar</type>
53
			<scope>provided</scope>
54
		</dependency>
55
		 <dependency>
56
        <groupId>org.dataone</groupId>
57
        <artifactId>d1_cn_index_processor</artifactId>
58
        <version>1.2.0</version>
59
        <type>jar</type>
60
        <exclusions>
61
                <exclusion>
62
                    <groupId>org.slf4j</groupId>
63
                    <artifactId>slf4j-log4j12</artifactId>
64
                </exclusion>
65
				<exclusion>
66
					<groupId>com.hp.hpl.jena</groupId>
67
					<artifactId>jena</artifactId>
68
				</exclusion>
69
				<exclusion>
70
					<groupId>org.apache.httpcomponents</groupId>
71
					<artifactId>httpclient</artifactId>
72
				</exclusion>
73
				
74
				<exclusion>
75
					<groupId>xml-apis</groupId>
76
					<artifactId>xml-apis</artifactId>
77
				</exclusion>
78
        </exclusions>
79
        </dependency>
80
        <dependency>
81
            <groupId>commons-io</groupId>
82
            <artifactId>commons-io</artifactId>
83
            <version>2.4</version>
84
        </dependency>
85
        
86
        <dependency>
87
			<groupId>org.apache.jena</groupId>
88
			<artifactId>jena-tdb</artifactId>
89
			<version>1.0.0</version>
90
		</dependency>
91
		
92
	</dependencies>
93

    
94
	<build>
95
		<plugins>
96
		
97
		 <plugin>
98
            <artifactId>maven-resources-plugin</artifactId>
99
            <version>2.6</version>
100
            <executions>
101
                <execution>
102
                    <id>copy-resources</id>
103
                    <!-- here the phase you need -->
104
                    <phase>validate</phase>
105
                    <goals>
106
                        <goal>copy-resources</goal>
107
                    </goals>
108
                    <configuration>
109
                        <outputDirectory>target/classes/solr-home</outputDirectory>
110
                        <resources>          
111
                            <resource>
112
                                <directory>../metacat-common/src/main/resources/solr-home</directory>
113
                                <filtering>true</filtering>
114
                            </resource>
115
                        </resources>              
116
                    </configuration>            
117
                 </execution>
118
                </executions>
119
            </plugin>
120
			<plugin>
121
				<groupId>org.apache.maven.plugins</groupId>
122
				<artifactId>maven-compiler-plugin</artifactId>
123
				<version>2.3</version>
124
				<configuration>
125
					<source>1.6</source>
126
					<target>1.6</target>
127
				</configuration>
128
			</plugin>
129
		
130
			<plugin>
131
				<artifactId>maven-failsafe-plugin</artifactId>
132
				<version>2.6</version>
133
				<executions>
134
					<execution>
135
						<goals>
136
							<goal>integration-test</goal>
137
							<goal>verify</goal>
138
						</goals>
139
					</execution>
140
				</executions>
141
			</plugin>
142

    
143
		</plugins>
144
	</build>
145

    
146
</project>
    (1-1/1)