You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jason Pell <ja...@pellcorp.com> on 2012/10/01 04:41:53 UTC

building cxf 2.6.x-fixes

Hi,

I am trying to build cxf 2.6 branch with tests and it fails at
cxf-rt-frontend-jaxrs.

I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)

I am just doing a mvn clean
then a mv install

The following tests fail:

Failed tests:
testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>
  testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
expected:<1> but was:<0>


I deleted my entire .m2/repository just in case I had some invalid
jars lying around.

The tests are looking for a xsd:long in the generated wadl and I took
a look at it and there are only xsd:int generated.   I suspect this
might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
build this project?

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
Just to see if I could assist with working out the issue I upgraded my
jdk to 1.6.0_35
in ubuntu 10.10 - still same issue.

Must be something else.  Anyway I won't bother stuffing around with it
any further I can my any
cxf patches in my 12.04

On Mon, Oct 1, 2012 at 9:13 PM, Jason Pell <ja...@pellcorp.com> wrote:
> So I am having no issues building 2.6.x-fixes on ubuntu 12.04 :-)
>
> On Mon, Oct 1, 2012 at 8:06 PM, Sergey Beryozkin <sb...@gmail.com> wrote:
>> Hi Jason
>>
>> On 01/10/12 03:41, Jason Pell wrote:
>>>
>>> Hi,
>>>
>>> I am trying to build cxf 2.6 branch with tests and it fails at
>>> cxf-rt-frontend-jaxrs.
>>>
>>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>>
>>> I am just doing a mvn clean
>>> then a mv install
>>>
>>> The following tests fail:
>>>
>>> Failed tests:
>>>
>>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>> testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1>  but was:<0>
>>>
>>>
>>> I deleted my entire .m2/repository just in case I had some invalid
>>> jars lying around.
>>>
>>> The tests are looking for a xsd:long in the generated wadl and I took
>>> a look at it and there are only xsd:int generated.   I suspect this
>>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>>> build this project?
>>
>>
>> Thanks for actually checking the generated WADLs, I have not seen this issue
>> before, so I guess it may be indeed something to do with different JAXB
>> implementations. I'll experiment a bit later with jdk 1.6.0_32
>>
>> Cheers, Sergey
>>

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
So I am having no issues building 2.6.x-fixes on ubuntu 12.04 :-)

On Mon, Oct 1, 2012 at 8:06 PM, Sergey Beryozkin <sb...@gmail.com> wrote:
> Hi Jason
>
> On 01/10/12 03:41, Jason Pell wrote:
>>
>> Hi,
>>
>> I am trying to build cxf 2.6 branch with tests and it fails at
>> cxf-rt-frontend-jaxrs.
>>
>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>
>> I am just doing a mvn clean
>> then a mv install
>>
>> The following tests fail:
>>
>> Failed tests:
>>
>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>> testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1>  but was:<0>
>>
>>
>> I deleted my entire .m2/repository just in case I had some invalid
>> jars lying around.
>>
>> The tests are looking for a xsd:long in the generated wadl and I took
>> a look at it and there are only xsd:int generated.   I suspect this
>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>> build this project?
>
>
> Thanks for actually checking the generated WADLs, I have not seen this issue
> before, so I guess it may be indeed something to do with different JAXB
> implementations. I'll experiment a bit later with jdk 1.6.0_32
>
> Cheers, Sergey
>

Re: building cxf 2.6.x-fixes

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Jason
On 01/10/12 03:41, Jason Pell wrote:
> Hi,
>
> I am trying to build cxf 2.6 branch with tests and it fails at
> cxf-rt-frontend-jaxrs.
>
> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>
> I am just doing a mvn clean
> then a mv install
>
> The following tests fail:
>
> Failed tests:
> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>    testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1>  but was:<0>
>
>
> I deleted my entire .m2/repository just in case I had some invalid
> jars lying around.
>
> The tests are looking for a xsd:long in the generated wadl and I took
> a look at it and there are only xsd:int generated.   I suspect this
> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
> build this project?

Thanks for actually checking the generated WADLs, I have not seen this 
issue before, so I guess it may be indeed something to do with different 
JAXB implementations. I'll experiment a bit later with jdk 1.6.0_32

Cheers, Sergey


Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
ok - so got past udp test failure and finished building successfully.

There are too many variables to really understand what the issue was:

10.10 32bit vmware guest vs 12.04 64bit native
32 bit jvm vs 64bit jvm

Don't know if this thread will be of any use to others but figured I
should let you know I did get it working.

Next I think I will check 2.6.x just for fun and see if it will build
successfully on my 12.04 ubuntu

For anyone wondering why I was using a vmware guest running ubuntu 10.10...

Where I work we are not allowed to use linux directly but we can use
vmware running on windows 7.  Its easier to be a java developer in a
linux environment than a windows env any day (at least I think so)
And the vm was built at the start of the project 2 years ago so thats
why its ubuntu 10.10.

