Add more instruction for formatting 65/97265/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 17 Oct 2019 14:28:38 +0000 (10:28 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 17 Oct 2019 14:28:43 +0000 (10:28 -0400)
So people know how to run this from command line. Really don't
want multiple copies of this file around the repo.

Issue-ID: POLICY-2145
Change-Id: I7597bf6aaff7a101cbb38836c04d7e9fb09e1dd5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index fd85b3d..8f3e4f0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,9 @@
                 Using https://github.com/diffplug/spotless/tree/master/plugin-maven for import order
                 Use in combination to rewrite code and imports, then checkstyle
 
-                mvn formatter:format spotless:apply process-sources
+                Be sure to override ${project.parent.basedir} in order to find the XML file
+
+                mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=TODO
                 -->
                 <plugin>
                     <groupId>net.revelc.code.formatter</groupId>