steps:
- 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
- EXEC: import the "hello" maven project into your Eclipse
- EXEC: create a server adapter and start it
- ASSERT: server adapter for project "hello" is [Started, Synchronized]
- EXEC: in the Project Explorer: pick Maven > Select Maven Profiles...
- ASSERT: "openshift" maven profile is selected
- EXEC: Restart Eclipse
- ASSERT: server adapter for project "hello" is [Stopped, Republish]
- 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.)
- is related to
-
JBIDE-26331 Server adapter: switching maven profile (which determines the war name) won't undeploy the old war nor deploy the new one
- Open
- relates to
-
JBIDE-22138 Server adapter: doesn't respect openshift maven profile
- Closed