| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| /* |
| * Copyright 2007 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="java:compile"> |
| <mkdir dir="target/classes/META-INF"/> |
| <copy file="src/META-INF/module.xml" |
| tofile="target/classes/META-INF/module.xml"/> |
| <copy file="../../LICENSE.txt" |
| tofile="target/classes/META-INF/LICENSE.txt" overwrite="true"/> |
| <copy file="../../NOTICE.txt" |
| tofile="target/classes/META-INF/NOTICE.txt" overwrite="true"/> |
| <mkdir dir="target/modules"/> |
| <jar jarfile="target/metadataExchange-${mex_version}.mar" basedir="target/classes"> |
| <include name="**"/> |
| </jar> |
| <copy file="target/metadataExchange-${mex_version}.mar" |
| tofile="target/modules/metadataExchange-${mex_version}.mar"/> |
| <copy file="target/metadataExchange-${mex_version}.mar" |
| tofile="${maven.repo.local}/org.apache.axis2/mars/metadataExchange-${mex_version}.mar"/> |
| </postGoal> |
| </project> |