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.8.0-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://maven.dataone.org</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.8.0-SNAPSHOT</version>
36
			<type>jar</type>
37
		</dependency>
38
		<dependency>
39
			<groupId>javax.servlet</groupId>
40
			<artifactId>servlet-api</artifactId>
41
			<version>2.5</version>
42
			<type>jar</type>
43
			<scope>provided</scope>
44
		</dependency>
45
		 <dependency>
46
        <groupId>org.dataone</groupId>
47
        <artifactId>d1_cn_index_processor</artifactId>
48
        <version>2.2.0-SNAPSHOT</version>
49
        <type>jar</type>
50
        <exclusions>
51
                <exclusion>
52
                    <groupId>org.slf4j</groupId>
53
                    <artifactId>slf4j-log4j12</artifactId>
54
                </exclusion>
55
				<exclusion>
56
					<groupId>com.hp.hpl.jena</groupId>
57
					<artifactId>jena</artifactId>
58
				</exclusion>				
59
				<exclusion>
60
					<groupId>xml-apis</groupId>
61
					<artifactId>xml-apis</artifactId>
62
				</exclusion>
63
        </exclusions>
64
        </dependency>
65
        <dependency>
66
            <groupId>commons-io</groupId>
67
            <artifactId>commons-io</artifactId>
68
            <version>2.4</version>
69
        </dependency>
70
        
71
        <dependency>
72
			<groupId>org.apache.jena</groupId>
73
			<artifactId>jena-tdb</artifactId>
74
			<version>1.0.0</version>
75
		</dependency>
76
		
77
	</dependencies>
78

    
79
	<build>
80
		<plugins>
81
		
82
		 <plugin>
83
            <artifactId>maven-resources-plugin</artifactId>
84
            <version>2.6</version>
85
            <executions>
86
                <execution>
87
                    <id>copy-resources</id>
88
                    <!-- here the phase you need -->
89
                    <phase>validate</phase>
90
                    <goals>
91
                        <goal>copy-resources</goal>
92
                    </goals>
93
                    <configuration>
94
                        <outputDirectory>target/classes/solr-home</outputDirectory>
95
                        <resources>          
96
                            <resource>
97
                                <directory>../metacat-common/src/main/resources/solr-home</directory>
98
                                <filtering>true</filtering>
99
                            </resource>
100
                        </resources>              
101
                    </configuration>            
102
                 </execution>
103
                </executions>
104
            </plugin>
105
			<plugin>
106
				<groupId>org.apache.maven.plugins</groupId>
107
				<artifactId>maven-compiler-plugin</artifactId>
108
				<version>2.3</version>
109
				<configuration>
110
					<source>1.6</source>
111
					<target>1.6</target>
112
				</configuration>
113
			</plugin>
114
		
115
			<plugin>
116
				<artifactId>maven-failsafe-plugin</artifactId>
117
				<version>2.6</version>
118
				<executions>
119
					<execution>
120
						<goals>
121
							<goal>integration-test</goal>
122
							<goal>verify</goal>
123
						</goals>
124
					</execution>
125
				</executions>
126
			</plugin>
127

    
128
		</plugins>
129
	</build>
130

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