aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-04-20 15:05:29 +0000
committerVlastimil Babka <caster@gentoo.org>2007-04-20 15:05:29 +0000
commit76ba54eaf0f22f431e5a91672a0a8329f595e0db (patch)
treebd30d1d43edcc77142a3ce97755c9203a842c879 /eclass
parentMove jboss-4*.eclass to java-experimental. (diff)
downloadjava-76ba54eaf0f22f431e5a91672a0a8329f595e0db.tar.gz
java-76ba54eaf0f22f431e5a91672a0a8329f595e0db.tar.bz2
java-76ba54eaf0f22f431e5a91672a0a8329f595e0db.zip
Move java-maven-plugin-2.eclass to java-experimental, fix inherit in mavent-ant-plugin-1.9.
svn path=/java-overlay/; revision=4296
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-maven-plugin-2.eclass47
1 files changed, 0 insertions, 47 deletions
diff --git a/eclass/java-maven-plugin-2.eclass b/eclass/java-maven-plugin-2.eclass
deleted file mode 100644
index 455c25b7..00000000
--- a/eclass/java-maven-plugin-2.eclass
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit java-pkg-2 java-ant-2 java-maven-2 base
-
-HOMEPAGE="http://maven.apache.org"
-SRC_URI="http://gentooexperimental.org/distfiles/${P}-gentoo.tar.bz2"
-LICENSE="Apache-2.0"
-
-RDEPEND=">=virtual/jdk-1.4 dev-java/ant-core"
-DEPEND="${RDEPEND}"
-IUSE="source doc test"
-
-EXPORT_FUNCTIONS src_unpack src_compile src_install
-
-maven-plugin-2_src_unpack() {
- # Use base, so we get some patching magic
- base_src_unpack
- if [[ ${JAVA_MAVEN_VERSION} == "*1*" ]]; then
- java-maven-2_m1_src_unpack
- fi
-
-}
-
-maven-plugin-2_src_compile() {
- EMAVEN_TARGET="java:compile" emaven
-}
-
-maven-plugin-2_src_install() {
- maven_newplugin target/${P}.jar ${PN}.jar
-}
-
-function maven_newplugin() {
- local plugin_jar=${1}
- local plugin_basename=$(basename ${1})
- local plugin_newjar="${2}"
-
- java-pkg_newjar ${plugin_jar} ${plugin_newjar}
-
- local jardir
- if [[ ${SLOT} != "0" ]]; then
- jardir="/usr/share/${PN}-${SLOT}/lib"
- else
- jardir="/usr/share/${PN}/lib"
- fi
-}