| <?xml version="1.0"?> |
| <!-- |
| Copyright 2004-2005 The Apache Software Foundation or its licensors, |
| as applicable. |
| |
| 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. |
| --> |
| <project |
| default="tck-war" |
| xmlns:m="jelly:maven" |
| xmlns:ant="jelly:ant" |
| xmlns:j="jelly:core"> |
| |
| <goal name="tck-war"> |
| <attainGoal name="jackrabbit-install" /> |
| <attainGoal name="jar:jar" /> |
| <attainGoal name="war:war" /> |
| </goal> |
| |
| <goal name="jackrabbit-install"> |
| <!-- build the dependend sub project --> |
| <m:reactor |
| basedir="../.." |
| includes="project.xml" |
| goals="multiproject:install" |
| banner="Building" |
| ignoreFailures="false"/> |
| </goal> |
| |
| <!-- post goal for cleaning the subprojects --> |
| <postGoal name="clean"> |
| <m:reactor |
| basedir="${basedir}" |
| includes="../../project.xml" |
| goals="clean" |
| banner="Cleaning" |
| ignoreFailures="true"/> |
| </postGoal> |
| |
| <postGoal name="war:webapp"> |
| <ant:copy file="target/${pom.artifactId}-${pom.currentVersion}.jar" todir="target/tck-webapp/WEB-INF/lib" /> |
| <ant:delete dir="target/tck-webapp/WEB-INF/classes/org" /> |
| </postGoal> |
| </project> |