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