Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28938

Maven does not enable JAX-RS facet when JAX-RS dependency is defined in pom

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.27.0.Final
    • maven
    • None
    • Hide

      1. Create new Dynamic Web Project -> Select wildfly runtime -> next -> next -> uncheck "Generate web.xml deployment descriptor" -> Finish

      2. Right click created project -> Configure -> Convert to Maven project (Packaging should be set to war by default) -> Finish -> New window "Convert to Maven Dependencies" should appear -> Finish

      3. Right click created project -> Maven -> Update Project.. -> OK (Force Update of Snapshots/Releases should not be checked)

      4. Right click created project -> Properties -> Project Facets -> JAX-RS and JavaServer Faces facets should be checked but are not

      The steps are based on https://github.com/jbosstools/jbosstools-integration-tests/blob/main/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/configurator/JAXRSConfiguratorTest.java (Method testJAXRSConfigurator) meaning that the provided steps can be obsolete and the JAX-RS and JavaServer Faces Facets behaviour has changed - if this is a case, please let me know

      Show
      1. Create new Dynamic Web Project -> Select wildfly runtime -> next -> next -> uncheck "Generate web.xml deployment descriptor" -> Finish 2. Right click created project -> Configure -> Convert to Maven project (Packaging should be set to war by default) -> Finish -> New window "Convert to Maven Dependencies" should appear -> Finish 3. Right click created project -> Maven -> Update Project.. -> OK (Force Update of Snapshots/Releases should not be checked) 4. Right click created project -> Properties -> Project Facets -> JAX-RS and JavaServer Faces facets should be checked but are not The steps are based on https://github.com/jbosstools/jbosstools-integration-tests/blob/main/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/configurator/JAXRSConfiguratorTest.java (Method testJAXRSConfigurator) meaning that the provided steps can be obsolete and the JAX-RS and JavaServer Faces Facets behaviour has changed - if this is a case, please let me know
    • ---

            stephane.bouchet Stephane Bouchet
            rhn-support-lgrossma Lukáš Grossmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: