Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11707
| From | Mechtilde Stehmann <mechtilde@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: To build a java package with maven |
| Date | 2020-06-20 20:00 +0200 |
| Message-ID | <AjPWx-2nn-1@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> <AjPaa-27D-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello Am 20.06.20 um 19:09 schrieb Thorsten Glaser: > 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. That is excactly my problem. I installed libbeanvalidation-api-java from my local repo with apt. I get the message that the package javas.validation does not exists as described. > > bye, > //mirabilos > Kind regards -- Mechtilde Stehmann ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F
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