[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9290) Automatically install JAX-RS facet when a JAX-RS implementation is added to the project's Maven dependencies

Fred Bricon (JIRA) jira-events at lists.jboss.org
Sun Jul 3 17:51:23 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612297#comment-12612297 ] 

Fred Bricon commented on JBIDE-9290:
------------------------------------

For Web 3.0 support in WTP, since there's no consensus on a servlet api jar and in order to detect what web version is used without listing every existing implementation, I check the presence of a specific class in the classpath (https://github.com/sonatype/m2eclipse-wtp/blob/master/org.maven.ide.eclipse.wtp/src/org/maven/ide/eclipse/wtp/WarPluginConfiguration.java#L241). for JAXRS projects, we could check if javax.ws.rs.Path or any other class is available for instance.
This is the same issue we have for JSF api jars (JBIDE-9242)

> Automatically install JAX-RS facet when a JAX-RS implementation is added to the project's Maven dependencies  
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9290
>                 URL: https://issues.jboss.org/browse/JBIDE-9290
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: maven
>    Affects Versions: 3.3.0.M2
>            Reporter: Xavier Coulon
>            Assignee: Fred Bricon
>
> Automatically install the JAX-RS Facet and the JAX-RS Builder when a dependency with groupId  "org.jboss.resteasy" is added to the project's pom.xml

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list