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.1-SNAPSHOT</version>
8
	<name>metacat-index</name>
9
	<url>http://maven.apache.org</url>
10
	
11
	<properties>
12
        <d1_cn_index_processor_version>2.3.0-SNAPSHOT</d1_cn_index_processor_version>
13
        <metacat_common_version>2.8.1-SNAPSHOT</metacat_common_version>
14
    </properties>
15
	
16
	<repositories>
17
		<repository>
18
			<id>dataone.org</id>
19
			<url>http://maven.dataone.org</url>
20
			<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
			<groupId>edu.ucsb.nceas.metacat.common</groupId>
39
			<artifactId>metacat-common</artifactId>
40
			<version>${metacat_common_version}</version>
41
			<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
		 <dependency>
51
        <groupId>org.dataone</groupId>
52
        <artifactId>d1_cn_index_processor</artifactId>
53
        <version>${d1_cn_index_processor_version}</version>
54
        <type>jar</type>
55
        <exclusions>
56
                <exclusion>
57
                    <groupId>org.slf4j</groupId>
58
                    <artifactId>slf4j-log4j12</artifactId>
59
                </exclusion>
60
				<exclusion>
61
					<groupId>com.hp.hpl.jena</groupId>
62
					<artifactId>jena</artifactId>
63
				</exclusion>				
64
				<exclusion>
65
					<groupId>xml-apis</groupId>
66
					<artifactId>xml-apis</artifactId>
67
				</exclusion>
68
        </exclusions>
69
        </dependency>
70
        <dependency>
71
            <groupId>commons-io</groupId>
72
            <artifactId>commons-io</artifactId>
73
            <version>2.4</version>
74
        </dependency>
75
        
76
        <dependency>
77
			<groupId>org.apache.jena</groupId>
78
			<artifactId>jena-tdb</artifactId>
79
			<version>1.0.0</version>
80
		</dependency>
81
		
82
	</dependencies>
83

    
84
	<build>
85
		<plugins>
86
		
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
			<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
		
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
</project>
    (1-1/1)