felix-metatype 1.2.4-1
Package Information
| Description | Apache Felix Metatype Service The OSGi Metatype specification provides a unified way to describe metadata about services and a Java interface to retrieve and manipulate such information. This information can optionally be localized, thus allowing the developer to provide human-readable metadata descriptions in multiple languages. The specification defines a rich dynamic typing system to describe service attributes in a precise way, which makes it possible to dynamically create user interfaces to configure services. Apache Felix Metatype is an implementation of the OSGi Metatype Service Specification 1.4. |
|---|---|
| Maintainer | Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> |
| Changed By | Emmanuel Bourg <ebourg@apache.org> |
| Sponsor | ebourg@apache.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/java-team/felix-metatype.git (browse) |
| Closes | #1154602 |
| Tracker | https://tracker.debian.org/pkg/felix-metatype |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Version | 1.2.4-1 |
|---|---|
| Changed-By | Emmanuel Bourg <ebourg@apache.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Fri, 20 Nov 2026 21:12:08 +0100 |
| Source | felix-metatype |
Changelog
felix-metatype (1.2.4-1) unstable; urgency=medium . * Initial release (Closes: #1154602)
.dsc
| Section | java |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | libfelix-metatype-java deb java optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache Felix Metatype Service Source: https://github.com/apache/felix-dev/tree/master/metatype Files: * Copyright: 2006-2021, The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2026, Emmanuel Bourg License: Apache-2.0 License: Apache-2.0 On Debian systems, the full text of the Apache-2.0 license can be found in /usr/share/common-licenses/Apache-2.0.
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for felix-metatype version 1.2.4-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: No
- Issues: 1 blocker, 0 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All of upstream is Apache-2.0 apart from one third-party component: the bundle embeds kxml2 classes (Stefan Haustein's MIT/BSD-licensed KXml parser) into the shipped jar through pom.xml's Embed-Dependency, and debian/copyright names neither that holder nor that licence. The four scanned files (LICENSE, DEPENDENCIES, src/main/appended-resources/META-INF/LICENSE and .../DEPENDENCIES) are plain-text notice files carrying the same KXml text; they are not the basis of the problem, the compiled-in copy is. Nothing in the tree is non-free, and every other file is ASF-authored Apache-2.0.
Packaging
The packaging is otherwise clean and conventional for the Java team (debhelper-compat 13, maven-debian-helper, a single well-formed DEP-3 test patch, Standards-Version 4.7.4 matching Policy 4.7.4.1, correct Vcs-* and build dependencies). The one quality point is that the jar inlines a private copy of kxml2 although Debian ships libkxml2-java, against Policy 4.13; fix that or record the embedded copy.
Issues
blocker licensing 1. debian/copyright omits the KXml (Stefan Haustein) MIT code that pom.xml embeds into the shipped jar ◂
- Files:
pom.xml (Embed-Dependency),LICENSE (KXml subcomponent notice),src/main/appended-resources/META-INF/LICENSE,DEPENDENCIES,src/main/appended-resources/META-INF/DEPENDENCIES,debian/copyright (Files: *) - Basis: inferred from what was read, not seen directly
- Evidence: pom.xml:
<Embed-Dependency>\n kxml2;inline=org/kxml2/io/KXmlParser.class|org/xmlpull/v1/XmlPull**; LICENSE:For the KXml component:/Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germanyfollowed by the MIT permission text; debian/copyright:Files: */Copyright: 2006-2021, The Apache Software Foundation/License: Apache-2.0 - Problem: The bundle plugin is enabled (
<extensions>true</extensions>, packagingbundle) and its Embed-Dependency configuration copies KXmlParser and the XmlPull classes out of kxml2 into the jar, so the binary package ships MIT-licensed third-party code. debian/copyright names only The Apache Software Foundation and calls every file Apache-2.0, so Stefan Haustein is nowhere named and the MIT terms are nowhere stated. Policy 2.3 requires the notice of code compiled into a binary package when the licence requires it, and class files carry no plain-text notice, so the exemption for plain-text files with their notice intact does not cover them. The four files the scan listed are the trace of this: they are upstream-authored plain-text notices (LICENSE and DEPENDENCIES are not installed; the two META-INF copies only travel inside the jar), and on their own Policy 2.3 would not require copying them into debian/copyright. - Fix: Add a stanza or paragraph (with a
Comment:pointing at the embedded dependency) naming2002-2003 Stefan Haustein, Oberhausen, Rhld., Germanyfor the embedded kxml2 code, plus a stand-aloneLicenseparagraph short-named MIT/Expat with the full permission text reproduced from LICENSE. Alternatively remove the embedding (see the packaging issue), after which the notice obligation is discharged by libkxml2-java's own copyright file.
minor packaging 2. pom.xml embeds a private copy of kxml2 although Debian ships libkxml2-java ◂
- Files:
pom.xml (Embed-Dependency),debian/control (Build-Depends) - Basis: inferred from what was read, not seen directly
- Evidence:
<Embed-Dependency> kxml2;inline=org/kxml2/io/KXmlParser.class|org/xmlpull/v1/XmlPull**</Embed-Dependency>;libkxml2-java2.3.0+ds1-3 is in the archive and already a Build-Depends (libkxml2-java) - Problem: Policy 4.13 says a Debian package should reference the library already in the archive rather than use an embedded copy. The bundle inlines kxml2's parser classes, so the code actually used at runtime is the private copy, which receives none of the fixes made in libkxml2-java. No patch removes the Embed-Dependency; debian/patches holds only the test-mock patch.
- Fix: Patch pom.xml to drop the
Embed-Dependencyinstruction and add libkxml2-java as the runtime dependency (it is already a build dependency), or, if the bundle genuinely cannot import org.kxml2, document the embedded copy in debian/copyright as described in the licensing issue.
Verified ◂
- Read all files under debian/ in full (control, rules, changelog, copyright, docs, poms, maven.rules, maven.ignoreRules, patches/series and the patch, source/format); debian/watch left to the separate check; debian/upstream/signing-key.asc is an OpenPGP key, not opened.
- Scanned all 41 files of the tree for Copyright/(C)/©/SPDX/Licensed under/permission and licence wordings, with gitignore disabled; every Java source under src/main and src/test, plus pom.xml and obr.xml, carries the ASF Apache-2.0 contributor header.
- Scan file LICENSE: Apache-2.0 text followed by a subcomponent notice for the KXml component (MIT text, copyright Stefan Haustein); not installed by debian/libfelix-metatype-java.docs, which installs only NOTICE.
- Scan file DEPENDENCIES: upstream-generated list saying kxml2 2.2.2 is under 'The BSD License' and xmlpull is public domain; a plain-text notice file, not installed.
- Scan files src/main/appended-resources/META-INF/LICENSE and .../DEPENDENCIES: plain-text copies of the same notices appended to the bundle; these, not the root copies, are what the KXml notice reaches the binary through.
- Holder 'Stefan Haustein, Oberhausen, Rhld., Germany' appears only in those four notice files; no KXml source is vendored in the tree, the code comes from the kxml2 dependency inlined by the bundle plugin (see licensing issue).
- OSGi Alliance notice (Copyright (c) OSGi Alliance (2000, 2012), Apache-2.0) in NOTICE and the META-INF copies: no OSGi code is in the tree (org.osgi.* are provided-scope dependencies) and NOTICE is installed unchanged as plain text, so Policy 2.3 does not require it in debian/copyright.
- No non-free wording anywhere in the tree: searches for non-commercial, 'Good, not Evil', 'All rights reserved', no-modification and field-of-use terms found nothing.
- No build products, minified code, PDFs or archives in the tree; no .pc/ and no cargo-checksum.json present.
- debian/copyright is DEP-5 with the correct Format URL, two Files stanzas (Files: , then debian/ overriding it) and one stand-alone Apache-2.0 paragraph pointing at /usr/share/common-licenses/Apache-2.0; no Files-Excluded needed for an unrepacked tarball.
- Packaging: debhelper-compat 13 with a plain
dh $@, maven-debian-helper with --no-parent/--has-package-version/--java-lib, maven.rules/maven.ignoreRules consistent with the pom, patch has Description/Author/Forwarded headers and touches only src/test, source format 3.0 (quilt), no maintainer scripts, changelog is a sane initial 1.2.4-1 to unstable. - Standards-Version 4.7.4 against Policy 4.7.4.1 (first two components 4.7): current, not an issue.
- apt-cache: libosgi-compendium-java 8.1.0-1 satisfies the >= 8.1.0 constraint, libosgi-core-java 8.0.0-3 and libkxml2-java 2.3.0+ds1-3 exist, libmaven-bundle-plugin-java 5.1.9-1 exists.
- No debian/tests directory; absence of autopkgtests for a pure Java library is not a fault.
- uscan found the packaged version as the newest upstream release (upstream
1.2.4, packaged1.2.4). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- I could not build the package or inspect the jar; that maven-bundle-plugin honours the Embed-Dependency and inlines KXmlParser/XmlPull is inferred from pom.xml and from libmaven-bundle-plugin-java being a Build-Depends, not observed.
- The felix-parent pom (relativePath ../pom/pom.xml) is not shipped, so I could not confirm whether src/main/appended-resources is added to the bundle; the embedded-copy issue does not depend on it.
- Whether maven-bundle-plugin 3.5.0 requested by pom.xml is resolvable against Debian's 5.1.9 is left to the build; the package is assumed to build.
Proposed changes ◂
None.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.