Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ We use [semantic versioning](http://semver.org/):

# Next version
- _maven-plugin_: Added maven properties for `runImpacted` and `runAllTests` configuration parameters
- _maven-plugin_: The warning "Both baselineRevision and baselineCommit are set but only one of them is needed" was displayed incorrectly

# 36.2.0
- _agent_: improved logging when multiple agents are attached
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public abstract class TiaMojoBase extends TeamscaleMojoBase {
public void execute() throws MojoFailureException, MojoExecutionException {
super.execute();

if (!StringUtils.isEmpty(baselineCommit) && StringUtils.isEmpty(baselineRevision)) {
if (!StringUtils.isEmpty(baselineCommit) && !StringUtils.isEmpty(baselineRevision)) {
getLog().warn("Both baselineRevision and baselineCommit are set but only one of them is needed. " +
"The revision will be preferred in this case. If that's not intended, please do not set the baselineRevision manually.");
}
Expand Down
Loading