Skip to content

Commit 992bc8c

Browse files
chore(archetype): improvements on DEB metadata retrieval
Signed-off-by: Marcello Rinaldo Martina <martina.marcello.rinaldo@outlook.com>
1 parent e23ac85 commit 992bc8c

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

kura/tools/kura-addon-archetype/src/main/resources/archetype-resources/distrib/deb/control/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Section: admin
44
Priority: optional
55
Depends: kura-core (>= 6.0.0~), kura-core(<< 7.0.0~)
66
Architecture: [[deb.architecture]]
7-
Maintainer: Eclipse Kura Developers <kura-dev@eclipse.org>
7+
Maintainer: [[deb.maintainer]]
88
Description: [[summary]]
99
[[long.description]]
10-
Homepage: https://eclipse-kura.github.io/kura/ (add correct link to documentation here)
10+
Homepage: [[deb.docs]]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
all, amd64, arm64
4747
-->
4848
<deb.architecture>all</deb.architecture>
49+
<deb.maintainer>${project.organization.name} &lt;${project.developers[0].email}&gt;</deb.maintainer>
50+
<deb.docs>${project.url}</deb.docs>
4951

5052
<!-- final name of the generated debian package -->
5153
<package.name>${artifactId}</package.name>

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
-->
1616
<project xmlns="http://maven.apache.org/POM/4.0.0"
1717
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
19+
child.project.url.inherit.append.path="false">
1920
<modelVersion>4.0.0</modelVersion>
2021

2122
<groupId>${groupId}</groupId>
@@ -43,6 +44,8 @@
4344
<url>https://www.eclipse.org/legal/epl-2.0/</url>
4445
</license>
4546
</licenses>
47+
<!-- Documentation URL -->
48+
<url>https://www.eurotech.com/</url>
4649

4750
<properties>
4851
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,6 @@
238238
<id>org.eclipse.equinox.console</id>
239239
<versionRange>0.0.0</versionRange>
240240
</requirement>
241-
<requirement>
242-
<type>p2-installable-unit</type>
243-
<id>org.eclipse.equinox.console</id>
244-
<versionRange>0.0.0</versionRange>
245-
</requirement>
246241
<requirement>
247242
<type>p2-installable-unit</type>
248243
<id>org.apache.felix.gogo.command</id>

0 commit comments

Comments
 (0)