Skip to content

Commit fd5ba1e

Browse files
Remove support for RPM packages from pom.xml
1 parent 2d78654 commit fd5ba1e

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
@@ -163,45 +163,6 @@
163163
</instructions>
164164
</configuration>
165165
</plugin>
166-
<plugin>
167-
<groupId>org.codehaus.mojo</groupId>
168-
<artifactId>rpm-maven-plugin</artifactId>
169-
<configuration>
170-
<release>1</release>
171-
<copyright>The MIT License</copyright>
172-
<group>Development/Java</group>
173-
<workarea>/var/tmp/${project.build.finalName}</workarea>
174-
<defineStatements>
175-
<defineStatement>_javadir ${rpm.java.dir}</defineStatement>
176-
<defineStatement>_javadocdir ${rpm.javadoc.dir}</defineStatement>
177-
</defineStatements>
178-
<mappings>
179-
<mapping>
180-
<directory>${rpm.java.dir}</directory>
181-
<filemode>644</filemode>
182-
<username>root</username>
183-
<groupname>root</groupname>
184-
<sources>
185-
<source>
186-
<location>${project.build.directory}/${project.build.finalName}.jar</location>
187-
</source>
188-
</sources>
189-
</mapping>
190-
<mapping>
191-
<directory>${rpm.javadoc.dir}/${project.build.finalName}</directory>
192-
<filemode>644</filemode>
193-
<username>root</username>
194-
<groupname>root</groupname>
195-
<sources>
196-
<source>
197-
<location>${project.build.directory}/apidocs</location>
198-
</source>
199-
</sources>
200-
</mapping>
201-
</mappings>
202-
<install>%__ln_s ${project.build.finalName}.jar %{buildroot}%{_javadir}/${project.name}.jar</install>
203-
</configuration>
204-
</plugin>
205166
</plugins>
206167
</build>
207168
<dependencies>
@@ -233,9 +194,4 @@
233194
<scope>test</scope>
234195
</dependency>
235196
</dependencies>
236-
<properties>
237-
<rpm.java.dir>/usr/share/java</rpm.java.dir>
238-
<rpm.javadoc.dir>/usr/share/javadoc</rpm.javadoc.dir>
239-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
240-
</properties>
241197
</project>

0 commit comments

Comments
 (0)