Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Change to directory has broken the suggested web console GIT url #25

Closed
thesteve0 opened this issue Jun 12, 2016 · 1 comment
Closed

Comments

@thesteve0
Copy link

IN the web console when you make a tomcat (and EAP project) it suggests the following URL

https://github.com/jboss-openshift/openshift-quickstarts.git

It adds the right context but It gives this error

[WARNING] The requested profile "openshift" could not be activated because it does not exist.
Copying all target war artifacts from /home/jboss/source/target directory into /opt/webserver/webapps for later deployment...
'/home/jboss/source/target/websocket-chat.war' -> '/opt/webserver/webapps/websocket-chat.war'
I0612 16:24:14.465921 1 docker.go:689] Invoking postExecution function
E0612 16:24:14.465938 1 sti.go:571] Error reading docker stdout, EOF
I0612 16:24:14.466148 1 sti.go:289] No user environment provided (no environment file found in application sources)
I0612 16:24:14.473957 1 docker.go:734] Committing container with dockerOpts: {Container:4177ef3d4bf7354e07d311df2aa3

@rcernich
Copy link
Contributor

By default, it invokes maven with -Popenshift, which requests the openshift profile be activated. If the project doesn't have a profile named openshift, you get the warning. It's innocuous. For a lot of the jboss quickstarts, the openshift profile exists to rename the output to ROOT.war, instead of artifactId-version.war. Regardless, this should probably be corrected in the examples we provide.

@jmtd jmtd closed this as completed Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants