Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployables options #260

Open
keycube241 opened this issue Jan 19, 2023 · 2 comments
Open

Deployables options #260

keycube241 opened this issue Jan 19, 2023 · 2 comments

Comments

@keycube241
Copy link

What is the full list of deployables options ("options": {})?
For example, how to remove appArtifatId from application url via deployment options setting (from http://localhost:8080/appArtifatId/hello to http://localhost:8080/hello)?

@robstryker
Copy link
Collaborator

This depends on what server you are using. Wildfly? Tomcat? EAP? Or some other server?

Generally, I believe if you deploy an application as ROOT.war, it will remove that middle segment. But this may be different based on application server.

@niphor
Copy link

niphor commented Mar 13, 2024

@keycube241 It can be filled one by one as you add a deployment. When this popup appears, choose 'Yes'.
image

In the case of Tomcat, this will remove appArtifatId from application url

make sure to manually delete ROOT before adding a deployment, if not working

"deployables": {
    "xxx": {
      "label": "xxx",
      "path": "xxx",
      "options": {
        "option": {
          "deployment.output.name": "ROOT"
        }
      }
    }
  }

I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants