[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Copy resources
|
Hi
Is it possible to copy resources that gets exported to an arbitary directory of the product when it is built. For example, exporting a logback.xml file to <product-root>/configuration/logback.xml.
Maybe this is the wrong way but I tried the following in the eclipse-repository pom file.
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>copy-logging</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/products/${product-id}/configuration/</outputDirectory>
<resources>
<resource>
<directory>logging</directory> <!-- directory with logback.xml -->
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
I can see that the director gets copied correctly to target/products/${product-id} but the directory does not get picked up by the product build for some reason?
Cheers,
-Kristoffer