Project

General

Profile

« Previous | Next » 

Revision 8302

Added by Jing Tao about 11 years ago

The checked-out schema.xml will overwrite the one in src/main/resource/solr-home/conf.

View differences:

metacat-common/pom.xml
130 130
                        </goals>
131 131
                        <configuration>
132 132
                            <target name="copy and rename file">
133
                                <copy file="target/export/${d1_solr_index_schema_name}" tofile="src/main/resources/solr-home/conf/schema.xml" />
133
                                <copy file="target/export/${d1_solr_index_schema_name}" tofile="src/main/resources/solr-home/conf/schema.xml" overwrite="true" />
134 134
                            </target>
135 135
                        </configuration>
136 136
                    </execution>
......
154 154
                                <directory>src/main/resources/solr-home</directory>
155 155
                                <filtering>false</filtering>
156 156
                            </resource>
157
                        </resources>              
157
                        </resources>
158
                        <overwrite>true</overwrite>              
158 159
                    </configuration>            
159 160
                 </execution>
160 161
                </executions>

Also available in: Unified diff