2005-12-30 17:37:11 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2006-07-28 12:37:34 -04:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
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 obtain a copy of the License at
|
2005-12-30 17:37:11 -05:00
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2005-12-12 12:53:59 -05:00
|
|
|
<project default="default">
|
|
|
|
<goal name="default" prereqs="rar:install" />
|
|
|
|
|
|
|
|
<postGoal name="clean">
|
|
|
|
<delete dir="${basedir}/activemq-data" />
|
|
|
|
</postGoal>
|
|
|
|
|
|
|
|
<preGoal name="rar:rar">
|
|
|
|
<attainGoal name="jar:install" />
|
|
|
|
</preGoal>
|
|
|
|
|
|
|
|
<preGoal name="rar:deploy">
|
|
|
|
<attainGoal name="jar:deploy" />
|
|
|
|
</preGoal>
|
|
|
|
|
|
|
|
<postGoal name="java:compile">
|
|
|
|
<attainGoal name="xbean:generate" />
|
|
|
|
</postGoal>
|
|
|
|
|
|
|
|
|
|
|
|
<goal name="xbean:generate" description="Generates the XBean XSD, documentation and META-INF/services files.">
|
|
|
|
<path id="test.classpath">
|
|
|
|
<pathelement path="${maven.build.dest}" />
|
|
|
|
<pathelement path="target/classes" />
|
|
|
|
<pathelement path="target/test-classes" />
|
|
|
|
<path refid="maven.dependency.classpath" />
|
|
|
|
</path>
|
|
|
|
|
2006-02-09 16:41:59 -05:00
|
|
|
<taskdef name="xsdGenerate" classname="org.apache.xbean.spring.generator.MappingGeneratorTask">
|
2005-12-12 12:53:59 -05:00
|
|
|
<classpath refid="test.classpath" />
|
|
|
|
</taskdef>
|
|
|
|
<xsdGenerate destFile="target/activemq-ra.xsd" namespace="http://activemq.org/ra/config/1.0" classpathref="test.classpath" srcdir="src/main/java" />
|
|
|
|
</goal>
|
|
|
|
</project>
|