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

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.29.1.Final
    • 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
    • ---

    Attachments

      Activity

        People

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

          Dates

            Created:
            Updated: