[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-20 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506092#comment-15506092
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy, great, thanks. 
FYI, I also updated newly introduced Karaf4 specific features:
http://git-wip-us.apache.org/repos/asf/cxf/commit/44c608c2
(see CXF-7060)

Thanks, Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505191#comment-15505191
 ] 

Andriy Redko commented on CXF-7045:
---

Done, [~sergey_beryozkin] [~ay]: 
 master @ 
https://github.com/apache/cxf/commit/507ad4be6ee6056bb75e8decef9ee8e1ef13c334
 3.1.fixes @ 
https://github.com/apache/cxf/commit/9d7c9508ba36161e795390985f384169c4f0d086

Works perfectly on Karaf 4.0.6 :)
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503492#comment-15503492
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

sounds good.
thanks.

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503165#comment-15503165
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Aki, Sergey,

Awesome, will do the change today.
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502928#comment-15502928
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Aki, 
Besides that here is what I said in some of my comments, there were few of them.

Right now Swagger 2 feature already includes Jackson deps - but the feature 
does not work and the user have to install Jackson deps manually. Removing 
these deps out of the feature will not make a feature complete - if a user has 
to pre-install Jackson manually for the feature to work then there's little 
point in having the feature in the 1st place. 

So we can keep these deps inside the feature by tweaking some of the attributes 
for the Jackson deps to resolve properly. But Jackson being Jackson, it is used 
a lot by CXF users who may not care about Swagger at all - all they need is 
JSON returned from their services. So if we do a simple refactoring and keep 
Jackson deps with the Swagger feature by having it depend on a dedicated 
Jackson feature instead of inlining these deps then:
- Swagger feature works and users do not install Jackson manually as in this 
demo
- Extra benefit for free - CXF Jackson users can stop typing 5 install commands 
for all of the libs Jackson needs
- Will  let us deal later on with the case where users have Jackson installed, 
and now need Swagger2, but do not want it installing its own Jackson deps.
 
I reckon it will make things simpler, with Jackson, Swagger or Jackson/Swagger 
users all winning.
Cheers, Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502694#comment-15502694
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

Hi Andriy, Sergey,
on second thought, maybe it's practical to introduce a jackson feature and we 
can deal with the version upgrading issue when we actually encounter one.
regards, aki

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-19 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502676#comment-15502676
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

Hi Andriy, Sergey,
Umm. I am missing to see the benefit of having a cxf-jackson feature. If this 
feature is only used by the swagger2 feature and no other cxf component is 
using it, there is no benefit of it at this moment.  And if other cxf 
components start using it for their jackson scenarios, we will need to 
synchronized its versions across all those jackson consuming components (so we 
can go less frequent upgrade or must introduce multiple versioned jackson 
features (e.g., jackson-nn) used by specific components. In short, I think 
introducing a jackson feature now seems to make our life more complicated, no?

regards, aki

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-17 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15499005#comment-15499005
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hey Andriy - try the demo please next week with the refactored feature - if 
that works then Aki may quite like it :-)
Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-17 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498982#comment-15498982
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Sergey,

Yeah, I think should be good, [~ay], what do you think?
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-17 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498973#comment-15498973
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy

If you are OK too and agree it can make sense then lets do it :-).
Effectively it will be just a minor refactoring of the existing Swagger2 
feature but with an extra positive effect for regular CXF Jackson users...
Thanks, Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497692#comment-15497692
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Sergey,

I think on a second thought it probably makes sense. So let us:
 - introduce a standalone feature *cxf-jackson*
 - change *cxf-rt-rs-service-description-swagger* to depend on it
 - update sample's README to remove additional steps as all the bundles should 
be installed

Sounds like a good plan? :-)
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15497328#comment-15497328
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy, 
I see what your concern is, why would CXF worry about facilitating installing 
Jackson.
Jackson's only concern, as far as OSGI is concerned, is to have each of those 
5+ jars OSGI-friendly. 
But even so, we haven't had any specific Jackson support till now.

I guess all the features that we ship with CXF enable something atomically. So 
if we have a swagger2 feature that does not actually  enable Swagger unless a 
user manually pre-installs Jackson then I'd say the feature is incomplete.

But Swagger2 OSGI feature actually has an indirect support for Jackson right 
now. So we can make it work with Option3. But we can also make it work by 
introducing cxf-jackson, and as you said have the existing swagger2feature 
depend on it - it will be mostly equivalent to what we right now but the extra 
benefit that CXF users can use cxf-jackson on its own...

