Karl Pauls | d140dd9 | 2006-11-02 22:22:49 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame^] | 19 | <project default="all" basedir="pom"> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 20 | <target name="init"> |
| 21 | <condition property="mvn" value="mvn.bat"> |
| 22 | <os family="dos" /> |
| 23 | </condition> |
| 24 | <condition property="mvn" value="mvn"> |
| 25 | <not> |
| 26 | <isset property="mvn" /> |
| 27 | </not> |
| 28 | </condition> |
| 29 | </target> |
| 30 | <target name="clean" depends="init"> |
| 31 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 430f335 | 2007-03-28 14:27:28 +0000 | [diff] [blame] | 32 | <arg line="-Dpackaging=plugins clean" /> |
| 33 | </exec> |
| 34 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 35 | <arg line="-Dpackaging=bundle clean" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 36 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 37 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 38 | <arg line="-Dpackaging=osgi-bundle clean" /> |
| 39 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 40 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 41 | <arg line="-Dpackaging=ipojo-bundle clean" /> |
| 42 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 43 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 44 | <arg line="-Dpackaging=osgi-bundle-mosgi clean" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 45 | </exec> |
| 46 | </target> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 47 | <target name="install" depends="init"> |
| 48 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 430f335 | 2007-03-28 14:27:28 +0000 | [diff] [blame] | 49 | <arg line="-Dpackaging=plugins install" /> |
| 50 | </exec> |
| 51 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 52 | <arg line="-Dpackaging=bundle install" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 53 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 54 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 55 | <arg line="-Dpackaging=osgi-bundle install" /> |
| 56 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 57 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 58 | <arg line="-Dpackaging=ipojo-bundle install" /> |
| 59 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 60 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 61 | <arg line="-Dpackaging=osgi-bundle-mosgi install" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 62 | </exec> |
| 63 | </target> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 64 | <target name="all" depends="init"> |
| 65 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 430f335 | 2007-03-28 14:27:28 +0000 | [diff] [blame] | 66 | <arg line="-Dpackaging=plugins clean install" /> |
| 67 | </exec> |
| 68 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 69 | <arg line="-Dpackaging=bundle clean install" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 70 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 71 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 72 | <arg line="-Dpackaging=osgi-bundle clean install" /> |
| 73 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 74 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 75 | <arg line="-Dpackaging=ipojo-bundle clean install" /> |
| 76 | </exec> |
Richard S. Hall | 78ed6d5 | 2007-03-08 13:49:33 +0000 | [diff] [blame] | 77 | <exec executable="${mvn}" failonerror="true"> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 78 | <arg line="-Dpackaging=osgi-bundle-mosgi clean install" /> |
Richard S. Hall | c2312e4 | 2006-11-02 21:47:20 +0000 | [diff] [blame] | 79 | </exec> |
| 80 | </target> |
| 81 | </project> |