Skip to content

Commit 7968e35

Browse files
committed
update maven scripts
1 parent b61f644 commit 7968e35

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

etc/checkstyle.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3-
mvn -pl '!docs,!tests,!examples' checkstyle:checkstyle -P checkstyle
3+
DIR=$(cd "$(dirname "$0")"; pwd)
4+
5+
sh $DIR/maven.sh checkstyle:checkstyle -P checkstyle

etc/javadoc.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

3-
mvn -pl '!docs,!tests,!examples' javadoc:javadoc -P source
3+
DIR=$(cd "$(dirname "$0")"; pwd)
4+
5+
sh $DIR/maven.sh javadoc:javadoc -P source

etc/maven.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
DIR=$(cd "$(dirname "$0")"; pwd)
4+
5+
echo "$@"
6+
7+
mvn -pl '!docs,!tests,!examples' "$@"

etc/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/bin/bash
22

3-
mvn -pl '!docs,!tests,!examples' clean deploy -P bom,central
3+
DIR=$(cd "$(dirname "$0")"; pwd)
4+
5+
sh $DIR/javadoc.sh
6+
7+
sh $DIR/maven.sh clean deploy -P bom,central

0 commit comments

Comments
 (0)