Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12534
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Joe Nahmias <joe@nahmias.net> |
| Newsgroups | linux.debian.maint.java |
| Subject | help with plugin versions and maven-debian-helper |
| Date | Wed, 08 Feb 2023 05:50:01 +0100 |
| Message-ID | <FWKz7-4jkQ-1@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-java@lists.debian.org |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Wed Feb 8 04:47:56 2023 |
| Old-Return-Path | <joe@nahmias.net> |
| X-Amavis-Spam-Status | No, score=-6.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| Mail-Followup-To | Joe Nahmias <joe@nahmias.net>, debian-java@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23185 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/Y+Mpahbc3lJYhbr2@debian-BULLSEYE-live-builder-AMD64 |
| Approved | robomod@news.nic.it |
| Lines | 57 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 7 Feb 2023 23:47:38 -0500 |
| X-Original-Message-ID | <Y+Mpahbc3lJYhbr2@debian-BULLSEYE-live-builder-AMD64> |
| Xref | csiph.com linux.debian.maint.java:12534 |
Show key headers only | View raw
Hello,
I'm new to maven-debian-helper and am trying to package
jackson-modules-java8 [0], as part of a larger project to package
mssql-jdbc.
[0]: https://github.com/FasterXML/jackson-modules-java8
I've got my dev env with m-d-h, along with (I believe) all the relevant
java packages for the build-deps including libjackson2-core-java. I try
running mh_make as follows:
$ mh_make --package=jackson-modules-java8 \
--bin-package=libjackson2-modules-java8-java \
--javadoc=false --run-tests=false
After mostly accepting the defaults and ignoring some irrelevant plugins
and test deps, I end up with the following error:
[FATAL] Non-resolvable parent POM for com.fasterxml.jackson.module:jackson-modules-java8:2.14.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.fasterxml.jackson:jackson-base:pom:2.14.2 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 8, column 10
I then manually hack the version of the jackson-base parent in the rootdir
pom.xml to use the debian version as follows:
diff --git a/pom.xml b/pom.xml
index 8c55a38..0e99618 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-base</artifactId>
- <version>2.14.2</version>
+ <version>debian</version>
</parent>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-modules-java8</artifactId>
Re-running mh_make (after cleaning up the failed run) then gives me:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.fasterxml:oss-parent:debian, /usr/share/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 173, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ com.fasterxml:oss-parent:debian, /usr/share/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 217, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.fasterxml:oss-parent:debian, /usr/share/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 226, column 12
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ com.fasterxml:oss-parent:debian, /usr/share/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 199, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ com.fasterxml:oss-parent:debian, /usr/share/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 221, column 12
[ERROR] Unresolveable build extension: Error resolving version for plugin 'org.apache.felix:maven-bundle-plugin' from the repositories [local (/usr/share/maven-repo), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository @
Is this a bug in libjackson2-core-java (which provides oss-parent) for
stripping the version tags in the plugin section (they are present
upstream and in the source) or am I misusing mh_make and/or
maven-debian-helper in some non-obvious (to me) way?
Thanks,
--Joe
Back to linux.debian.maint.java | Previous | Next — Next in thread | Find similar
help with plugin versions and maven-debian-helper Joe Nahmias <joe@nahmias.net> - 2023-02-08 05:50 +0100
Re: help with plugin versions and maven-debian-helper Emmanuel Bourg <ebourg@apache.org> - 2023-02-08 09:00 +0100
Re: help with plugin versions and maven-debian-helper Joe Nahmias <joe@nahmias.net> - 2023-02-09 00:10 +0100
Re: help with plugin versions and maven-debian-helper Joe Nahmias <joe@nahmias.net> - 2023-02-09 00:30 +0100
Re: help with plugin versions and maven-debian-helper Emmanuel Bourg <ebourg@apache.org> - 2023-02-09 08:40 +0100
Re: help with plugin versions and maven-debian-helper Joe Nahmias <joe@nahmias.net> - 2023-02-09 19:40 +0100
Re: help with plugin versions and maven-debian-helper Emmanuel Bourg <ebourg@apache.org> - 2023-02-09 23:10 +0100
Re: help with plugin versions and maven-debian-helper Vladimir Petko <vladimir.petko@canonical.com> - 2023-02-09 23:20 +0100
Re: help with plugin versions and maven-debian-helper Thorsten Glaser <t.glaser@tarent.de> - 2023-02-09 23:30 +0100
Re: help with plugin versions and maven-debian-helper Thorsten Glaser <t.glaser@tarent.de> - 2023-02-09 23:20 +0100
Re: help with plugin versions and maven-debian-helper Joe Nahmias <joe@nahmias.net> - 2023-02-10 02:00 +0100
Re: help with plugin versions and maven-debian-helper Emmanuel Bourg <ebourg@apache.org> - 2023-02-10 13:00 +0100
Re: help with plugin versions and maven-debian-helper Thorsten Glaser <t.glaser@tarent.de> - 2023-02-10 15:10 +0100
Re: help with plugin versions and maven-debian-helper Emmanuel Bourg <ebourg@apache.org> - 2023-02-10 16:40 +0100
csiph-web