/[gentoo-x86]/eclass/java-mvn-src.eclass
Gentoo

Diff of /eclass/java-mvn-src.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Eclass for Java packages from bare sources exported by Maven 1# Eclass for Java packages from bare sources exported by Maven
2# 2#
3# Copyright (c) 2004-2009, Gentoo Foundation 3# Copyright (c) 2004-2011, Gentoo Foundation
4# 4#
5# Licensed under the GNU General Public License, v2 5# Licensed under the GNU General Public License, v2
6# 6#
7# $Header: /var/cvsroot/gentoo-x86/eclass/java-mvn-src.eclass,v 1.1 2010/01/16 18:48:39 weaver Exp $ 7# $Header: /var/cvsroot/gentoo-x86/eclass/java-mvn-src.eclass,v 1.2 2011/12/27 17:55:12 fauli Exp $
8 8
9inherit java-pkg-simple 9inherit java-pkg-simple
10 10
11# ----------------------------------------------------------------------------- 11# -----------------------------------------------------------------------------
12# @eclass-begin 12# @eclass-begin
54# ----------------------------------------------------------------------------- 54# -----------------------------------------------------------------------------
55RELATIVE_SRC_URI=${GROUP_ID//./\/}/${ARTIFACT_ID}/${PV}/${ARTIFACT_ID}-${PV}-sources.jar 55RELATIVE_SRC_URI=${GROUP_ID//./\/}/${ARTIFACT_ID}/${PV}/${ARTIFACT_ID}-${PV}-sources.jar
56 56
57# Look for source jar in all listed repositories 57# Look for source jar in all listed repositories
58for repo in ${MAVEN2_REPOSITORIES}; do 58for repo in ${MAVEN2_REPOSITORIES}; do
59 SRC_URI="${SRC_URI} ${repo}/${RELATIVE_SRC_URI}" 59 SRC_URI="${SRC_URI} ${repo}/${RELATIVE_SRC_URI}"
60done 60done
61unset repo 61unset repo
62 62
63# ------------------------------------------------------------------------------ 63# ------------------------------------------------------------------------------
64# @eclass-end 64# @eclass-end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20