https://issues.apache.org/jira/browse/AMQ-4034 - change activemq-osgi resource plugin to properly include xsd and other spring resources

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2013-03-18 12:21:06 +00:00
parent 39c27f9ebb
commit ae62b70f30
1 changed files with 10 additions and 2 deletions

View File

@ -168,6 +168,14 @@
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>target/extra-resources</directory>
</resource>
</resources>
<plugins>
<!-- Copy all necessary resources from other modules, like spring schema mapping, xbean resources, etc. -->
<plugin>
@ -180,7 +188,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/</outputDirectory>
<outputDirectory>${basedir}/target/extra-resources/</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../activemq-spring/target/classes/</directory>
@ -198,7 +206,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/classes/META-INF</outputDirectory>
<outputDirectory>${basedir}/target/extra-resources/META-INF</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../activemq-spring/target/classes/META-INF</directory>