/
pom.xml
80 lines (76 loc) · 2.23 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
<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>
<parent>
<groupId>org.mobicents.ussd</groupId>
<artifactId>core</artifactId>
<version>7.1.0-103</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>ussd-cli</artifactId>
<name>Core : Operations and Management : CLI</name>
<dependencies>
<!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
<version>${log4j.version}</version> </dependency> -->
<!-- MTP3 -->
<dependency>
<groupId>org.mobicents.protocols.ss7.management</groupId>
<artifactId>shell-client</artifactId>
<version>${jss7.restcomm.version}</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources/archive-files</directory>
<targetPath>META-INF/services</targetPath>
</resource>
<resource>
<directory>src/main/resources/help</directory>
<targetPath>help</targetPath>
</resource>
</resources>
</build>
<profiles>
<profile>
<!-- Adds the files to JBoss AS -->
<id>jboss</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy todir="${jboss.home}/lib" file="${project.build.directory}/${project.build.finalName}.jar" />
</tasks>
</configuration>
</execution>
<execution>
<id>undeploy</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<delete failonerror="fals" file="${jboss.home}/lib/${project.build.finalName}.jar" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>