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

Server adapter: shutting down Eclipse won't reset the maven profile that the adapter activated in the project

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.9.0.AM2
    • Fix Version/s: 4.13.x
    • Component/s: openshift
    • Labels:
      None
    • Sprint:
      devex #156 October 2018, devex #157 November 2019, devex #158 November 2018
    • Story Points:
      5

      Description

      steps:

      1. EXEC: create the "hello" application in OpenShift as outlined in https://github.com/redhat-helloworld-msa/helloworld-msa/blob/master/hello.adoc#option-2-deploy-project-via-oc-cli
      2. EXEC: import the "hello" maven project into your Eclipse
      3. EXEC: create a server adapter and start it
      4. ASSERT: server adapter for project "hello" is [Started, Synchronized]
      5. EXEC: in the Project Explorer: pick Maven > Select Maven Profiles...
      6. ASSERT: "openshift" maven profile is selected
      7. EXEC: Restart Eclipse
      8. ASSERT: server adapter for project "hello" is [Stopped, Republish]
      9. EXEC: in the Project Explorer: pick Maven > Select Maven Profiles...

      Result:
      Project "hello" still has "openshift" profile selected

      Expected result:
      Project "hello" still has no profile selected (starting the server adapter selects the "openshift" profile, while stopping it unselects it.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dbocharov Dmitrii Bocharov
                  Reporter:
                  adietish André Dietisheim
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: