users@jersey.java.net

Re: [Jersey] Build failing for maven-wadl-plugin

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 23 Jul 2008 12:20:50 +0200

Martin Grotzke wrote:
> On Tue, 2008-07-22 at 18:05 +0200, Paul Sandoz wrote:
>> Martin Grotzke wrote:
>>> Hi Paul,
>>>
>>>> [INFO] Compilation failure
>>>> http://kohsuke.sfbay/hudson/job/Jersey/ws/jersey/contribs/maven-wadl-plugin/src/main/java/com/sun/jersey/wadl/GenerateWadlMojo.java :[54,22] package javax.xml.bind does not exist
>>> it seems that the build is done with a jdk5, whereas I'm on jdk6.
>> Yes, i just tried it. I presume it is because there is no explicit JAXB
>> dependency specified when using SE 5?
> I fixed this by adding a profile for jdk 1.5, so finally it should
> build :)
>

Thanks. I needed to change the dependency from runtime to compile and
after that it worked OK.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109