aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2019-04-19 12:24:00 +0530
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2019-04-19 12:24:00 +0530
commitf87506150b3826863a9fbd48615ed37c3727f9d3 (patch)
tree6521248550d12a9255f7256ff42a1a9822d9f043
parente5f434b0e4f19fe463f636e0db63d3c727eae315 (diff)
Attach format goal with format-sources phase
Attach format goal with format-sources phase, so that we need not to run command like : mvn process-sources -P format Change-Id: I0493211f65426bd6be8621d6c0e727f5d5ab79aa Issue-ID: SO-1801 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
-rw-r--r--pom.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 8a954e1fc7..33bac42b00 100644
--- a/pom.xml
+++ b/pom.xml
@@ -443,6 +443,7 @@
<goals>
<goal>format</goal>
</goals>
+ <phase>process-sources</phase>
<configuration>
<skip>${format.skipExecute}</skip>
<configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
@@ -453,6 +454,7 @@
<goals>
<goal>format</goal>
</goals>
+ <phase>process-sources</phase>
<configuration>
<skip>${format.skipExecute}</skip>
<sourceDirectory>${project.basedir}</sourceDirectory>