# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Skeleton command: # java-ebuilder --generate-ebuild --workdir . --pom velocity-engine-2.3/velocity-engine-core/pom.xml --download-uri https://github.com/apache/velocity-engine/archive/refs/tags/2.3.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild velocity-2.3.ebuild EAPI=7 JAVA_PKG_IUSE="doc source test" MAVEN_ID="org.apache.velocity:velocity-engine-core:2.3" JAVA_TESTING_FRAMEWORKS="junit-4" inherit java-pkg-2 java-pkg-simple DESCRIPTION="Apache Velocity is a general purpose template engine." HOMEPAGE="http://velocity.apache.org/engine/devel/velocity-engine-core/" SRC_URI="https://github.com/apache/${PN}-engine/archive/refs/tags/${PV}.tar.gz -> ${P}-sources.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" # Common dependencies # POM: ${PN}-engine-${PV}/${PN}-engine-core/pom.xml # commons-io:commons-io:2.8.0 -> !!!groupId-not-found!!! # org.apache.commons:commons-lang3:3.11 -> >=dev-java/commons-lang-3.11:3.11 # org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 CDEPEND=" !!!groupId-not-found!!! >=dev-java/commons-lang-3.11:3.11 >=dev-java/slf4j-api-1.7.30:0 " # Compile dependencies # POM: ${PN}-engine-${PV}/${PN}-engine-core/pom.xml # test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 # test? org.hsqldb:hsqldb:2.5.1 -> !!!groupId-not-found!!! # test? org.slf4j:slf4j-simple:1.7.30 -> >=dev-java/slf4j-simple-1.7.30:0 DEPEND=" >=virtual/jdk-1.8:* ${CDEPEND} test? ( !!!groupId-not-found!!! >=dev-java/slf4j-simple-1.7.30:0 ) " RDEPEND=" >=virtual/jre-1.8:* ${CDEPEND}" S="${WORKDIR}" JAVA_GENTOO_CLASSPATH="!!!groupId-not-found!!!,commons-lang-3.11,slf4j-api" JAVA_SRC_DIR="${PN}-engine-${PV}/${PN}-engine-core/src/main/java" JAVA_RESOURCE_DIRS=( "${PN}-engine-${PV}/${PN}-engine-core/src/main/resources" ) JAVA_TEST_GENTOO_CLASSPATH="junit-4,!!!groupId-not-found!!!,slf4j-simple" JAVA_TEST_SRC_DIR="${PN}-engine-${PV}/${PN}-engine-core/src/test/java" JAVA_TEST_RESOURCE_DIRS=( "${PN}-engine-${PV}/${PN}-engine-core/src/test/resources" )