| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| |
| Copyright 2004 The Apache Software Foundation |
| |
| Licensed 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 |
| |
| 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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <project default="default" |
| xmlns:j="jelly:core" |
| xmlns:define="jelly:define" |
| xmlns:velocity="jelly:velocity" |
| xmlns:xmlbeans="xmlbeans2:maven" |
| > |
| |
| <!-- ==================== --> |
| <!-- Default Global Goals --> |
| <!-- ==================== --> |
| |
| <goal name="default"> |
| <attainGoal name="build"/> |
| </goal> |
| |
| <goal name="build"> |
| <attainGoal name="jar:install"/> |
| </goal> |
| |
| <goal name="rebuild"> |
| <attainGoal name="clean"/> |
| <attainGoal name="build"/> |
| </goal> |
| |
| <preGoal name="test:test"> |
| <mkdir dir="${maven.build.dir}/var"/> |
| <mkdir dir="${maven.build.dir}/var/ldap"/> |
| <copy todir="${maven.build.dir}/var" file="${basedir}/src/test-resources/directory.xml" /> |
| </preGoal> |
| |
| <preGoal name="java:compile"> |
| <xmlbeans:schema2java |
| maven.xmlbeans2.sourceschema="schema/directory.xsd"/> |
| <mkdir dir="${basedir}/target/xmlbeans-classes"/> |
| <mkdir dir="${basedir}/target/xmlbeans-classes/schemaorg_apache_xmlbeans"/> |
| <copy todir="${basedir}/target/xmlbeans-classes/schemaorg_apache_xmlbeans"> |
| <fileset dir="${basedir}/target/classes/schemaorg_apache_xmlbeans"/> |
| </copy> |
| </preGoal> |
| |
| <!-- Construct dependency lists for inclusion in generated jar. --> |
| <postGoal name="java:compile"> |
| <attainGoal name="geronimo:dependency"/> |
| </postGoal> |
| |
| |
| </project> |