<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
/* | |
* Copyright 2001-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. | |
*/ | |
--> | |
<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ --> | |
<project default="jar" | |
xmlns:j="jelly:core" | |
xmlns:u="jelly:util" | |
xmlns:maven="jelly:maven" | |
xmlns:deploy="deploy" | |
xmlns:ant="jelly:ant"> | |
<postGoal name="jar"> | |
<mkdir dir="target/classes/META-INF"/> | |
<copy file="conf/module.xml" | |
toDir="target/classes/META-INF/"/> | |
<copy file="conf/savan-config.xml" | |
toDir="target/classes/"/> | |
<copy file="../../LICENSE.txt" | |
toDir="target/classes/META-INF/" overwrite="true"/> | |
<mkdir dir="target/modules"/> | |
<jar jarfile="target/savan-${savan_version}.mar" basedir="target/classes"> | |
<include name="**"/> | |
</jar> | |
</postGoal> | |
<postGoal name="jar:install"> | |
<mkdir dir="target/classes/META-INF"/> | |
<copy file="conf/module.xml" | |
toDir="target/classes/META-INF/"/> | |
<copy file="../../LICENSE.txt" | |
toDir="target/classes/META-INF/" overwrite="true"/> | |
<copy file="conf/savan-config.xml" | |
toDir="target/classes/"/> | |
<mkdir dir="target/modules"/> | |
<jar jarfile="target/savan-${savan_version}.mar" basedir="target/classes"> | |
<include name="**"/> | |
</jar> | |
<!-- copying the jar and mar files to the local repo--> | |
<copy file="target/savan-${savan_version}.mar" | |
tofile="${maven.repo.local}/org.apache.axis2/mars/savan-${savan_version}.mar"/> | |
</postGoal> | |
</project> |