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

Re: Building Jollyday



Hello Markus,

Am 07.01.20 um 22:29 schrieb Markus Koschany:
> 
> Am 07.01.20 um 20:20 schrieb Mechtilde Stehmann:
>> Hello,>>
>> Am 05.01.20 um 14:31 schrieb Mechtilde Stehmann:
>>> Hello,
>>> I need help to build the package Jollyday which is a dependency for JVerein.
>>> when building I get this error for several Moduls:
>>>
>>> build/jollyday-0.5.10/src/main/java/de/jollyday/config/org/example/holiday/ChristianHoliday.java:11:
>>> error: package javax.xml.bind.annotation does not exist
>>> import javax.xml.bind.annotation.XmlAccessType;
> 
> The error message indicates that javax.xml.bind.annotation is not on the
> Classpath.

That's what I understood

>>> I get this for
>>> XmlAccessType
>>> XmlAccessorTyp
>>> XmlAttribute
>>> XmlElement
>>> XmlSeeAlso
>>> XmlType
>>>
>>> I looked deeper for javax.xml.bind.annotation into libjaxb-api-java
>>>
>>> There I found
>>>
>>> /usr/share/maven-repo/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar
>>>
>>> And in it I found javax/xml/bind/annotation with the classes.
>>>
>>> For me it is a kind of double packaging.
>>>
>>> Do i have to unpack the jar file in debian/rules?
> 
> No.
> 
>>>
>>> What is the proper way to handle it?
> 
> The missing class is indeed part of jaxb-api. You need a
> build-dependency on libjaxb-api-java and the build system should point
> to it too.

I have it as build dependency in debian/control and in
debian/maven.rules I have the following entry

javax.xml.bind s/annotation/jaxb-api/ * s/.*/debian/ * *


Is there another thing missing.

Kind regards

-- 
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: