jonashackt/spring-boot-vuejs

"mvn clean install" doesn't work out of the box

pitometsyurii opened this issue · 7 comments

Once I've cloned the project "mvn clean install" fails running unit tests. Also running this command mvn --projects backend spring-boot:run doesn't work as well.

Screen Shot 2020-06-05 at 10 41 23

I've faced the exact same problem.

you need to build it first - that's why you cannot run "mvn --projects backend spring-boot:run". to build it quick with failing tests just add -DskipTests to your first cmd. it's bad style, but it's working

conclusion:
mvn clean install -DskipTests && mvn --projects backend spring-boot:run

The problem fixed for me once I've install vie-cli.

@Krysztokowski That works. thanks
mvn clean install -DskipTests && mvn --projects backend spring-boot:run

try to use RestAssured version 4.2.0

@winweb That makes the tests succeeds. Thanks.

<rest-assured.version>4.2.0</rest-assured.version>

Sorry guys, the internal problem was a bug with rest-assured, which stopped to work as expected with version 4.3.0. This wouldn't have been a problem, since renovate bot is configured to only merge new versions, if tests in CI servers succeed. But since GitHub and TravisCI changed there way of integration and TravisCI silently moved to travis-ci.com, the integration of the CI system was broken - but renovate didn't stop to automerge.

With #116 the problem is fixed again and a normal mvn clean install should work as expected.