Thanks, Sergey
  



> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496718#comment-15496718
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Sergey,

I think it is feasible in general, but why would CXF provide a feature to 
install just Jackson? Here is basically the concern I have. F.e. if I am 
building an application and I need to install additional bundles (Jackson is 
good example, like you mentioned), I do know that and I will install them. Now, 
it happens that our own sample project has to include some additional bundles 
as well. We could make this process easier (by pre-installing some bundles, 
hopefully users will need them anyway) or ask user to do that. 

I am honestly not sure about having dedicated CXF feature for Jackson, it feels 
like that should not be the CXF responsibility but Jackson itself. However we 
do have similar use cases, f.e. cxf-jaxb, so I think in general it might be OK. 
So it would mean to have standalone *cxf_jackson* feature, and 
*cxf-rt-rs-service-description-swagger* will depend on it as well, right?

Thanks.

Best Regards,
Andriy Redko 

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496630#comment-15496630
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy, I'm actually thinking it will become easier for the users.

Lets take it step by step.
- Users need Jackson (without even worrying about Swagger) - they have to do 
*5* install commands, see
https://github.com/apache/cxf/pull/167/files.
So having Jackson feature in its own is good IMHO - only one install command.
- Now users install Swagger 2 feature and all works.

Having Swagger2 feature forcing the install of Jackson is OK as long as this 
Jackson will not interfere with other installed Jacksons.
So if we 2 swagger features, one for a case where Jackson is already installed 
and one for a case where it has not been installed, then I can only see it 
becoming simpler.

Where is the complexity coming from in your opinion, lets take some concrete 
examples
thanks, Sergey 



 

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496605#comment-15496605
 ] 

Andriy Redko commented on CXF-7045:
---

Hey Sergey,

Not sure about that, really. I understand what you mean, but it sounds 
complicated to me. And probably, it won't be straightforward to the users as 
well. Regarding this particular use case, I think we would be safe by just 
installing com.fasterxml.jackson.jaxrs bundles. The 
cxf-rt-rs-service-description-swagger already dependents on quite a few core 
Jackson libraries, so we would just introduce a few more which users, very 
likely, will need anyway. What do you think?

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-16 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15496577#comment-15496577
 ] 

Sergey Beryozkin commented on CXF-7045:
---

I've been wondering if we should support difference scenarios and thus have few 
features.
First we should have a helper 'jackson' feature - for all the users who prefer 
to install Jackson in OSGI, this in itself not related to Swagger2.
Next we have a 'minimal' Swagger2 feature - it has all but jackson specific 
dependencies.
Finally we have a current swagger2 feature which, with option3 enforced, simply 
works - it will depend on a new jackson feature.

So if a user has already installed Jackson manually or with a new Jackson 
feature to support JSON at the application level and Swagger is needed -  then 
'minimal' Swagger2 feature is installed. Otherwise - a complete swagger2 
feature is installed.

Does it work ?
Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15494840#comment-15494840
 ] 

Andriy Redko commented on CXF-7045:
---

Hey Sergey,

Great, no problem! Yeah, exactly, for non-OSGi samples there are no issues. By 
solution 3 you mean this one: *remove dependency="true" or use install="auto"*? 
Thanks to Christian we could simplify it to just *remove dependency="true" for 
com.fasterxml.jackson.jaxrs bundles only*. Yeah, it is still the option, right.

Thanks!

Best Regards,
 Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15494495#comment-15494495
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hey Andriy

Thanks for your patience, I think it is getting a bit clearer for me.
So, it appears to be an OSGI wiring issue, right, if, despite the dependency 
graph change it is all working fine in non-OSGI ?
That solution 3 you mentioned - is still an option ?

Thanks. Sergey


> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493952#comment-15493952
 ] 

Andriy Redko commented on CXF-7045:
---

Hey Sergey,

No problem. So here is the thing (Swagger 2 OSGi sample):
 - yes, you see the usage of JAX-RS provider in the sample (which is part of 
com.fasterxml.jackson.jaxrs artifacts)
 - yes,  cxf-rt-rs-service-description-swagger lists two 
com.fasterxml.jackson.jaxrs artifacts in the feature.xml definition
 - however, they won't be installed by Karaf, because our Swagger 2 integration 
does not depend on any class from com.fasterxml.jackson.jaxrs artifacts (the 
respective bundles are marked with dependency="true" attribute)
 - but our Swagger 2 OSGi sample uses JacksonJsonProvider so when it is being 
