=pro fix osgi plugin muting AutomaticModuleName (#24534)
* =pro fix osgi plugin muting AutomaticModuleName * Revert "=pro fix osgi plugin muting AutomaticModuleName" This reverts commit a763353ebf102184c17d78b6bf946cdd0ddff23e. * =pro update osgi plugin, un-break AutomaticModuleName
This commit is contained in:
parent
b3a27d1c9f
commit
1cd370be60
2 changed files with 41 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.4.0")
|
||||||
//#sbt-multi-jvm
|
//#sbt-multi-jvm
|
||||||
|
|
||||||
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.1")
|
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.1")
|
||||||
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.2")
|
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.3")
|
||||||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.18")
|
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.18")
|
||||||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1")
|
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1")
|
||||||
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
|
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
|
||||||
|
|
|
||||||
40
project/scripts/validate-automatic-module-names
Executable file
40
project/scripts/validate-automatic-module-names
Executable file
|
|
@ -0,0 +1,40 @@
|
||||||
|
mkdir OMG
|
||||||
|
|
||||||
|
cd OMG
|
||||||
|
|
||||||
|
COLOR_NC='\e[0m' # No Color
|
||||||
|
COLOR_WHITE='\e[1;37m'
|
||||||
|
COLOR_BLACK='\e[0;30m'
|
||||||
|
COLOR_BLUE='\e[0;34m'
|
||||||
|
COLOR_LIGHT_BLUE='\e[1;34m'
|
||||||
|
COLOR_GREEN='\e[0;32m'
|
||||||
|
COLOR_LIGHT_GREEN='\e[1;32m'
|
||||||
|
COLOR_CYAN='\e[0;36m'
|
||||||
|
COLOR_LIGHT_CYAN='\e[1;36m'
|
||||||
|
COLOR_RED='\e[0;31m'
|
||||||
|
COLOR_LIGHT_RED='\e[1;31m'
|
||||||
|
COLOR_PURPLE='\e[0;35m'
|
||||||
|
COLOR_LIGHT_PURPLE='\e[1;35m'
|
||||||
|
COLOR_BROWN='\e[0;33m'
|
||||||
|
COLOR_YELLOW='\e[1;33m'
|
||||||
|
COLOR_GRAY='\e[0;30m'
|
||||||
|
COLOR_LIGHT_GRAY='\e[0;37m'
|
||||||
|
|
||||||
|
for jar in `find .. | grep SNAPSHOT.jar`; do
|
||||||
|
echo "Checking: $jar"
|
||||||
|
cp $jar .
|
||||||
|
unzip * > /dev/null
|
||||||
|
|
||||||
|
|
||||||
|
gecho -e "$COLOR_CYAN $(cat META-INF/MANIFEST.MF | grep Automatic) $COLOR_NC"
|
||||||
|
gecho -e "$COLOR_RED $(cat META-INF/MANIFEST.MF | grep Tool) $COLOR_NC"
|
||||||
|
|
||||||
|
# cat META-INF/MANIFEST.MF
|
||||||
|
|
||||||
|
rm -rf *
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
done
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf OMG
|
||||||
Loading…
Add table
Add a link
Reference in a new issue