Revision 8153
Added by Jing Tao over 11 years ago
metacat-index/pom.xml | ||
---|---|---|
64 | 64 |
|
65 | 65 |
<build> |
66 | 66 |
<plugins> |
67 |
|
|
68 |
<plugin> |
|
69 |
<artifactId>maven-resources-plugin</artifactId> |
|
70 |
<version>2.6</version> |
|
71 |
<executions> |
|
72 |
<execution> |
|
73 |
<id>copy-resources</id> |
|
74 |
<!-- here the phase you need --> |
|
75 |
<phase>validate</phase> |
|
76 |
<goals> |
|
77 |
<goal>copy-resources</goal> |
|
78 |
</goals> |
|
79 |
<configuration> |
|
80 |
<outputDirectory>target/classes/solr-home</outputDirectory> |
|
81 |
<resources> |
|
82 |
<resource> |
|
83 |
<directory>../metacat-common/src/main/resources/solr-home</directory> |
|
84 |
<filtering>true</filtering> |
|
85 |
</resource> |
|
86 |
</resources> |
|
87 |
</configuration> |
|
88 |
</execution> |
|
89 |
</executions> |
|
90 |
</plugin> |
|
67 | 91 |
<plugin> |
68 | 92 |
<groupId>org.apache.maven.plugins</groupId> |
69 | 93 |
<artifactId>maven-compiler-plugin</artifactId> |
Also available in: Unified diff
Add a plugin to copy the solr-home from the metacat-common to the target/classes.