-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
46 lines (30 loc) · 1.68 KB
/
build.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="pmt-admin-api" default="pmt-admin-api" basedir=".">
<loadproperties>
<file file="ant-build.properties"/>
</loadproperties>
<target name="pmt-admin-api">
<exec dir="${basedir}" executable="bash" osfamily="unix">
<arg line="-c 'mvn install package assembly:single -DskipTests'"/>
</exec>
<exec dir="${basedir}" executable="cmd" osfamily="windows">
<arg line="/C 'mvn install package assembly:single -DskipTests'"/>
</exec>
</target>
<target name="pmt-admin-api-release">
<exec dir="${basedir}" executable="bash" osfamily="unix">
<arg line="-c 'mvn install -DperformRelease=true -DcreateChecksum=true -DskipTests'"/>
</exec>
<exec dir="${basedir}" executable="cmd" osfamily="windows">
<arg line="/C 'mvn install -DperformRelease=true -DcreateChecksum=true -DskipTests'"/>
</exec>
</target>
<target name="2maven">
<copy file="${maven-local-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata-local.xml" tofile="${maven-release-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata.xml"/>
<copy file="${maven-local-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata-local.xml.md5" tofile="${maven-release-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata.xml.md5"/>
<copy file="${maven-local-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata-local.xml.sha1" tofile="${maven-release-dir}/se/sveaekonomi/webpay/pmt-admin-api/maven-metadata.xml.sha1"/>
<copy todir="${maven-release-dir}/se/sveaekonomi/webpay/pmt-admin-api/0.0.1">
<fileset dir="${maven-local-dir}/se/sveaekonomi/webpay/pmt-admin-api/0.0.1"/>
</copy>
</target>
</project>