From 85404876f4ca2a712ce655403752225558ad7370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Mon, 5 Aug 2019 15:49:02 +0200 Subject: [PATCH] Fix swift source generation bound to process-sources By convention it should be the phase generate-sources --- pmd-swift/pom.xml | 13 +++++++------ pom.xml | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pmd-swift/pom.xml b/pmd-swift/pom.xml index 4ca080ae2d..1a36cd7acf 100644 --- a/pmd-swift/pom.xml +++ b/pmd-swift/pom.xml @@ -16,14 +16,19 @@ + + + org.antlr + antlr4-maven-plugin + org.apache.maven.plugins maven-antrun-plugin true - process-sources - process-sources + antlr-generation + generate-sources @@ -37,10 +42,6 @@ - - org.antlr - antlr4-maven-plugin - maven-resources-plugin diff --git a/pom.xml b/pom.xml index 0fdb148c96..f61d60702c 100644 --- a/pom.xml +++ b/pom.xml @@ -304,6 +304,8 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code antlr4 + + generate-sources