moved cli_help.txt
diff --git a/apache-rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java b/apache-rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java
index 16d35b9..1931eb7 100644
--- a/apache-rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java
+++ b/apache-rat-core/src/main/java/org/apache/rat/document/impl/FileDocument.java
@@ -50,11 +50,11 @@
}
/**
- * Normalizes a file name. Accounts for Windows to Unix conversion.
- * @param file
- * @return
+ * Normalizes a file name to linux style. Accounts for Windows to Unix conversion.
+ * @param file The file to normalize
+ * @return the String for the file name.
*/
- public final static String normalizeFileName(File file) {
+ public final static String normalizeFileName(final File file) {
String path = file.getPath();
return path.replace('\\', '/');
}
diff --git a/apache-rat/.gitignore b/apache-rat/.gitignore
index b83d222..75a68a4 100644
--- a/apache-rat/.gitignore
+++ b/apache-rat/.gitignore
@@ -1 +1,2 @@
+/src/site/apt/cli_help.txt
/target/
diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml
index 6a3dc16..0d9460a 100644
--- a/apache-rat/pom.xml
+++ b/apache-rat/pom.xml
@@ -131,7 +131,7 @@
</executions>
<configuration>
<executable>java</executable>
- <outputFile>${project.basedir}/target/site/cli_help.txt</outputFile>
+ <outputFile>${project.basedir}/src/site/apt/cli_help.txt</outputFile>
<arguments>
<argument>-cp</argument>
<argument>target/apache-rat-0.17-SNAPSHOT.jar</argument>
@@ -157,6 +157,7 @@
<exclude>README-CLI.txt</exclude>
<!-- files that are examples of output from the tool -->
<exclude>src/site/examples/**</exclude>
+ <exclude>src/site/apt/cli_help.txt</exclude>
</excludes>
</configuration>
</plugin>
diff --git a/apache-rat/src/site/apt/index.apt.vm b/apache-rat/src/site/apt/index.apt.vm
index 769273d..ffc3d5f 100644
--- a/apache-rat/src/site/apt/index.apt.vm
+++ b/apache-rat/src/site/apt/index.apt.vm
@@ -74,7 +74,7 @@
* Command Line Options
+------------------------------------------+
-#include( "../../../target/site/cli_help.txt" )
+#include( "cli_help.txt" )
+------------------------------------------+
** Styling output