-
Notifications
You must be signed in to change notification settings - Fork 9
/
pom.xml
134 lines (129 loc) · 4.5 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2013 Red Hat, Inc. and/or its affiliates.
This file is part of rrpm.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<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.redhat.tools</groupId>
<artifactId>pomutils</artifactId>
<packaging>jar</packaging>
<version>2.6</version>
<name>POM Utilities</name>
<url>https://github.com/bserdar/rrpm</url>
<licenses>
<license>
<name>GNU General Public License Version 3</name>
<url>http://www.gnu.org/licenses</url>
</license>
</licenses>
<developers>
<developer>
<name>Burak Serdar</name>
<email>bserdar@redhat.com</email>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/dist.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.1-alpha-2</version>
<executions>
<execution>
<goals>
<goal>rpm</goal>
</goals>
</execution>
</executions>
<configuration>
<copyright>2013, Red Hat, Inc. and/or its affiliates.</copyright>
<group>Development/Tools</group>
<name>${project.artifactId}</name>
<release>1</release>
<url>https://github.com/bserdar/pomutil</url>
<license>GPLv3</license>
<mappings>
<mapping>
<directory>/usr/share/pomutils-${project.version}</directory>
<filemode>644</filemode>
<sources>
<source>
<location>target/${project.build.finalName}.${project.packaging}</location>
</source>
<source>
<location>COPYING</location>
</source>
<source>
<location>INSTALL</location>
</source>
</sources>
</mapping>
<mapping>
<directory>/usr/share/pomutils-${project.version}</directory>
<filemode>755</filemode>
<sources>
<source>
<location>pomutil</location>
</source>
<source>
<location>xmlfrag</location>
</source>
</sources>
</mapping>
<mapping>
<directory>/usr/bin</directory>
<sources>
<softlinkSource>
<destination>pomutil</destination>
<location>/usr/share/pomutils-${project.version}/pomutil</location>
</softlinkSource>
<softlinkSource>
<destination>xmlfrag</destination>
<location>/usr/share/pomutils-${project.version}/xmlfrag</location>
</softlinkSource>
</sources>
</mapping>
</mappings>
</configuration>
</plugin>
</plugins>
</build>
</project>