mirror of https://github.com/apache/activemq.git
Update poms to fully load into M2E. Thanks dkulp
This commit is contained in:
parent
06bb7a2716
commit
5b7bc9057f
|
@ -99,59 +99,14 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<version>${maven-dependency-plugin-version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>unpack-xsd</id>
|
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.apache.activemq</groupId>
|
|
||||||
<artifactId>activemq-spring</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<includes>activemq.xsd</includes>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<outputDirectory>src/main/resources</outputDirectory>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>unpack-spring-xsd</id>
|
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>org.springframework</groupId>
|
|
||||||
<artifactId>spring-beans</artifactId>
|
|
||||||
<version>${spring-version}</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<includes>org/springframework/beans/factory/xml/spring-beans-3.0.xsd</includes>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
<outputDirectory>src/main/resources</outputDirectory>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.cxf</groupId>
|
<groupId>org.apache.cxf</groupId>
|
||||||
<artifactId>cxf-xjc-plugin</artifactId>
|
<artifactId>cxf-xjc-plugin</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
<id>compile-xsd</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>xsdtojava</goal>
|
<goal>xsdtojava</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
@ -163,7 +118,7 @@
|
||||||
</extensions>
|
</extensions>
|
||||||
<xsdOptions>
|
<xsdOptions>
|
||||||
<xsdOption>
|
<xsdOption>
|
||||||
<xsd>${basedir}/src/main/resources/activemq.xsd</xsd>
|
<xsd>${basedir}/../activemq-spring/target/classes/activemq.xsd</xsd>
|
||||||
<bindingFile>${basedir}/src/main/resources/binding.xjb</bindingFile>
|
<bindingFile>${basedir}/src/main/resources/binding.xjb</bindingFile>
|
||||||
<extensionArgs>
|
<extensionArgs>
|
||||||
<extensionArgs>-XtoString</extensionArgs>
|
<extensionArgs>-XtoString</extensionArgs>
|
||||||
|
@ -196,7 +151,6 @@
|
||||||
</includes>
|
</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||||
|
|
||||||
<jxb:bindings schemaLocation="activemq.xsd" node="/xs:schema">
|
<jxb:bindings schemaLocation="../../../../activemq-spring/target/classes/activemq.xsd" node="/xs:schema">
|
||||||
|
|
||||||
<jxb:schemaBindings>
|
<jxb:schemaBindings>
|
||||||
<jxb:nameXmlTransform>
|
<jxb:nameXmlTransform>
|
||||||
|
|
Loading…
Reference in New Issue