aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-10-17 10:28:38 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-10-17 10:28:43 -0400
commit4b48d375fcd4bef746a402b6d907b39de117c626 (patch)
treefcfd5644549ccd69a77d23eb87e111e86862ae6b
parentf22846dd8b032876addae750a5d24fd6339b7c4b (diff)
Add more instruction for formatting
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>
-rw-r--r--pom.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index fd85b3d3..8f3e4f0d 100644
--- 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>