got the xbean XSDs to deploy as part of a release

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@427527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-08-01 10:59:22 +00:00
parent 794acb667c
commit 3badddac87
2 changed files with 95 additions and 51 deletions

View File

@ -303,15 +303,9 @@
<version>${pom.version}</version> <version>${pom.version}</version>
<configuration> <configuration>
<scripts> <scripts>
GenerateJavaMarshalling.groovy: GenerateJavaMarshalling.groovy: GenerateJavaTests.groovy: GenerateCSharpMarshalling.groovy:
GenerateJavaTests.groovy: GenerateCSharpClasses.groovy: GenerateCppMarshallingClasses.groovy: GenerateCppMarshallingHeaders.groovy:
GenerateCSharpMarshalling.groovy: GenerateCppHeaders.groovy: GenerateCppClasses.groovy: GenerateCMarshalling.groovy:
GenerateCSharpClasses.groovy:
GenerateCppMarshallingClasses.groovy:
GenerateCppMarshallingHeaders.groovy:
GenerateCppHeaders.groovy:
GenerateCppClasses.groovy:
GenerateCMarshalling.groovy:
</scripts> </scripts>
<groovyProperties> <groovyProperties>
<version>1</version> <version>1</version>
@ -326,23 +320,6 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>org.apache.xbean</groupId>
<artifactId>maven-xbean-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<configuration>
<namespace>http://activemq.org/config/1.0</namespace>
<schema>target/activemq.xsd</schema>
</configuration>
<goals>
<goal>mapping</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId> <artifactId>javacc-maven-plugin</artifactId>
@ -362,6 +339,49 @@
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.xbean</groupId>
<artifactId>maven-xbean-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<configuration>
<namespace>http://activemq.org/config/1.0</namespace>
<schema>target/activemq.xsd</schema>
</configuration>
<goals>
<goal>mapping</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- lets ensure that the XSD gets deployed -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${basedir}/target/activemq.xsd</file>
<type>xsd</type>
</artifact>
<artifact>
<file>${basedir}/target/activemq.xsd.html</file>
<type>xsd.html</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -17,10 +17,8 @@
limitations under the License. limitations under the License.
--> -->
<project <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -77,8 +75,6 @@
</dependency> </dependency>
</dependencies> </dependencies>
<!-- Configure which tests are included/excuded -->
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -96,6 +92,34 @@
</executions> </executions>
</plugin> </plugin>
<!-- lets ensure that the XSD gets deployed -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${basedir}/target/xbean/activemq-ra.xsd</file>
<type>xsd</type>
</artifact>
<artifact>
<file>${basedir}/target/xbean/activemq-ra.xsd.html</file>
<type>xsd.html</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<!-- Configure which tests are included/excuded -->
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>