-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
100 lines (100 loc) · 3.32 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.terradue</groupId>
<artifactId>t2-parent</artifactId>
<version>16</version>
</parent>
<groupId>com.terradue</groupId>
<artifactId>ever-est-e-learning-landing</artifactId>
<packaging>rpm</packaging>
<name>ever-est-e-learning-landing</name>
<description>EVER-EST e-learning landing page</description>
<version>0.3</version>
<profiles>
<!-- Development environment -->
<profile>
<id>dev</id>
<properties>
<site>dev</site>
<redmine.projectID>puppet</redmine.projectID>
</properties>
</profile>
</profiles>
<pluginRepositories>
<pluginRepository>
<snapshots/>
<id>repository.terradue.com</id>
<name>repository.terradue.com-releases</name>
<url>http://repository.terradue.com/artifactory/libs-release-public</url>
</pluginRepository>
</pluginRepositories>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources/html</directory>
<excludes/>
<targetPath>${project.build.directory}/html</targetPath>
</resource>
<!-- Resources not filtered are copied as is-->
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>generate-rpm</id>
<goals>
<goal>rpm</goal>
</goals>
<phase>prepare-package</phase>
</execution>
</executions>
<configuration>
<copyright>${project.inceptionYear}, Terradue, GPL</copyright>
<distribution>Terradue ${project.inceptionYear}</distribution>
<group>infra</group>
<packager>Terradue</packager>
<name>${project.artifactId}</name>
<defaultDirmode>775</defaultDirmode>
<defaultFilemode>664</defaultFilemode>
<defaultUsername>apache</defaultUsername>
<defaultGroupname>apache</defaultGroupname>
<autoRequires>true</autoRequires>
<description>EVER-EST e-learning landing page</description>
<mappings>
<mapping>
<directory>/var/www/html</directory>
<sources>
<source>
<location>${project.build.directory}/html</location>
</source>
</sources>
</mapping>
</mappings>
<provides>
<provide>${project.artifactId}</provide>
</provides>
<requires/>
<needarch>noarch</needarch>
</configuration>
</plugin>
<plugin>
<groupId>com.terradue</groupId>
<artifactId>rpmdeploy-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
</plugins>
</build>
</project>