You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
This is due to the skipTests profile. When you run mvn install -Dcf.org=[your email address] -Dcf.username=[your username] -Dcf.password=[your password] the build system should have activated the Bluemix profile by default. However, as the skipTests profile is activated due to the skipTests flag not being set the Bluemix profile is deactivated. (As profile activated by default are deactivated as soon as another profile is active.)
So the only way to make it work at the moment is to run mvn install -P bluemix or mvn install -DskipTests. We need to fix this.
This has been partially fixed by pull request #121 however it is not the best outcome. The disadvantage of the current behaviour is having to specify -Pbluemix every time you run a build. To get a a better solution we should consider the following:
how do we make sure it is easy to enable and disable deploying to Bluemix
unfortunately you can't enable and disable profiles using properties set inside the pom file
should we include the maven code for deploying to Bluemix even if you don't choose Bluemix
By checking the flag I should just have to do:
mvn install -Dcf.org=[your email address] -Dcf.username=[your username] -Dcf.password=[your password]
But I don't get a deployment to Bluemix. To do that I had to add on
-P bluemix
The text was updated successfully, but these errors were encountered: