You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2013/04/03 13:33:07 UTC
svn commit: r1463923 - in /activemq/trunk: activemq-osgi/pom.xml
activemq-spring/src/main/resources/META-INF/spring.schemas
Author: gtully
Date: Wed Apr 3 11:33:07 2013
New Revision: 1463923
URL: http://svn.apache.org/r1463923
Log:
https://issues.apache.org/jira/browse/AMQ-4432 - ensure camel-*.xsd can be found locally
Modified:
activemq/trunk/activemq-osgi/pom.xml
activemq/trunk/activemq-spring/src/main/resources/META-INF/spring.schemas
Modified: activemq/trunk/activemq-osgi/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-osgi/pom.xml?rev=1463923&r1=1463922&r2=1463923&view=diff
==============================================================================
--- activemq/trunk/activemq-osgi/pom.xml (original)
+++ activemq/trunk/activemq-osgi/pom.xml Wed Apr 3 11:33:07 2013
@@ -185,6 +185,32 @@
</resource>
</resources>
<plugins>
+ <!-- get camel core spring schema info -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-spring</artifactId>
+ <version>${camel-version}</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${basedir}/target/extra-resources/</outputDirectory>
+ <includes>camel-osgi.xsd,camel-spring.xsd</includes>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<!-- Copy all necessary resources from other modules, like spring schema mapping, xbean resources, etc. -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
Modified: activemq/trunk/activemq-spring/src/main/resources/META-INF/spring.schemas
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-spring/src/main/resources/META-INF/spring.schemas?rev=1463923&r1=1463922&r2=1463923&view=diff
==============================================================================
--- activemq/trunk/activemq-spring/src/main/resources/META-INF/spring.schemas (original)
+++ activemq/trunk/activemq-spring/src/main/resources/META-INF/spring.schemas Wed Apr 3 11:33:07 2013
@@ -34,3 +34,6 @@ http\://activemq.apache.org/schema/core/
http\://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd=activemq.xsd
http\://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd=activemq.xsd
http\://activemq.apache.org/schema/core/activemq-core-5.10.0.xsd=activemq.xsd
+
+http\://camel.apache.org/schema/osgi/camel-osgi.xsd=camel-osgi.xsd
+http\://camel.apache.org/schema/spring/camel-spring.xsd=camel-spring.xsd