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.9.0-SNAPSHOT</version>
8
	<name>metacat-index</name>
9
	<url>http://maven.apache.org</url>
10
	
11
	<properties>
12
        <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
    </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
				<exclusion>
69
				   <groupId>org.apache.solr</groupId>
70
                    <artifactId>solr-solrj</artifactId>
71
				</exclusion>
72
        </exclusions>
73
        </dependency>
74
        <dependency>
75
            <groupId>commons-io</groupId>
76
            <artifactId>commons-io</artifactId>
77
            <version>2.4</version>
78
        </dependency>
79
        
80
        <dependency>
81
			<groupId>org.apache.jena</groupId>
82
			<artifactId>jena-tdb</artifactId>
83
			<version>1.0.0</version>
84
		</dependency>
85
		
86
	</dependencies>
87

    
88
	<build>
89
		<plugins>
90
		
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
			<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
		
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
</project>
    (1-1/1)