DFSG NEW Queue

DFSG, Licensing & New Packages Team

coursier-dependency 0.3.4-1

Package Information

Descriptionparse and handle Java and Scala dependency strings

This library parses Java and Scala dependencies written as strings like org::name:1.0, as coursier and Scala CLI use them. It supports Scala cross-versions, exclusions, classifiers and other parameters, and module matchers with wildcards.

This package provides io.get-coursier:dependency_3, built for Scala 3.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/coursier-dependency.git (browse)
Closes#1154218
Trackerhttps://tracker.debian.org/pkg/coursier-dependency
Uploaded2 hours ago

New Package Report

.changes◂
Distributionunstable
DateTue, 17 Nov 2026 23:42:38 +0100
Sourcecoursier-dependency
Version0.3.4-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource all
Changelog◂
coursier-dependency (0.3.4-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1154218)
.dsc◂
Sectionjava
Priorityoptional
Componentmain
Package-Listlibcoursier-dependency-scala3-java deb java optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dependency
Upstream-Contact: Alexandre Archambault <alexandre.archambault@gmail.com>
Source: https://github.com/coursier/dependency

Files: *
Copyright: 2021-2026 Alexandre Archambault <alexandre.archambault@gmail.com>
License: Apache-2.0
Comment: LICENSE has the Apache-2.0 text without a holder line; the holder
 and years come from the git history.

Files: dependency/shared/src/main/scala/dependency/ScalaVersion.scala
Copyright: 2021-2026 Alexandre Archambault <alexandre.archambault@gmail.com>
 2017 Li Haoyi (haoyi.sg@gmail.com)
License: Apache-2.0 and Expat
Comment: The Scala version patterns are adapted from Mill's
 ZincWorkerApi.scala (MIT), as the comment says.

