[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: To build a java package with maven



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,
> according to a file search on packages.debian.org.
> 
> Furthermore, for Maven dependency resolution, you must not
> set $CLASSPATH; only the information in the pom.xml file counts.
> 
> > In the pom.xml I found the entry.
> > 
> >         <dependency>
> >             <groupId>javax.validation</groupId>
> >              <artifactId>validation-api</artifactId>
> >              <scope>compile</scope>
> >         </dependency>
> 
> You have to insert the correct coordinates here. Sadly, according
> to https://wiki.debian.org/Java/MavenPkgs/Unstable neither
> javax.validation nor jakarta.validation are packaged in Debian yet,
> so they have to be packaged.

javax.activation is found in geronimo-validation-1.1-spec.jar in the
libgeronimo-validation-1.1-spec-java package.

I believe we do need to package something for jakarta.validation. 

Cheers,
tony

Attachment: signature.asc
Description: PGP signature


Reply to: