Repository navigation
Expand file tree
/
Copy pathmaven.xml
More file actions
52 lines (38 loc) · 1.61 KB
/
Copy pathmaven.xml
File metadata and controls
52 lines (38 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!-- $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>