installed into Karaf container, two com.fasterxml.jackson.jaxrs have to be 
installed manually as well

As Aki mention, previous version of Swagger had a dependency to 
com.fasterxml.jackson.jaxrs and as such, Karaf installed them as part of 
cxf-rt-rs-service-description-swagger feature. In this case, our samples just 
work, nothing to be done. Now, the dependency graph has changed and 
com.fasterxml.jackson.jaxrs are resolved as a dependencies, so when we ask user 
to install sample application bundle, com.fasterxml.jackson.jaxrs bundles are 
not present and have to be installed manually :( Hope I included all the pieces 
... :-) Please let me know if something is still not clear.

Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493754#comment-15493754
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hey Andriy, I'm feeling terribly slow today :-), so stay with me please. I've 
just looked at the CXF source and I saw these Jackson JAX-RS provider in the 
list - so what I've missed so far is why having it there is not enough and why 
users have to install it manually ?

Thanks, Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493728#comment-15493728
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Sergey,

That's right,  that dependency is not here anymore for  
cxf-rt-rs-service-description-swagger feature.
Rather, those become the dependency for sample applications only and as such, 
have to be installed manually (before we installed them as part of 
cxf-rt-rs-service-description-swagger feature).
Does it make things clearer a bit?
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493599#comment-15493599
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy

I'm not understanding something. You and Aki are saying that 'that dependency' 
is not there any more.
But non-OSGI demo does show these Jackson providers being pulled in.
 
I'm not sure why listing these jackson providers is not sufficient... 

Cheers, Sergey

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493259#comment-15493259
 ] 

Andriy Redko commented on CXF-7045:
---

Hi [~sergey_beryozkin],

I think this is the right decision. No, we don't need 
com.fasterxml.jackson.jaxrs.json;resolution:=optional in this case. We could 
remove com.fasterxml.jackson.jaxrs from feature.xml
and update README for the sample project to ask the users to install two 
com.fasterxml.jackson.jaxrs bundles manually (if they are not present in Karaf 
container). Sounds good?
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Sergey Beryozkin (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493078#comment-15493078
 ] 

Sergey Beryozkin commented on CXF-7045:
---

Hi Andriy, Aki

I'd rather let the users deal with it, yes. The user may have already installed 
Jackson for the JAX-RS application to work with.
Shoud we still have

com.fasterxml.jackson.jaxrs.json;resolution:=optional added to the 
cxf.osgi.import section ?

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493062#comment-15493062
 ] 

Andriy Redko commented on CXF-7045:
---

Hey [~ay]

Yeah, it looks like that, dependency may have been present but not anymore. So 
what road we would take? I would better not introduce the dependencies we 
really don't need (remove it from feature.xml and update README with those two 
bundles only). Or, adding optional dependency would be also an easy win. What 
do you think?

Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-15 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15492793#comment-15492793
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

[~reta] Hi Andriy, thanks for investigating the root cause. 
Regarding com.fasterxml.jackson.jaxrs, it was referenced by swagger-jars 1.5.4, 
but not by the recent ones. And it used to all work with cxf-3.1.5. I remember 
swagger-feature of cxf-3.1.6 was broken because of the late change to the 
jackson version in parent/pom.xml that was inconsistent with the jackson 
version used by swagger. I remember fixing this issue in 3.1.7-SNAPSHOT and 
tested it to work using the cxf-rt-rs-service-description-swagger feature. But 
somehow, the released cxf 3.1.7 seems to have the wiring issue.

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-14 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15491378#comment-15491378
 ] 

Andriy Redko commented on CXF-7045:
---

I think the problem is understood: our Swagger 2 implementation does not 
directly depend on *com.fasterxml.jackson.jaxrs* so that is why those are not 
being installed during *feature:install*.  Now, there are couple of options 
here:
 - remove *com.fasterxml.jackson.jaxrs* from the *feature.xml* so it becomes 
the responsibility of the user to install it
 - add *com.fasterxml.jackson.jaxrs.json;resolution:=optional* to 
*cxf.osgi.import* section (*cxf-rt-rs-service-description-swagger* module)
 - remove *dependency="true"* or use *install="auto"* (waiting for advise here 
from Christian)

It seems like the first option is the easier one to take, but second one could 
be more beneficial to the users, what do you [~sergey_beryozkin], [~ay]?
Thanks!


> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-14 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15490634#comment-15490634
 ] 

Andriy Redko commented on CXF-7045:
---

Hey guys,