Thanks
Jason

On Mon, Oct 1, 2012 at 1:58 PM, Jason Pell <ja...@pellcorp.com> wrote:
> I was running this as a vmware client running ubuntu 10.10.  I am now
> going to try
> on ubuntu 12.04 native and see if perhaps there was an issue with udp and vmware
> or perhaps the old kernel (2.6.35)
>
>
>
> On Mon, Oct 1, 2012 at 1:30 PM, Jason Pell <ja...@pellcorp.com> wrote:
>> well fancy that on 2.7.x I got past the jaxrs frontend and failed on
>> another test.  I will rerun and see if it might just be a timing
>> issue.
>>
>> Tests in error:
>>   testSimpleUDP(org.apache.cxf.transport.udp.UDPTransportTest): Timed
>> out waiting for response to operation
>> {http://apache.org/hello_world}greetMe.
>>
>>
>>
>> On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>> All test pass I mean :)
>>>
>>> On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>>> I have checked out trunk of cxf and will try to build again.  I see
>>>> there are plans to release 2.7 soon anyway so little point working on
>>>> a patch for 2.6.x when I will be upgrading to 2.7.
>>>>
>>>> Hopefully I get a full build and all tests fail.
>>>>
>>>> Any ideas about what might have gone wrong with my attempts to build
>>>> 2.6 would be appreciated?  Should I do a mvn -Pfastinstall install
>>>> first before a mvn install?
>>>>
>>>> What is the normal process you developers of cxf use?  Be good if you
>>>> might be able to provide some details of your dev environment as well
>>>> - including Maven and Java versions.  Any m2/settings.xml that you
>>>> needed to set?
>>>>
>>>>
>>>>
>>>> On Mon, Oct 1, 2012 at 12:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>>>> Hi,
>>>>>
>>>>> I am trying to build cxf 2.6 branch with tests and it fails at
>>>>> cxf-rt-frontend-jaxrs.
>>>>>
>>>>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>>>>
>>>>> I am just doing a mvn clean
>>>>> then a mv install
>>>>>
>>>>> The following tests fail:
>>>>>
>>>>> Failed tests:
>>>>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>   testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>>> expected:<1> but was:<0>
>>>>>
>>>>>
>>>>> I deleted my entire .m2/repository just in case I had some invalid
>>>>> jars lying around.
>>>>>
>>>>> The tests are looking for a xsd:long in the generated wadl and I took
>>>>> a look at it and there are only xsd:int generated.   I suspect this
>>>>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>>>>> build this project?

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
I was running this as a vmware client running ubuntu 10.10.  I am now
going to try
on ubuntu 12.04 native and see if perhaps there was an issue with udp and vmware
or perhaps the old kernel (2.6.35)



On Mon, Oct 1, 2012 at 1:30 PM, Jason Pell <ja...@pellcorp.com> wrote:
> well fancy that on 2.7.x I got past the jaxrs frontend and failed on
> another test.  I will rerun and see if it might just be a timing
> issue.
>
> Tests in error:
>   testSimpleUDP(org.apache.cxf.transport.udp.UDPTransportTest): Timed
> out waiting for response to operation
> {http://apache.org/hello_world}greetMe.
>
>
>
> On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
>> All test pass I mean :)
>>
>> On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>> I have checked out trunk of cxf and will try to build again.  I see
>>> there are plans to release 2.7 soon anyway so little point working on
>>> a patch for 2.6.x when I will be upgrading to 2.7.
>>>
>>> Hopefully I get a full build and all tests fail.
>>>
>>> Any ideas about what might have gone wrong with my attempts to build
>>> 2.6 would be appreciated?  Should I do a mvn -Pfastinstall install
>>> first before a mvn install?
>>>
>>> What is the normal process you developers of cxf use?  Be good if you
>>> might be able to provide some details of your dev environment as well
>>> - including Maven and Java versions.  Any m2/settings.xml that you
>>> needed to set?
>>>
>>>
>>>
>>> On Mon, Oct 1, 2012 at 12:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>>> Hi,
>>>>
>>>> I am trying to build cxf 2.6 branch with tests and it fails at
>>>> cxf-rt-frontend-jaxrs.
>>>>
>>>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>>>
>>>> I am just doing a mvn clean
>>>> then a mv install
>>>>
>>>> The following tests fail:
>>>>
>>>> Failed tests:
>>>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>   testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>>> expected:<1> but was:<0>
>>>>
>>>>
>>>> I deleted my entire .m2/repository just in case I had some invalid
>>>> jars lying around.
>>>>
>>>> The tests are looking for a xsd:long in the generated wadl and I took
>>>> a look at it and there are only xsd:int generated.   I suspect this
>>>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>>>> build this project?

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
well fancy that on 2.7.x I got past the jaxrs frontend and failed on
another test.  I will rerun and see if it might just be a timing
issue.

Tests in error:
  testSimpleUDP(org.apache.cxf.transport.udp.UDPTransportTest): Timed
out waiting for response to operation
{http://apache.org/hello_world}greetMe.



On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
> All test pass I mean :)
>
> On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
>> I have checked out trunk of cxf and will try to build again.  I see
>> there are plans to release 2.7 soon anyway so little point working on
>> a patch for 2.6.x when I will be upgrading to 2.7.
>>
>> Hopefully I get a full build and all tests fail.
>>
>> Any ideas about what might have gone wrong with my attempts to build
>> 2.6 would be appreciated?  Should I do a mvn -Pfastinstall install
>> first before a mvn install?
>>
>> What is the normal process you developers of cxf use?  Be good if you
>> might be able to provide some details of your dev environment as well
>> - including Maven and Java versions.  Any m2/settings.xml that you
>> needed to set?
>>
>>
>>
>> On Mon, Oct 1, 2012 at 12:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>> Hi,
>>>
>>> I am trying to build cxf 2.6 branch with tests and it fails at
>>> cxf-rt-frontend-jaxrs.
>>>
>>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>>
>>> I am just doing a mvn clean
>>> then a mv install
>>>
>>> The following tests fail:
>>>
>>> Failed tests:
>>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>   testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>>> expected:<1> but was:<0>
>>>
>>>
>>> I deleted my entire .m2/repository just in case I had some invalid
>>> jars lying around.
>>>
>>> The tests are looking for a xsd:long in the generated wadl and I took
>>> a look at it and there are only xsd:int generated.   I suspect this
>>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>>> build this project?

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
All test pass I mean :)

On Mon, Oct 1, 2012 at 1:19 PM, Jason Pell <ja...@pellcorp.com> wrote:
> I have checked out trunk of cxf and will try to build again.  I see
> there are plans to release 2.7 soon anyway so little point working on
> a patch for 2.6.x when I will be upgrading to 2.7.
>
> Hopefully I get a full build and all tests fail.
>
> Any ideas about what might have gone wrong with my attempts to build
> 2.6 would be appreciated?  Should I do a mvn -Pfastinstall install
> first before a mvn install?
>
> What is the normal process you developers of cxf use?  Be good if you
> might be able to provide some details of your dev environment as well
> - including Maven and Java versions.  Any m2/settings.xml that you
> needed to set?
>
>
>
> On Mon, Oct 1, 2012 at 12:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>> Hi,
>>
>> I am trying to build cxf 2.6 branch with tests and it fails at
>> cxf-rt-frontend-jaxrs.
>>
>> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>>
>> I am just doing a mvn clean
>> then a mv install
>>
>> The following tests fail:
>>
>> Failed tests:
>> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>   testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
>> expected:<1> but was:<0>
>>
>>
>> I deleted my entire .m2/repository just in case I had some invalid
>> jars lying around.
>>
>> The tests are looking for a xsd:long in the generated wadl and I took
>> a look at it and there are only xsd:int generated.   I suspect this
>> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
>> build this project?

Re: building cxf 2.6.x-fixes

Posted by Jason Pell <ja...@pellcorp.com>.
I have checked out trunk of cxf and will try to build again.  I see
there are plans to release 2.7 soon anyway so little point working on
a patch for 2.6.x when I will be upgrading to 2.7.

Hopefully I get a full build and all tests fail.

Any ideas about what might have gone wrong with my attempts to build
2.6 would be appreciated?  Should I do a mvn -Pfastinstall install
first before a mvn install?

What is the normal process you developers of cxf use?  Be good if you
might be able to provide some details of your dev environment as well
- including Maven and Java versions.  Any m2/settings.xml that you
needed to set?



On Mon, Oct 1, 2012 at 12:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
> Hi,
>
> I am trying to build cxf 2.6 branch with tests and it fails at
> cxf-rt-frontend-jaxrs.
>
> I am building with maven 3 and jdk 1.6.0_32 on linux (Ubuntu 10.10)
>
> I am just doing a mvn clean
> then a mv install
>
> The following tests fail:
>
> Failed tests:
> testCustomSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testExternalSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testExternalRelativeSchemaJaxbContextPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testExternalSchemaCustomPrefix(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testCustomSchemaAndSchemaPrefixes(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testSingleRootResource(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>   testMultipleRootResources(org.apache.cxf.jaxrs.model.wadl.WadlGeneratorTest):
> expected:<1> but was:<0>
>
>
> I deleted my entire .m2/repository just in case I had some invalid
> jars lying around.
>
> The tests are looking for a xsd:long in the generated wadl and I took
> a look at it and there are only xsd:int generated.   I suspect this
> might be a jaxb version issue?   Should I enable jaxb 2.2 profile to
> build this project?