Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11706
| Path | csiph.com!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Thorsten Glaser <t.glaser@tarent.de> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: To build a java package with maven |
| Date | Sat, 20 Jun 2020 19:10:02 +0200 |
| Message-ID | <AjPaa-27D-11@gated-at.bofh.it> (permalink) |
| References | <AjJep-6PW-1@gated-at.bofh.it> <AjN8l-Hf-1@gated-at.bofh.it> <AjOnM-1BG-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sat Jun 20 17:09:27 2020 |
| Old-Return-Path | <t.glaser@tarent.de> |
| X-Amavis-Spam-Status | No, score=-6.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, KHOP_HELO_FCRDNS=0.4, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -3.5 |
| X-X-Sender | tglase@tglase-nb.lan.tarent.de |
| User-Agent | Alpine 2.23 (DEB 453 2020-06-18) |
| Content-Language | de-DE-1901 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | QUOTED-PRINTABLE |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22287 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/alpine.DEB.2.23.453.2006201901090.22730@tglase-nb.lan.tarent.de |
| Approved | robomod@news.nic.it |
| Lines | 70 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-java@lists.debian.org |
| X-Original-Date | Sat, 20 Jun 2020 19:09:04 +0200 (CEST) |
| X-Original-Message-ID | <alpine.DEB.2.23.453.2006201901090.22730@tglase-nb.lan.tarent.de> |
| X-Original-References | <fdafbc83-254f-aa1b-9b43-861564688d45@debian.org> <alpine.DEB.2.23.453.2006201651020.22730@tglase-nb.lan.tarent.de> <bcd79d09-28b1-0e64-e0f7-5f04d7134a48@mechtilde.de> |
| Xref | csiph.com linux.debian.maint.java:11706 |
Show key headers only | View raw
On Sat, 20 Jun 2020, Mechtilde wrote: > But I packaged libbeanvalidation-api-java myself. It is now in the > NewQueue. I described it at the beginning of my question. > > > <cite> > I hoped to found a solution in building > https://github.com/eclipse-ee4j/beanvalidation-api as > libbeanvalidation-api-java. > > which contains the class Validation. > </cite> Ah okay, I didn’t fully understand that part. (Besides that, something with jakarta.validation-api would have been a more easily understood name… but given where javax.activation is packaged in Debian that cause is lost anyway…) Looking at https://ftp-master.debian.org/new/beanvalidation-api_3.0.0-M1-1~exp1.html you also packaged a beta version (-M* are milestones, nowhere near production-ready releases or stable APIs). From looking at https://mvnrepository.com/artifact/jakarta.validation/jakarta.validation-api you should almost certainly have packaged version 2.0.2 instead. But ignoring that and looking at the package list… -rw-r--r-- root/root 1321 2020-06-19 17:51 ./usr/share/maven-repo/jakarta/validation/jakarta.validation-api/debian/jakarta.validation-api-debian.pom … is enough to get the following POM dependency work… <dependency> <groupId>jakarta.validation</groupId> <artifactId>jakarta.validation-api</artifactId> <version>debian</version> </dependency> … if the package is in Build-Depends(‑Indep) / installed. AIUI, the replacement of the real version with “debian” is done by the packaging tools. >>>In the pom.xml I found the entry. >>> >>> <dependency> >>> <groupId>javax.validation</groupId> >>> <artifactId>validation-api</artifactId> >>> <scope>compile</scope> >>> </dependency> Yes, change the groupId and artifactId; this is the new name. If after that you still miss javax.validation:validation-api then a dependency also wants it and you’ll have to use exclusions, but given we only use packaged dependencies this won’t happen. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
To build a java package with maven Mechtilde Stehmann <mechtilde@debian.org> - 2020-06-20 12:50 +0200
Re: To build a java package with maven Thorsten Glaser <t.glaser@tarent.de> - 2020-06-20 17:00 +0200
Re: To build a java package with maven tony mancill <tmancill@debian.org> - 2020-06-20 17:20 +0200
Re: To build a java package with maven Emmanuel Bourg <ebourg@apache.org> - 2020-06-21 01:30 +0200
Re: To build a java package with maven Mechtilde <ooo@mechtilde.de> - 2020-06-20 18:20 +0200
Re: To build a java package with maven Thorsten Glaser <t.glaser@tarent.de> - 2020-06-20 19:10 +0200
Re: To build a java package with maven Mechtilde Stehmann <mechtilde@debian.org> - 2020-06-20 20:00 +0200
Re: To build a java package with maven Thorsten Glaser <t.glaser@tarent.de> - 2020-06-20 20:30 +0200
Re: To build a java package with maven Mechtilde Stehmann <mechtilde@debian.org> - 2020-06-21 08:10 +0200
Re: To build a java package with maven Emmanuel Bourg <ebourg@apache.org> - 2020-06-21 11:00 +0200
Re: To build a java package with maven Mechtilde Stehmann <mechtilde@debian.org> - 2020-06-21 11:40 +0200
Re: To build a java package with maven Emmanuel Bourg <ebourg@apache.org> - 2020-06-21 01:20 +0200
OT javax.mail (was Re: To build a java package with maven) Thorsten Glaser <t.glaser@tarent.de> - 2020-06-21 01:30 +0200
Re: OT javax.mail (was Re: To build a java package with maven) Emmanuel Bourg <ebourg@apache.org> - 2020-06-21 01:50 +0200
Re: To build a java package with maven Mechtilde Stehmann <mechtilde@debian.org> - 2020-06-21 08:00 +0200
csiph-web