Skip to content

Commit 30a8700

Browse files
committed
Update maven build to add '-Drat.skip'
Signed-off-by: Rahul Krishna <rkrsn@ibm.com>
1 parent 51a2bbc commit 30a8700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ibm/northstar/utils/BuildProject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private static boolean mavenBuild(String projectPath) {
7070
return false;
7171
}
7272
String[] mavenCommand = {
73-
"mvn", "clean", "package", "-f", projectPath + "/pom.xml", "-B", "-V", "-e",
73+
"mvn", "clean", "package", "-f", projectPath + "/pom.xml", "-B", "-V", "-e", "-Drat.skip",
7474
"-Dfindbugs.skip", "-Dcheckstyle.skip", "-Dpmd.skip=true", "-Dspotbugs.skip", "-Denforcer.skip",
7575
"-Dmaven.javadoc.skip", "-DskipTests", "-Dmaven.test.skip.exec", "-Dlicense.skip=true",
7676
"-Drat.skip=true", "-Dspotless.check.skip=true" };

0 commit comments

Comments
 (0)