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/jcabi/jcabi-aspects/blob/master/src/main/java/com/jcabi/aspects/aj/MethodValidator.java
line 36-39
I hoped to found a solution in building
https://github.com/eclipse-ee4j/beanvalidation-api as
libbeanvalidation-api-java.
which contains the class Validation.
In the d/rules I did the entry
export CLASSPATH := /usr/share/java/jakarta.validation-api.jar
This is the jar file in the package libbeanvalidation-api-java
and in d/maven.rules
s/javax.validation/jakarta.validation/
s/validation-api/jakarta.validation-api/ * s/.*/debian/ * compile
In the pom.xml I found the entry.
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<scope>compile</scope>
</dependency>
When I look into the package libbeanvalidation-api-java I found this entry:
/usr/share/maven-repo/jakarta/validation/jakarta.validation-api/debian/jakarta.validation-api-debian.jar
But I get the error message that
package javax.validation does not exist
Can someone point me to the right entries?
Thanks in advance
--
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F
Attachment:
signature.asc
Description: OpenPGP digital signature