Attach format goal with format-sources phase 58/85758/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Fri, 19 Apr 2019 06:54:00 +0000 (12:24 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Fri, 19 Apr 2019 06:54:00 +0000 (12:24 +0530)
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>
pom.xml

diff --git a/pom.xml b/pom.xml
index 8a954e1..33bac42 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <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>
             <goals>
               <goal>format</goal>
             </goals>
+            <phase>process-sources</phase>
             <configuration>
               <skip>${format.skipExecute}</skip>
               <sourceDirectory>${project.basedir}</sourceDirectory>