-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
118 lines (107 loc) · 3.88 KB
/
pom.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!--
Turnstone Biologics Confidential
2018 Turnstone Biologics, Inc.
All Rights Reserved.
This file is subject to the terms and conditions defined in
file 'license.txt', which is part of this source code package.
Contributors :
Turnstone Biologics - General Release
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.cloudMigrate</groupId>
<artifactId>angular7demo</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
<repositories>
<repository>
<id>maven central</id>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>
<build>
<plugins>
<!-- Apache maven ant plugin -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
<configuration>
</configuration>
<executions>
<execution>
<id>npm</id>
<phase>install</phase>
<inherited>false</inherited>
<configuration>
<build_dir>${project.basedir}</build_dir>
<target>
<ant antfile="npm-build.xml">
<target name="npm"/>
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<!-- git execution -->
<execution>
<id>git</id>
<phase>compile</phase>
<inherited>false</inherited>
<configuration>
<target name = "git">
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<if>
<equals arg1="${git}" arg2="true" />
<then>
<if>
<os family="unix"/>
<then>
<exec executable="dos2unix" logError="false" failonerror="false" failifexecutionfails="false">
<arg value="${basedir}/gitpush.sh"/>
</exec>
<exec executable="chmod" logError="false" failonerror="false" failifexecutionfails="false">
<arg value="+x"/>
<arg value="${basedir}/gitpush.sh"/>
</exec>
</then>
</if>
<exec executable="bash" logError="false" failonerror="false" failifexecutionfails="false">
<arg value="--login"/>
<arg value="${basedir}/gitpush.sh"/>
</exec>
</then>
</if>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>