-
Notifications
You must be signed in to change notification settings - Fork 590
Add boot version to app info
shell command
#5351
Add boot version to app info
shell command
#5351
Conversation
- Update related tests to Junit5 See spring-attic#5239
@@ -12,7 +12,7 @@ | |||
<description>Spring Cloud Data Flow Docs</description> | |||
<properties> | |||
<main.basedir>${basedir}/..</main.basedir> | |||
<docs.resources.version>0.2.1.RELEASE</docs.resources.version> | |||
<docs.resources.version>0.2.5</docs.resources.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[UNRELATED] 0.2.1.RELEASE
not available in snapshots nor central, 0.2.5
is what we need to be using which is in fact on central.
import org.junit.BeforeClass; | ||
import org.junit.Rule; | ||
import org.junit.rules.TestName; | ||
import org.junit.jupiter.api.AfterAll; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[UNRELATED] I converted the app registry test to Junit5 and therefore had to do the same across the test inheritance hieararchy.
@@ -77,7 +77,7 @@ public class ConfigCommandTests { | |||
|
|||
@Before | |||
public void setUp() { | |||
MockitoAnnotations.initMocks(this); | |||
MockitoAnnotations.openMocks(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[UNRELATED] initMocks
is deprecated
<executions> | ||
<execution> | ||
<goals> | ||
<goal>repackage</goal> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[UNRELATED] this was not being called during clean install
which resulted in non-executable shell jar.
See #5239