metacat / metacat-common / pom.xml @ 10378
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.common</groupId> |
5 |
<artifactId>metacat-common</artifactId> |
6 |
<packaging>jar</packaging> |
7 |
<version>2.9.0-SNAPSHOT</version> |
8 |
<name>metacat-common</name> |
9 |
<url>http://maven.apache.org</url> |
10 |
<properties>
|
11 |
<d1_common_java_version>2.4.0-SNAPSHOT</d1_common_java_version> |
12 |
<d1_solr_index_schema_name>index-solr-schema-v1_1.xml</d1_solr_index_schema_name> |
13 |
<d1_solr_index_schema_url>scm:svn:https://repository.dataone.org/software/cicore/tags/DATAONE-CN-INDEX_v1.2.1/usr/share/dataone-cn-index</d1_solr_index_schema_url> |
14 |
</properties>
|
15 |
<repositories>
|
16 |
<repository>
|
17 |
<id>dataone.org</id> |
18 |
<url>http://maven.dataone.org</url> |
19 |
<releases>
|
20 |
<enabled>true</enabled> |
21 |
</releases>
|
22 |
<snapshots>
|
23 |
<enabled>true</enabled> |
24 |
</snapshots>
|
25 |
</repository>
|
26 |
</repositories>
|
27 |
<dependencies>
|
28 |
<dependency>
|
29 |
<groupId>junit</groupId> |
30 |
<artifactId>junit</artifactId> |
31 |
<version>4.8.2</version> |
32 |
<scope>test</scope> |
33 |
</dependency>
|
34 |
<dependency>
|
35 |
<groupId>javax.servlet</groupId> |
36 |
<artifactId>servlet-api</artifactId> |
37 |
<version>2.5</version> |
38 |
<type>jar</type> |
39 |
<scope>test</scope> |
40 |
</dependency>
|
41 |
<dependency>
|
42 |
<groupId>org.apache.solr</groupId> |
43 |
<artifactId>solr-core</artifactId> |
44 |
<version>3.6.2</version> |
45 |
<exclusions>
|
46 |
<exclusion>
|
47 |
<groupId>org.slf4j</groupId> |
48 |
<artifactId>slf4j-jdk14</artifactId> |
49 |
</exclusion>
|
50 |
</exclusions>
|
51 |
</dependency>
|
52 |
<dependency>
|
53 |
<groupId>org.slf4j</groupId> |
54 |
<artifactId>slf4j-log4j12</artifactId> |
55 |
<version>1.6.1</version> |
56 |
</dependency>
|
57 |
<dependency>
|
58 |
<groupId>org.apache.solr</groupId> |
59 |
<artifactId>solr-test-framework</artifactId> |
60 |
<version>3.6.2</version> |
61 |
</dependency>
|
62 |
<dependency>
|
63 |
<groupId>org.dataone</groupId> |
64 |
<artifactId>d1_common_java</artifactId> |
65 |
<version>${d1_common_java_version}</version> |
66 |
<type>jar</type> |
67 |
<!-- exclude extraneous artifacts (jars) -->
|
68 |
<exclusions>
|
69 |
<exclusion>
|
70 |
<groupId>org.jibx</groupId> |
71 |
<artifactId>jibx-tools</artifactId> |
72 |
</exclusion>
|
73 |
<exclusion>
|
74 |
<groupId>org.jibx</groupId> |
75 |
<artifactId>jibx-schema</artifactId> |
76 |
</exclusion>
|
77 |
<exclusion>
|
78 |
<groupId>org.jibx</groupId> |
79 |
<artifactId>jibx-extras</artifactId> |
80 |
</exclusion>
|
81 |
<exclusion>
|
82 |
<groupId>org.jibx</groupId> |
83 |
<artifactId>jibx-bind</artifactId> |
84 |
</exclusion>
|
85 |
<exclusion>
|
86 |
<groupId>org.apache.maven.plugins</groupId> |
87 |
<artifactId>maven-compiler-plugin</artifactId> |
88 |
</exclusion>
|
89 |
<exclusion>
|
90 |
<groupId>org.apache.maven.plugins</groupId> |
91 |
<artifactId>maven-jar-plugin</artifactId> |
92 |
</exclusion>
|
93 |
<exclusion>
|
94 |
<groupId>org.apache.maven.plugins</groupId> |
95 |
<artifactId>maven-clean-plugin</artifactId> |
96 |
</exclusion>
|
97 |
<exclusion>
|
98 |
<groupId>org.jibx</groupId> |
99 |
<artifactId>maven-jibx-plugin</artifactId> |
100 |
</exclusion>
|
101 |
</exclusions>
|
102 |
</dependency>
|
103 |
</dependencies>
|
104 |
<build>
|
105 |
<resources>
|
106 |
<resource>
|
107 |
<directory>src/main/resources</directory> |
108 |
<excludes>
|
109 |
<exclude>solr-home/**</exclude> |
110 |
</excludes>
|
111 |
<filtering>false</filtering> |
112 |
</resource>
|
113 |
</resources>
|
114 |
<plugins>
|
115 |
<!--
|
116 |
<plugin>
|
117 |
<groupId>org.apache.maven.plugins</groupId>
|
118 |
<artifactId>maven-scm-plugin</artifactId>
|
119 |
<version>1.8.1</version>
|
120 |
<executions>
|
121 |
<execution>
|
122 |
<phase>validate</phase>
|
123 |
<goals>
|
124 |
<goal>export</goal>
|
125 |
</goals>
|
126 |
<configuration>
|
127 |
<connectionType>connection</connectionType>
|
128 |
<connectionUrl>${d1_solr_index_schema_url}</connectionUrl >
|
129 |
</configuration>
|
130 |
</execution>
|
131 |
</executions>
|
132 |
</plugin>
|
133 |
-->
|
134 |
<!--
|
135 |
<plugin>
|
136 |
<groupId>org.apache.maven.plugins</groupId>
|
137 |
<artifactId>maven-antrun-plugin</artifactId>
|
138 |
<version>1.7</version>
|
139 |
<executions>
|
140 |
<execution>
|
141 |
<id>copy</id>
|
142 |
<phase>validate</phase>
|
143 |
<goals>
|
144 |
<goal>run</goal>
|
145 |
</goals>
|
146 |
<configuration>
|
147 |
<target name="copy and rename file">
|
148 |
<copy file="target/export/${d1_solr_index_schema_name}" tofile="src/main/resources/solr-home/conf/schema.xml" overwrite="true" />
|
149 |
</target>
|
150 |
</configuration>
|
151 |
</execution>
|
152 |
</executions>
|
153 |
</plugin>
|
154 |
-->
|
155 |
<plugin>
|
156 |
<artifactId>maven-resources-plugin</artifactId> |
157 |
<version>2.6</version> |
158 |
<executions>
|
159 |
<execution>
|
160 |
<id>copy-resources</id> |
161 |
<!-- here the phase you need -->
|
162 |
<phase>validate</phase> |
163 |
<goals>
|
164 |
<goal>copy-resources</goal> |
165 |
</goals>
|
166 |
<configuration>
|
167 |
<outputDirectory>target/solr-home</outputDirectory> |
168 |
<resources>
|
169 |
<resource>
|
170 |
<directory>src/main/resources/solr-home</directory> |
171 |
<filtering>false</filtering> |
172 |
</resource>
|
173 |
</resources>
|
174 |
<overwrite>true</overwrite> |
175 |
</configuration>
|
176 |
</execution>
|
177 |
</executions>
|
178 |
</plugin>
|
179 |
<plugin>
|
180 |
<groupId>org.apache.maven.plugins</groupId> |
181 |
<artifactId>maven-compiler-plugin</artifactId> |
182 |
<version>2.3</version> |
183 |
<configuration>
|
184 |
<source>1.6</source> |
185 |
<target>1.6</target> |
186 |
</configuration>
|
187 |
</plugin>
|
188 |
</plugins>
|
189 |
</build>
|
190 |
</project>
|