Hi Charles

You are right, I recall in the spring boot scan demo an actuator (health ?) endpoint is indirectly supported, without CXF doing anything at all. I suppose even if we explicitly exclude these dependencies Spring Boot would still have them available somehow via one of its other core dependencies... I suppose we should just keep them anyway, I've been thinking for a while if CXF should have a closer integration with Spring MVC, I'd like to investigate...

That said, when I read the issue description, I read it as if it is a CXF which somehow supports the Spring annotations, that if one adds them then it is CXF that processes the flow.

May be you can add one more example, showing the JAXRS annotations ?

Thanks, Sergey

On 20/03/17 17:41, cmoulliard wrote:
Hi Serguey,

In fact, the Spring @RestController, @RequestMapping, ...  annotations are
indirectly supported by the CXF starter as these transitive dependencies
(spring boot starter web -> spring web / spring webmvc) are included within
the project

[INFO] +- org.apache.cxf:cxf-spring-boot-starter-jaxrs:jar:3.1.10:compile
[INFO] |  +-
org.springframework.boot:spring-boot-starter:jar:1.4.1.RELEASE:compile
[INFO] |  |  +-
org.springframework.boot:spring-boot-starter-logging:jar:1.4.1.RELEASE:compile
[INFO] |  |  |  +- ch.qos.logback:logback-classic:jar:1.1.7:compile
[INFO] |  |  |  |  \- ch.qos.logback:logback-core:jar:1.1.7:compile
[INFO] |  |  |  +- org.slf4j:jcl-over-slf4j:jar:1.7.21:compile
[INFO] |  |  |  +- org.slf4j:jul-to-slf4j:jar:1.7.21:compile
[INFO] |  |  |  \- org.slf4j:log4j-over-slf4j:jar:1.7.21:compile
[INFO] |  |  \- org.yaml:snakeyaml:jar:1.17:runtime
[INFO] |  +-
org.springframework.boot:spring-boot-starter-web:jar:1.4.1.RELEASE:compile
[INFO] |  |  +- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
[INFO] |  |  |  +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] |  |  |  \- com.fasterxml:classmate:jar:1.3.1:compile
[INFO] |  |  +- org.springframework:spring-web:jar:4.3.3.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-webmvc:jar:4.3.3.RELEASE:compile

So, if don't want to support them, then we should
exclude org.springframework.boot:spring-boot-starter-web:1.4.1.RELEASE from
the cxf springboot starter in order to just support the JAX-RS annotations.

What do you think ?

Regards,

Charles

On Mon, Mar 20, 2017 at 5:33 PM, Sergey Beryozkin [via CXF] <
ml-node+s547215n5778188...@n5.nabble.com> wrote:

Hi, the issue description still reads that Spring annotations can be
supported - I guess may be it is a sync problem ?
As a side note, I've started wondering if may be we can have Spring
annotations checking but treating them internally as JAXRS annotations
:-), I may have a look a bit later on

Sergey
On 20/03/17 15:02, cmoulliard wrote:

Done

On Mon, Mar 20, 2017 at 2:40 PM, Sergey Beryozkin [via CXF] <
[hidden email] <http:///user/SendEmail.jtp?type=node&node=5778188&i=0>>
wrote:

Hi, thanks,

though I don't think CXF offers any specific support for Spring
annotations, most likely it is coming due to Spring Boot supporting
them
OOB.

Can you please update the issue ?

Thanks, Sergey
On 20/03/17 13:05, cmoulliard wrote:

Done : https://github.com/spring-io/initializr/issues/394

On Mon, Mar 20, 2017 at 12:53 PM, Charles Moulliard <[hidden email]
<http:///user/SendEmail.jtp?type=node&node=5778179&i=0>>
wrote:

I will open the ticket to start the process to make CXF appear on
initialzr web site