Files: mill mill.bat
Copyright: 2017 Li Haoyi (haoyi.sg@gmail.com)
License: Expat
Comment: Mill's launcher scripts (Mill 1.3.1), under Mill's LICENSE
 (https://github.com/com-lihaoyi/mill). Not used by the build.

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Apache-2.0

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the license can be found in
 "/usr/share/common-licenses/Apache-2.0".

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 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 coursier-dependency version 0.3.4-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The source is DFSG-compliant: the bulk is Apache-2.0 under the top-level LICENSE, the Mill launchers mill and mill.bat are Expat/MIT, and ScalaVersion.scala is Apache-2.0 plus Expat, all recorded and with licence texts provided or correctly referenced to /usr/share/common-licenses. One minor completeness gap remains: ApiConverter.scala, a source-only helper derived from scala-cli, credits no holder for the scala-cli code it adapts. That file is not built into any binary package, so Policy 2.3 does not require its notice there; the DFSG team's completeness expectation does.

Packaging

The packaging follows current practice: compat 14 with the scala buildsystem, correct arch:all Java package, current Standards-Version, sensible Vcs fields, quilt source format, and two autopkgtests. The only defect is stale Maven metadata: the shipped POM declares scala3-library_3 3.3.9 although the package is built against, and the archive provides, 3.9.0.

Issues

minor licensing 1. Files: * omits VirtusLab as holder of ApiConverter.scala, adapted from scala-cli ◂
  • Files: debian/copyright:6-9, dependency-interface/src/main/scala/dependency/api/ApiConverter.scala:7-8
  • Basis: inferred from what was read, not seen directly
  • Evidence: // originally adapted from https://github.com/VirtusLab/scala-cli/blob/.../modules/options/src/main/scala/scala/build/internals/Util.scala#L33-L40 against Copyright: 2021-2026 Alexandre Archambault <alexandre.archambault@gmail.com> in the Files: * stanza.
  • Problem: The file states it is adapted from scala-cli's Util.scala, whose copyright holder is VirtusLab, but debian/copyright attributes every file matched by Files: * to Alexandre Archambault alone. The licence is compatible (scala-cli is Apache-2.0, like this package, and Apache-2.0 section 4(c) requires retaining copyright notices in source distributions), so the licensing is not wrong; only the holder list is incomplete. dependency-interface is explicitly not built (debian/scala-build), so this file reaches no binary package and Policy 2.3 does not require its notice in /usr/share/doc; it is therefore minor rather than a blocker, but the copyright file should still be complete.
  • Fix: Add a stanza (after the catch-all) for dependency-interface/src/main/scala/dependency/api/ApiConverter.scala naming VirtusLab, e.g. Copyright: 2021-2026 Alexandre Archambault plus 2021-2024 VirtusLab, with License: Apache-2.0, and mention the scala-cli source in a Comment.
minor packaging 2. POM declares scala3-library_3 3.3.9 while Debian ships and builds against 3.9.0 ◂
  • Files: debian/poms/dependency_3.pom.xml:34-37
  • Basis: inferred from what was read, not seen directly
  • Evidence: The POM's only dependency is <artifactId>scala3-library_3</artifactId> <version>3.3.9</version>; Build-Depends: scala3 is 3.9.0+ds2-3, and apt-cache shows scala3-library 3.9.0+ds2-3 (the only version in the archive).
  • Problem: debian/poms/dependency_3.pom.xml is the dh_scala POM template for the shipped io.get-coursier:dependency_3 artifact, so it is installed into /usr/share/maven-repo as that artifact's metadata. It still carries upstream's Scala 3.3.9 pin, while the jar is compiled with Scala 3.9.0 and Debian's repository only has scala3-library_3 3.9.0. A consumer resolving the POM inside Debian therefore asks for a version that does not exist locally (and may fall back to fetching from Maven Central), which is stale and wrong metadata; the mismatch also means the declared minimum is older than the library the jar was actually built against.
  • Fix: Set the scala3-library_3 dependency version in debian/poms/dependency_3.pom.xml to the Debian scala3-library version used for the build (3.9.0 here), or substitute it automatically, and keep it in step with Build-Depends.
Verified ◂
  • Read debian/copyright in full: it is DEP-5 with the current Format, Apache-2.0 and Expat stanzas, and correct later-stanza overrides for ScalaVersion.scala, mill/mill.bat and debian/*.
  • Inventoried all upstream files (41 scanned) and grepped the whole tree for copyright, SPDX, licence and attribution wording; read every file that carried such wording or a provenance comment.
  • The prescan's holder check reported every holder it found named in debian/copyright and listed no built files, binaries, minified code or suspect licence terms; there was therefore no prescan file to explain individually.
  • mill and mill.bat are the Mill 1.3.1 bootstrap launchers (header says so), used by upstream's Mill build but not by dh_scala; they are source-only and are correctly given the Expat stanza.
  • ScalaVersion.scala's adaptation from Mill's ZincWorkerApi.scala is correctly recorded with Li Haoyi's copyright and the Apache-2.0 and Expat licences; Extensions.scala only says 'some inspiration from' typelevel/literally, which is not a statement of copying and needs no separate holder.
  • dependency-interface (ApiConverter.scala and ops.scala) is excluded from the build by debian/scala-build, so those files are in no binary package.
  • debian/control: debhelper-compat (= 14) is the recommended level (debhelper tool), Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1, Architecture: all is right for the jar, and dh-sequence-scala is provided by scala-debian-helper 0.1 while scala3 3.9.0 exists in the archive.
  • At compat 14, ${misc:Depends} and ${scala:Depends} are relationship substvars dh_gencontrol adds itself, so the packaging is not missing them.
  • Read debian/rules, changelog (initial release, unstable, closes #1154218), gbp.conf, salsa-ci.yml, source/format (3.0 quilt, no patches), scala-build, tests/control and both test scripts; the autopkgtest syntax is valid and the test files it names are present.
  • No binary, generated, minified or PDF files are present in the source tree; the only large files are text (LICENSE, README, mill, mill.bat).
  • uscan found the packaged version as the newest upstream release (upstream 0.3.4, packaged 0.3.4).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • I could not run the build or the autopkgtests, nor stat the executable bit of debian/tests/compile-and-run; I also could not confirm from any installed package that /usr/share/scala-debian-helper/smoke-test and /usr/share/java/scala-library-3.jar exist on a testbed with the uploaded helper and scala3 packages.
  • scala-cli's own source and copyright file are not available on the reviewing system or reachable by these tools; the VirtusLab attribution rests on the package's own comment naming the VirtusLab/scala-cli repository.
  • dh_scala 0.1 is not installed here, so I could not read its code to confirm that debian/poms/dependency_3.pom.xml is installed verbatim as the artifact POM (the file's name and location are dh_scala's POM convention); this is why the POM finding is marked inferred rather than checked.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 1 hour ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package