Re: To build a java package with maven

2020-06-21 Thread Mechtilde Stehmann
Hello Emmanuel Am 21.06.20 um 10:55 schrieb Emmanuel Bourg: > Le 21/06/2020 à 08:01, Mechtilde Stehmann a écrit : > >> do I understand it in a right way? >> >> I patch the entry for the dependency part from javax.validation to >> jakarta.vvalidation etc >> >> then I use in maven.rules >> s/javax.

Re: To build a java package with maven

2020-06-21 Thread Emmanuel Bourg
Le 21/06/2020 à 08:01, Mechtilde Stehmann a écrit : > do I understand it in a right way? > > I patch the entry for the dependency part from javax.validation to > jakarta.vvalidation etc > > then I use in maven.rules > s/javax.validation/jakarta.validation/ > s/validation-api/jakarta.validation-a

Re: To build a java package with maven

2020-06-20 Thread Mechtilde Stehmann
Hello and good morning, do I understand it in a right way? I patch the entry for the dependency part from javax.validation to jakarta.vvalidation etc then I use in maven.rules s/javax.validation/jakarta.validation/ s/validation-api/jakarta.validation-api/ * s/.*/debian/ * * So the import line i

Re: To build a java package with maven

2020-06-20 Thread Mechtilde Stehmann
Hello Emmanuel Am 21.06.20 um 01:16 schrieb Emmanuel Bourg: > Hi Mechtilde, > > Le 20/06/2020 à 18:17, Mechtilde a écrit : > >> But I packaged libbeanvalidation-api-java myself. It is now in the >> NewQueue. I described it at the beginning of my question. > > Thank you for packaging Jakarta Be

Re: OT javax.mail (was Re: To build a java package with maven)

2020-06-20 Thread Emmanuel Bourg
Le 21/06/2020 à 01:23, Thorsten Glaser a écrit : > WTF, jakarta-mail? > > I just switched from javax.mail:javax.mail-api 1.4.7 to > com.sun.mail:javax.mail 1.6.2… and now see both > com.sun.mail:jakarta.mail and jakarta.mail:jakarta.mail-api > in versions 1.6.5 and am again confused by the move a

Re: To build a java package with maven

2020-06-20 Thread Emmanuel Bourg
Le 20/06/2020 à 17:13, tony mancill a écrit : > javax.activation is found in geronimo-validation-1.1-spec.jar in the > libgeronimo-validation-1.1-spec-java package. Tony is right (modulo s/activation/validation/), you want to use the libgeronimo-validation-1.1-spec-java package with the following

OT javax.mail (was Re: To build a java package with maven)

2020-06-20 Thread Thorsten Glaser
On Sun, 21 Jun 2020, Emmanuel Bourg wrote: > convention, and I plan to follow with jakarta-mail and jakarta-servlet WTF, jakarta-mail? I just switched from javax.mail:javax.mail-api 1.4.7 to com.sun.mail:javax.mail 1.6.2… and now see both com.sun.mail:jakarta.mail and jakarta.mail:jakarta.mail-a

Re: To build a java package with maven

2020-06-20 Thread Emmanuel Bourg
Hi Mechtilde, Le 20/06/2020 à 18:17, Mechtilde a écrit : > But I packaged libbeanvalidation-api-java myself. It is now in the > NewQueue. I described it at the beginning of my question. Thank you for packaging Jakarta Bean Validation. The Jakarta EE project has inherited from the JavaEE compon

Re: To build a java package with maven

2020-06-20 Thread Thorsten Glaser
On Sat, 20 Jun 2020, Mechtilde Stehmann wrote: > 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. Yes, because jakarta.validation replaced javax.validation, so you

Re: To build a java package with maven

2020-06-20 Thread Mechtilde Stehmann
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. >> >> >> >> I hoped to found a solution in building >> https://github.

Re: To build a java package with maven

2020-06-20 Thread 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. > > > > I hoped to found a solution in building > https://github.com/eclipse-ee4j/beanvalidation-api as > libbeanvalidation-api

Re: To build a java package with maven

2020-06-20 Thread Mechtilde
Hello Thorsten, I know your list at https://wiki.debian.org/Java/MavenPkgs/Unstable thanks for that work. But I packaged libbeanvalidation-api-java myself. It is now in the NewQueue. I described it at the beginning of my question. I hoped to found a solution in building https://github.com/ec

Re: To build a java package with maven

2020-06-20 Thread tony mancill
On Sat, Jun 20, 2020 at 04:57:06PM +0200, Thorsten Glaser wrote: > On Sat, 20 Jun 2020, Mechtilde Stehmann wrote: > > > In the d/rules I did the entry > > > > export CLASSPATH := /usr/share/java/jakarta.validation-api.jar > > There is no file named jakarta.validation-api.jar in Debian, > accordi

Re: To build a java package with maven

2020-06-20 Thread Thorsten Glaser
On Sat, 20 Jun 2020, Mechtilde Stehmann wrote: > In the d/rules I did the entry > > export CLASSPATH := /usr/share/java/jakarta.validation-api.jar There is no file named jakarta.validation-api.jar in Debian, according to a file search on packages.debian.org. Furthermore, for Maven dependency re

To build a java package with maven

2020-06-20 Thread Mechtilde Stehmann
Hello Again I'm trying to build a< new Java library which I need as a dependency. This is Jcabi-Aspects (https://github.com/jcabi/jcabi-aspects) when I build it, the compiler claims that the dependency can't be resolved: javax.validation:validation-api:jar:debian for the file https://github.com/j