On Mon, Mar 20, 2017 at 10:59 AM, Sergey Beryozkin [via CXF] <
[hidden email] <http:///user/SendEmail.jtp?type=node&node=5778179&i=1>>

wrote:

Hi Charles

Oh I see, I thought that would only work for the starters that
Spring
Boot ships, yes, please help with opening a ticket, hopefully we can
get
CXF appearing within the initializers page too.

Thanks, Sergey

On 20/03/17 09:27, cmoulliard wrote:

Hi Sergey,

Many thanks Sergey. CXF is listed under the page you refer but It
doesn't
appear within the initializr web page - https://start.spring.io/ like


jersey framework or camel

https://www.dropbox.com/s/hnkscfgv5pn7d04/Screenshot%202017-
03-20%2010.22.02.png?dl=0

Do you want that I open a ticket here [1] in oder to start the
process
to
make CXF pat of the list ?

[1] :  https://github.com/spring-io/initializr/issues

Regards,

Charles
On Sun, Mar 19, 2017 at 10:54 PM, Sergey Beryozkin [via CXF] <
[hidden email] <http:///user/SendEmail.jtp?
type=node&node=5778156&i=0>>

wrote:

Hi

It's listed at
https://github.com/spring-projects/spring-boot/tree/
master/spring-boot-starters
(as Apache CXF)

Cheers, Sergey
On 16/03/17 15:49, cmoulliard wrote:

Hi,

I haven't been able to find some info concerning this point but
is
it
possible that a request has been sent to Spring in order to
register
the
CXF
SpringBoot starter within the initializr web site
(https://github.com/spring-io/initializr/wiki/Guidelines-
for-3rd-Party-Starters)
?

Regards

Charles



--
View this message in context: http://cxf.547215.n5.nabble.
com/CXF-SpringBoot-Starter-Initializr-tp5778135.html
Sent from the cxf-dev mailing list archive at Nabble.com.




------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://cxf.547215.n5.nabble.com/CXF-SpringBoot-Starter-
Initializr-tp5778135p5778150.html
To unsubscribe from CXF SpringBoot Starter & Initializr, click
here
<
.
NAML
<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?ma
cro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=
nabble.naml.namespaces.BasicNamespace-nabble.view.web.
template.NabbleNamespace-nabble.view.web.template.NodeNamesp
ace&breadcrumbs=notify_subscribers%21nabble%3Aemail.
naml-instant_emails%21nabble%3Aemail.naml-send_instant_
email%21nabble%3Aemail.naml>








------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://cxf.547215.n5.nabble.com/CXF-SpringBoot-Starter-Initi
alizr-tp5778135p5778156.html
To unsubscribe from CXF SpringBoot Starter & Initializr, click here
<
.
NAML
<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?
macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&
base=nabble.naml.namespaces.BasicNamespace-nabble.view.
web.template.NabbleNamespace-nabble.view.web.template.
NodeNamespace&breadcrumbs=notify_subscribers%21nabble%
3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_
instant_email%21nabble%3Aemail.naml>




--
Charles Moulliard
Apache Committer & PMC / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io







------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://cxf.547215.n5.nabble.com/CXF-SpringBoot-Starter-
Initializr-tp5778135p5778179.html
To unsubscribe from CXF SpringBoot Starter & Initializr, click here
<
.
NAML
<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?
macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&
base=nabble.naml.namespaces.BasicNamespace-nabble.view.
web.template.NabbleNamespace-nabble.view.web.template.
NodeNamespace&breadcrumbs=notify_subscribers%21nabble%
3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_
instant_email%21nabble%3Aemail.naml>







------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://cxf.547215.n5.nabble.com/CXF-SpringBoot-Starter-
Initializr-tp5778135p5778188.html
To unsubscribe from CXF SpringBoot Starter & Initializr, click here
<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5778135&code=Y2gwMDdtQGdtYWlsLmNvbXw1Nzc4MTM1fDg4NjE3MzMyOA==>
.
NAML
<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to