Skip to content

Commit 2a9f3f6

Browse files
authored
fix: removed rpm plugin from kura addon archetype (#5815)
* fix: removed rpm plugin from kura addon archetype Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com> * fix: removed last references to rpm Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com> --------- Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
1 parent c6378e8 commit 2a9f3f6

1 file changed

Lines changed: 1 addition & 84 deletions

File tree

  • kura/tools/kura-addon-archetype/src/main/resources/archetype-resources/distrib

kura/tools/kura-addon-archetype/src/main/resources/archetype-resources/distrib/pom.xml

Lines changed: 1 addition & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@
5050
<!--
5151
Available DEB architectures:
5252
all, amd64, arm64
53-
54-
Available RPM architectures:
55-
noarch, x86_64, aarch64
5653
-->
5754
<deb.architecture>all</deb.architecture>
58-
<rpm.architecture>noarch</rpm.architecture>
5955

60-
<!-- final name of the generated debian and rpm package -->
56+
<!-- final name of the generated debian package -->
6157
<package.name>${artifactId}</package.name>
6258

6359
<!-- properties used for artifact upload on artifactory repository -->
@@ -254,85 +250,6 @@
254250
</executions>
255251
</plugin>
256252

257-
<plugin>
258-
<groupId>org.codehaus.mojo</groupId>
259-
<artifactId>rpm-maven-plugin</artifactId>
260-
<version>2.3.0</version>
261-
<executions>
262-
<execution>
263-
<id>generate-rpm</id>
264-
<phase>package</phase>
265-
<goals>
266-
<goal>rpm</goal>
267-
</goals>
268-
<configuration>
269-
<name>${package.name}</name>
270-
<workarea>${basedir}/target/rpm</workarea>
271-
<needarch>${rpm.architecture}</needarch>
272-
<group>Applications/System</group>
273-
<targetOS>linux</targetOS>
274-
<summary>${summary}</summary>
275-
<description>${long.description}</description>
276-
<license>EPL 2.0 (https://www.eclipse.org/legal/epl-2.0/)</license>
277-
278-
<projversion>${package.version}</projversion>
279-
<release>${package.revision}</release>
280-
281-
<requires>
282-
<require>kura-core &gt;= 6.0.0~, kura-core &lt; 7.0.0~</require>
283-
</requires>
284-
285-
<mappings>
286-
<!-- Repeate the 'mapping' schema multiple time if you want to
287-
manage different files indipendentely, specifying for each one the
288-
different parameters: it is usefull if different files require
289-
different 'directory' (aka: different destination location) or
290-
specific username, groupname and filemode -->
291-
<mapping>
292-
<directory>${addon.installation.dir}</directory>
293-
<filemode>600</filemode>
294-
<username>kurad</username>
295-
<groupname>kurad</groupname>
296-
<sources>
297-
<!-- It is also possible to specify multiple times the
298-
'source' to include different files from different
299-
locations, but with the same 'directory', 'filemode',
300-
'username' and 'groupname'-->
301-
<source>
302-
<location>${basedir}/target/input_files/${jar.name}_${project.version}.jar</location>
303-
</source>
304-
</sources>
305-
</mapping>
306-
307-
<!--
308-
309-
If all the source file are managed in the same way, it is also possible to specify the path to a
310-
directory to include all the files present in that
311-
312-
<mapping>
313-
<directory>${addon.installation.dir}</directory>
314-
<filemode>600</filemode>
315-
<username>kurad</username>
316-
<groupname>kurad</groupname>
317-
<sources>
318-
<source>
319-
<location>
320-
${basedir}/target/input_files</location>
321-
</source>
322-
</sources>
323-
</mapping>
324-
325-
-->
326-
</mappings>
327-
328-
<requires>
329-
<require>kura</require>
330-
</requires>
331-
</configuration>
332-
</execution>
333-
</executions>
334-
</plugin>
335-
336253
</plugins>
337254
</build>
338255
</project>

0 commit comments

Comments
 (0)