Project

General

Profile

« Previous | Next » 

Revision 8143

Added by Jing Tao over 11 years ago

Add code to check out the schema.xml from dataone project.

View differences:

metacat-common/pom.xml
86 86
		</dependency>
87 87
	</dependencies>
88 88
	<build>
89
		<plugins>
90
			<plugin>
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>
91 127
				<groupId>org.apache.maven.plugins</groupId>
92 128
				<artifactId>maven-compiler-plugin</artifactId>
93 129
				<version>2.3</version>

Also available in: Unified diff