Open hughesj opened 7 years ago
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:
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