Here is what I have found. The dependencies for Jackson are indeed in the 
feature.xml file but those two:
{noformat}
mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.6.6
mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.6.6
{noformat}

Are not being installed as part of feature:install. Apparently, due to 
*dependency="true"*, there is another bundle which satisfy those dependencies 
and they are skipped. For a sake of experiment, I removed *dependency="true"*, 
deployed feature, deployed sample and everything resolves perfectly. So I think 
this is the issue, looking right now where the conflict comes from. 

Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15488986#comment-15488986
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Aki,

You are right, the Jackson is actually in the feature.xml. I tend to agree with 
you, there is very likely a conflict in manifest because the same dependency 
resolution issue led me to README file update. I will take a look in order to 
prove this hypothesis. 
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15488673#comment-15488673
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

Hi Andriy,
well, I verified the original feature.xml 
https://github.com/apache/cxf/commit/af7de1d82d77e3653b72ee83b4aa3f91e1a1d039

and those jackson bundles were there and those entries are still there in the 
current feature.xml.
https://github.com/apache/cxf/blob/master/osgi/karaf/features/src/main/resources/features.xml#L236-L254

so, you don't need to install them extra when using cxf's swagger feature.

The only occasion this can go wrong is that since we are pulling the jackson 
version from swagger transitively and write them into the 
cxf-description-swagger's manifest. So, if someone changes cxf parent's jackson 
version while keeping the swagger version, the jackson version referenced in 
cxf's feature.xml and what is actually referenced in cf-description-swagger's 
manifest might diverge too far so that the wiring can fail. And I suspect this 
was what had happened in your situation.

regards, aki



> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15487723#comment-15487723
 ] 

Andriy Redko commented on CXF-7045:
---

Hi Aki,

As far as I remember, they aren't, I had to update README file for the sample 
in order to include those.
Thanks!

Best Regards,
Andriy Redko

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15487534#comment-15487534
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

Hi Andriy,
aren't they already in the feature descriptor? I remember using that feature to 
install all those jackson bundles. And I thought there was no extra 
installation needed. 
regards, aki


> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Andriy Redko (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15487500#comment-15487500
 ] 

Andriy Redko commented on CXF-7045:
---

Hey [~ay], I think we could make it a part of the cxf-rs-description-swagger2 
feature, I am not sure if Jackson is a hard dependency for Swagger 2 or just a 
part of the sample project, I will check that shortly. Thanks!

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-13 Thread Akitoshi Yoshida (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15487130#comment-15487130
 ] 

Akitoshi Yoshida commented on CXF-7045:
---

[~reta] hi andriy, this change seems to be a follow up to your previous change 
of adding explicit jackson install commands. Shouldn't these jackson bundles 
automatically be installed with cxf-rs-description-swagger2 feature, no?


> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-08 Thread Freeman Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15475610#comment-15475610
 ] 

Freeman Fang commented on CXF-7045:
---

patch applied on behalf of  John Poth with thanks
http://git-wip-us.apache.org/repos/asf/cxf/commit/e32418de for master
http://git-wip-us.apache.org/repos/asf/cxf/commit/ea8ef138 for 3.1.x-fixes 
branch

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.2.0, 3.1.8
>
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15475598#comment-15475598
 ] 

ASF GitHub Bot commented on CXF-7045:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cxf/pull/167


> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Assignee: Freeman Fang
>Priority: Minor
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-08 Thread John Poth (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15474028#comment-15474028
 ] 

John Poth commented on CXF-7045:


PR provided https://github.com/apache/cxf/pull/167

> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Priority: Minor
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt

2016-09-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15474004#comment-15474004
 ] 

ASF GitHub Bot commented on CXF-7045:
-

GitHub user johnpoth opened a pull request:

https://github.com/apache/cxf/pull/167

[CXF-7045] Update sample description_swagger2_osgi README.txt file

https://issues.apache.org/jira/browse/CXF-7045

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/johnpoth/cxf CXF-7045

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cxf/pull/167.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #167


commit e32418de404a1e72ac4d968a48906d0e1fe02f50
Author: jpoth 
Date:   2016-09-08T14:26:27Z

[CXF-7045] Update sample description_swagger2_osgi README.txt file




> Update sample description_swagger2_osgi README.txt
> --
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> Project: CXF
>  Issue Type: Bug
>  Components: Samples
>Reporter: John Poth
>Priority: Minor
>
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve 
> org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0): 
> missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi 
> [146](R 146.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
>  Unresolved requirements: 
> [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R 146.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)