Project

General

Profile

metacat / metacat-index / pom.xml @ 8440

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.3.1</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.3.1</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>1.2.0</version>
49
        <type>jar</type>
50
        <exclusions>
51
                <exclusion>
52
                    <groupId>org.slf4j</groupId>
53
                    <artifactId>slf4j-log4j12</artifactId>
54
                </exclusion>
55
        </exclusions>
56
        </dependency>
57
        <dependency>
58
            <groupId>commons-io</groupId>
59
            <artifactId>commons-io</artifactId>
60
            <version>2.4</version>
61
        </dependency>
62
                
63
        </dependencies>
64

    
65
        <build>
66
                <plugins>
67
                
68
                 <plugin>
69
            <artifactId>maven-resources-plugin</artifactId>
70
            <version>2.6</version>
71
            <executions>
72
                <execution>
73
                    <id>copy-resources</id>
74
                    <!-- here the phase you need -->
75
                    <phase>validate</phase>
76
                    <goals>
77
                        <goal>copy-resources</goal>
78
                    </goals>
79
                    <configuration>
80
                        <outputDirectory>target/classes/solr-home</outputDirectory>
81
                        <resources>          
82
                            <resource>
83
                                <directory>../metacat-common/src/main/resources/solr-home</directory>
84
                                <filtering>true</filtering>
85
                            </resource>
86
                        </resources>              
87
                    </configuration>            
88
                 </execution>
89
                </executions>
90
            </plugin>
91
                        <plugin>
92
                                <groupId>org.apache.maven.plugins</groupId>
93
                                <artifactId>maven-compiler-plugin</artifactId>
94
                                <version>2.3</version>
95
                                <configuration>
96
                                        <source>1.6</source>
97
                                        <target>1.6</target>
98
                                </configuration>
99
                        </plugin>
100
                
101
                        <plugin>
102
                                <artifactId>maven-failsafe-plugin</artifactId>
103
                                <version>2.6</version>
104
                                <executions>
105
                                        <execution>
106
                                                <goals>
107
                                                        <goal>integration-test</goal>
108
                                                        <goal>verify</goal>
109
                                                </goals>
110
                                        </execution>
111
                                </executions>
112
                        </plugin>
113

    
114
                </plugins>
115
        </build>
116

    
117
</project>