| <?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="test: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/LICENSE.txt" overwrite="true"/> |
| <copy file="./test-resources/axis2.xml" |
| tofile="target/axis2.xml"/> |
| <mkdir dir="target/modules"/> |
| <jar jarfile="target/addressing-${addressing_version}.mar" basedir="target/classes"> |
| <include name="**"/> |
| </jar> |
| <copy file="target/addressing-${addressing_version}.mar" |
| tofile="target/modules/addressing-${addressing_version}.mar"/> |
| <copy file="target/addressing-${addressing_version}.mar" |
| tofile="${maven.repo.local}/org.apache.axis2/mars/addressing-${addressing_version}.mar"/> |
| </postGoal> |
| <preGoal name="itest:compile"> |
| <u:file var="file" name="${maven.itest.src}"/> |
| <j:if test="${!file.exists()}"> |
| <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/> |
| </j:if> |
| </preGoal> |
| </project> |