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

@ -1,26 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership. this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0 The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
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>
@ -105,7 +129,7 @@
<includes> <includes>
<include>org.apache.activemq.ra.ServerSessionImplTest</include> <include>org.apache.activemq.ra.ServerSessionImplTest</include>
<!-- <!--
<include>**/*Test.*</include> <include>**/*Test.*</include>
--> -->
</includes> </includes>
</configuration> </configuration>