Add Maven profile to skip Javadoc generation for local builds (#1878)
* #1877 Add Maven profile to skip Javadoc generation for local builds * Make it nicer
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
: Analyze the project with Sonar (requires you install SonarQube)
|
||||
if "%jarfile%" == "" (
|
||||
call setvars.bat
|
||||
)
|
||||
|
||||
mvn clean verify sonar:sonar -f "%pomfile%"
|
||||
@@ -3,4 +3,4 @@ if "%jarfile%" == "" (
|
||||
call setvars.bat
|
||||
)
|
||||
|
||||
mvn install -o -f "%pomfile%" -Dmaven.test.skip
|
||||
mvn install -o -f "%pomfile%" -Dmaven.test.skip -PskipJavadocGeneration
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Usage: ./analyze_project.sh
|
||||
#
|
||||
|
||||
if [ -z $jarfile ];
|
||||
then
|
||||
./setvars.sh
|
||||
fi
|
||||
|
||||
mvn clean verify sonar:sonar -f $pomfile
|
||||
@@ -8,4 +8,4 @@ if [ -z $jarfile ];
|
||||
./setvars.sh
|
||||
fi
|
||||
|
||||
mvn install -f $pomfile -Dmaven.test.skip
|
||||
mvn install -f $pomfile -Dmaven.test.skip -PskipJavadocGeneration
|
||||
|
||||
Reference in New Issue
Block a user