reworked .m2 location and removed prepare()
This commit is contained in:
parent
dda8917982
commit
b473c4a58d
1 changed files with 8 additions and 7 deletions
|
@ -10,6 +10,8 @@ license="GNU-2.0-only"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
depends="openjdk8"
|
depends="openjdk8"
|
||||||
makedepends="maven"
|
makedepends="maven"
|
||||||
|
# net: fetches packages from Maven repos
|
||||||
|
options="net"
|
||||||
source="
|
source="
|
||||||
$pkgname-$pkgver.tar.gz::https://github.com/karakun/OpenWebStart/archive/refs/tags/v$pkgver.tar.gz
|
$pkgname-$pkgver.tar.gz::https://github.com/karakun/OpenWebStart/archive/refs/tags/v$pkgver.tar.gz
|
||||||
https://github.com/AdoptOpenJDK/IcedTea-Web/archive/refs/tags/icedtea-web-$_icedteaver.tar.gz
|
https://github.com/AdoptOpenJDK/IcedTea-Web/archive/refs/tags/icedtea-web-$_icedteaver.tar.gz
|
||||||
|
@ -18,23 +20,22 @@ source="
|
||||||
"
|
"
|
||||||
builddir="$srcdir/OpenWebStart-$pkgver"
|
builddir="$srcdir/OpenWebStart-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
export MAVEN_ARGS="--batch-mode -Duser.home=$srcdir/.home"
|
||||||
default_prepare
|
|
||||||
ln -s ../IcedTea-Web* IcedTea-Web
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
msg "Compiling IcedTea-Web v$_icedteaver"
|
||||||
(
|
(
|
||||||
cd IcedTea-Web
|
cd "$srcdir"/IcedTea-Web*
|
||||||
mvn clean install -DskipTests
|
mvn clean install -DskipTests
|
||||||
)
|
)
|
||||||
mvn install -DskipTests
|
msg "Compiling OpenWebStart v$pkgver"
|
||||||
|
./mvnw install -DskipTests
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
msg "Testing IcedTea-Web v$_icedteaver"
|
msg "Testing IcedTea-Web v$_icedteaver"
|
||||||
(
|
(
|
||||||
cd IcedTea-Web
|
cd "$srcdir"/IcedTea-Web*
|
||||||
mvn test
|
mvn test
|
||||||
)
|
)
|
||||||
msh "Testing OpenWebStart v$pkgver"
|
msh "Testing OpenWebStart v$pkgver"
|
||||||
|
|
Loading…
Reference in a new issue