Skip to content

Commit 25c4ac2

Browse files
Remove support for RPM packages from pom.xml
1 parent 4496c90 commit 25c4ac2

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

pom.xml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -162,45 +162,6 @@
162162
</instructions>
163163
</configuration>
164164
</plugin>
165-
<plugin>
166-
<groupId>org.codehaus.mojo</groupId>
167-
<artifactId>rpm-maven-plugin</artifactId>
168-
<configuration>
169-
<release>1</release>
170-
<copyright>The MIT License</copyright>
171-
<group>Development/Java</group>
172-
<workarea>/var/tmp/${project.build.finalName}</workarea>
173-
<defineStatements>
174-
<defineStatement>_javadir ${rpm.java.dir}</defineStatement>
175-
<defineStatement>_javadocdir ${rpm.javadoc.dir}</defineStatement>
176-
</defineStatements>
177-
<mappings>
178-
<mapping>
179-
<directory>${rpm.java.dir}</directory>
180-
<filemode>644</filemode>
181-
<username>root</username>
182-
<groupname>root</groupname>
183-
<sources>
184-
<source>
185-
<location>${project.build.directory}/${project.build.finalName}.jar</location>
186-
</source>
187-
</sources>
188-
</mapping>
189-
<mapping>
190-
<directory>${rpm.javadoc.dir}/${project.build.finalName}</directory>
191-
<filemode>644</filemode>
192-
<username>root</username>
193-
<groupname>root</groupname>
194-
<sources>
195-
<source>
196-
<location>${project.build.directory}/apidocs</location>
197-
</source>
198-
</sources>
199-
</mapping>
200-
</mappings>
201-
<install>%__ln_s ${project.build.finalName}.jar %{buildroot}%{_javadir}/${project.name}.jar</install>
202-
</configuration>
203-
</plugin>
204165
</plugins>
205166
</build>
206167
<dependencies>
@@ -232,9 +193,4 @@
232193
<scope>test</scope>
233194
</dependency>
234195
</dependencies>
235-
<properties>
236-
<rpm.java.dir>/usr/share/java</rpm.java.dir>
237-
<rpm.javadoc.dir>/usr/share/javadoc</rpm.javadoc.dir>
238-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
239-
</properties>
240196
</project>

0 commit comments

Comments
 (0)