-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrpm.pom.xml
More file actions
93 lines (93 loc) · 3.66 KB
/
rpm.pom.xml
File metadata and controls
93 lines (93 loc) · 3.66 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
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
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<packaging>rpm</packaging>
<modelVersion>4.0.0</modelVersion>
<artifactId>ajs_01</artifactId>
<version>${revision}${sha1}${changelist}</version>
<name>ajs_01</name>
<description>ajs_01</description>
<groupId>com.teragrep</groupId>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0.0.1</revision>
<changelist>-SNAPSHOT</changelist>
<sha1/>
</properties>
<build>
<directory>${project.basedir}/target</directory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.2.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>default-rpm</id>
<goals>
<goal>rpm</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<summary>${project.groupId}-${project.artifactId}</summary>
<name>${project.groupId}-${project.artifactId}</name>
<version>${project.version}</version>
<release>${env.BUILD_ID}</release>
<license>Proprietary</license>
<distribution>teragrep Log Management Suite</distribution>
<vendor>https://teragrep.com/</vendor>
<packager>teragrep <[email protected]></packager>
<group>teragrep/LogManagementSuite</group>
<description>${project.groupId}-${project.artifactId}</description>
<needarch>false</needarch>
<defaultUsername>root</defaultUsername>
<defaultGroupname>root</defaultGroupname>
<defaultFilemode>0755</defaultFilemode>
<defaultDirmode>0755</defaultDirmode>
<keyname>${env.RPM_SIGNING_KEYNAME}</keyname>
<keyPassphrase>
<passphrase>${env.RPM_SIGNING_PASSPHRASE}</passphrase>
</keyPassphrase>
<mappings>
<mapping>
<directory>/opt/teragrep/${project.artifactId}/lib</directory>
<directoryIncluded>true</directoryIncluded>
<filemode>755</filemode>
<dirmode>755</dirmode>
<username>root</username>
<groupname>root</groupname>
<recurseDirectories>true</recurseDirectories>
<sources>
<source>
<location>${project.basedir}/target/${project.artifactId}-${revision}${sha1}${changelist}.war</location>
<destination>ajs_01.war</destination>
</source>
<source>
<location>${project.basedir}/target/dependency/jetty-rewrite-9.4.31.v20200723.jar</location>
<destination>jetty-rewrite-9.4.31.v20200723.jar</destination>
</source>
</sources>
</mapping>
</mappings>
<requires>
<require>java-1.8.0-openjdk >= 1.9.0</require>
<require>java-1.8.0-openjdk-headless >= 1.9.0</require>
<require>java-1.8.0-openjdk-devel >= 1.9.0</require>
</requires>
</configuration>
</plugin>
</plugins>
</build>
</project>