users@jersey.java.net

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

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 24 Jul 2008 11:40:48 +0200

Martin Grotzke wrote:
> On Wed, 2008-07-23 at 12:20 +0200, Paul Sandoz wrote:
>> 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.
> What is your setup (os, jvm, maven version etc.?). What was the error
> you saw?
>

A compilation failure, same as previously in the Hudson log, which i
could also reproduce myself.


> For me it worked, so I wonder why it did not work for you...
>

Weird... i am using mvn 2.0.9.


> I changed the dependency to runtime because of mvn projects using the
> plugin (though I'm not sure if this is the best/right way).
>

Is it OK to remove the scope completely? I removed it and module compiled.

Paul.

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