Project

General

Profile

1 7628 tao
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 7702 leinfelder
	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 8147 tao
	<version>2.2.0-SNAPSHOT</version>
8 7702 leinfelder
	<name>metacat-common</name>
9
	<url>http://maven.apache.org</url>
10 8150 tao
	<properties>
11
        <d1_solr_index_schema_name>index-solr-schema-v1_1.xml</d1_solr_index_schema_name>
12 8154 tao
        <d1_solr_index_schema_url>scm:svn:https://repository.dataone.org/software/cicore/tags/DATAONE-CN-INDEX_v1.1.1/usr/share/dataone-cn-index</d1_solr_index_schema_url>
13 8150 tao
    </properties>
14 7804 tao
	<repositories>
15
        <repository>
16
            <id>dataone.org</id>
17
            <url>http://dev-testing.dataone.org/maven</url>
18
            <releases>
19
                <enabled>true</enabled>
20
            </releases>
21
            <snapshots>
22
                <enabled>true</enabled>
23
            </snapshots>
24
        </repository>
25
    </repositories>
26 7702 leinfelder
	<dependencies>
27
		<dependency>
28
			<groupId>junit</groupId>
29
			<artifactId>junit</artifactId>
30 7758 tao
			<version>4.8.2</version>
31 7702 leinfelder
			<scope>test</scope>
32
		</dependency>
33
		<dependency>
34 8118 tao
            <groupId>javax.servlet</groupId>
35
            <artifactId>servlet-api</artifactId>
36
            <version>2.5</version>
37
            <type>jar</type>
38
            <scope>test</scope>
39
        </dependency>
40
		<dependency>
41 7702 leinfelder
			<groupId>org.apache.solr</groupId>
42
			<artifactId>solr-core</artifactId>
43
			<version>3.4.0</version>
44
		</dependency>
45
		<dependency>
46
			<groupId>org.apache.solr</groupId>
47
			<artifactId>solr-test-framework</artifactId>
48
			<version>3.4.0</version>
49
		</dependency>
50
		<dependency>
51 7716 tao
			<groupId>org.dataone</groupId>
52
			<artifactId>d1_common_java</artifactId>
53 8105 leinfelder
			<version>1.1.3</version>
54 7716 tao
			<type>jar</type>
55
			<!-- exclude extraneous artifacts (jars) -->
56
			<exclusions>
57
		        <exclusion>
58
		          <groupId>org.jibx</groupId>
59
		          <artifactId>jibx-tools</artifactId>
60
		        </exclusion>
61
		        <exclusion>
62
		          <groupId>org.jibx</groupId>
63
		          <artifactId>jibx-schema</artifactId>
64
		        </exclusion>
65
		        <exclusion>
66
		          <groupId>org.jibx</groupId>
67
		          <artifactId>jibx-extras</artifactId>
68
		        </exclusion>
69
		        <exclusion>
70
		          <groupId>org.jibx</groupId>
71
		          <artifactId>jibx-bind</artifactId>
72
		        </exclusion>
73
		        <exclusion>
74
		        	<groupId>org.apache.maven.plugins</groupId>
75
					<artifactId>maven-compiler-plugin</artifactId>
76
		        </exclusion>
77
		        <exclusion>
78
		        	<groupId>org.apache.maven.plugins</groupId>
79
					<artifactId>maven-jar-plugin</artifactId>
80
		        </exclusion>
81
		        <exclusion>
82
		        	<groupId>org.apache.maven.plugins</groupId>
83
					<artifactId>maven-clean-plugin</artifactId>
84
		        </exclusion>
85
		        <exclusion>
86
		        	<groupId>org.jibx</groupId>
87
					<artifactId>maven-jibx-plugin</artifactId>
88
		        </exclusion>
89
			</exclusions>
90
		</dependency>
91 7702 leinfelder
	</dependencies>
92 7738 leinfelder
	<build>
93 8143 tao
	   <plugins>
94
	   <plugin>
95
        <groupId>org.apache.maven.plugins</groupId>
96
        <artifactId>maven-scm-plugin</artifactId>
97
        <version>1.8.1</version>
98
        <executions>
99
           <execution>
100
              <phase>validate</phase>
101
              <goals>
102
                <goal>export</goal>
103
              </goals>
104
            <configuration>
105
                <connectionType>connection</connectionType>
106 8150 tao
                <connectionUrl>${d1_solr_index_schema_url}</connectionUrl >
107 8143 tao
            </configuration>
108
          </execution>
109
         </executions>
110
        </plugin>
111
        <plugin>
112
                <groupId>org.apache.maven.plugins</groupId>
113
                <artifactId>maven-antrun-plugin</artifactId>
114
                <version>1.7</version>
115
                <executions>
116
                    <execution>
117
                        <id>copy</id>
118
                        <phase>validate</phase>
119
                         <goals>
120
                            <goal>run</goal>
121
                        </goals>
122
                        <configuration>
123
                            <target name="copy and rename file">
124 8151 tao
                                <copy file="target/export/${d1_solr_index_schema_name}" tofile="src/main/resources/solr-home/conf/schema.xml" />
125 8143 tao
                            </target>
126
                        </configuration>
127
                    </execution>
128
                </executions>
129
        </plugin>
130
		<plugin>
131 7738 leinfelder
				<groupId>org.apache.maven.plugins</groupId>
132
				<artifactId>maven-compiler-plugin</artifactId>
133
				<version>2.3</version>
134
				<configuration>
135
					<source>1.6</source>
136
					<target>1.6</target>
137
				</configuration>
138
			</plugin>
139
		</plugins>
140
	</build>
141 7628 tao
</project>