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
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ protected Xpp3Dom getKotlinCompileMojoConfiguration() {

Xpp3Dom configuration = null;
for (PluginExecution execution : plugin.getExecutions()) {
if (execution.getPhase().equals("compile")) {
String phase = execution.getPhase();
List<String> goals = execution.getGoals();

if (phase != null && phase.equals("compile") || goals != null && goals.contains("compile")) {
configuration = Xpp3Dom.mergeXpp3Dom((Xpp3Dom) execution.getConfiguration(), configuration);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ protected Xpp3Dom getKotlinCompileMojoConfiguration() {

Xpp3Dom configuration = null;
for (PluginExecution execution : plugin.getExecutions()) {
if (execution.getPhase().equals("test-compile")) {
String phase = execution.getPhase();
List<String> goals = execution.getGoals();

if (phase != null && phase.equals("test-compile") || goals != null && goals.contains("test-compile")) {
configuration = Xpp3Dom.mergeXpp3Dom((Xpp3Dom) execution.getConfiguration(), configuration);
}
}
Expand Down
2 changes: 1 addition & 1 deletion ktorm.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2.0
4.2.1
Loading