-
Notifications
You must be signed in to change notification settings - Fork 589
/
Copy pathpom.xml
139 lines (136 loc) · 4.87 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0"?>
<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">
<parent>
<groupId>org.opennms</groupId>
<artifactId>org.opennms.assemblies</artifactId>
<version>34.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.opennms.assemblies</groupId>
<artifactId>org.opennms.assemblies.sentinel</artifactId>
<name>OpenNMS Sentinel</name>
<packaging>pom</packaging>
<properties>
<license.skipAddThirdParty>true</license.skipAddThirdParty>
<enforcer-skip-banned-dependencies>true</enforcer-skip-banned-dependencies>
<NAME_DISPLAY>Sentinel</NAME_DISPLAY>
<NAME_LC>sentinel</NAME_LC>
<INSTPREFIX>/opt/sentinel</INSTPREFIX>
<RUNAS>sentinel</RUNAS>
<INITDIR>/etc/init.d</INITDIR>
<SYSCONFDIR>/opt/sentinel/etc</SYSCONFDIR>
<PIDFILE>/opt/sentinel/data/log/sentinel.pid</PIDFILE>
</properties>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/filtered-resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<escapeString>\</escapeString>
<delimiters>
<delimiter>${*}</delimiter>
<delimiter>@</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.opennms</groupId>
<artifactId>opennms-base-assembly</artifactId>
<version>${project.version}</version>
<classifier>daemon</classifier>
<type>tar.gz</type>
<outputDirectory>${project.build.directory}/unpacked/base-assembly</outputDirectory>
<includes>**/bin/**/*</includes>
</artifactItem>
<artifactItem>
<groupId>org.opennms.container</groupId>
<artifactId>org.opennms.container.shared</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<outputDirectory>${project.build.directory}/unpacked/container-shared</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.opennms.features.container</groupId>
<artifactId>sentinel</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<outputDirectory>${project.build.directory}/unpacked/container-sentinel</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/assembly/sentinel.xml</descriptor>
</descriptors>
<overrideUid>0</overrideUid>
<overrideGid>0</overrideGid>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.opennms</groupId>
<artifactId>opennms-base-assembly</artifactId>
<version>${project.version}</version>
<classifier>daemon</classifier>
<type>tar.gz</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.opennms.container</groupId>
<artifactId>org.opennms.container.shared</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.opennms.features.container</groupId>
<artifactId>sentinel</artifactId>
<version>${project.version}</version>
<type>tar.gz</type>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>