1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.geronimo.plugin.car;
21
22 import org.apache.geronimo.genesis.ArtifactItem;
23
24 /**
25 * Represents a Maven-artifact with additional classparh prefix details to build a
26 * jar's Manifest Class-Path.
27 *
28 * @version $Rev:385659 $ $Date: 2006-09-30 13:45:53 -0700 (Sat, 30 Sep 2006) $
29 */
30 public class ClasspathElement
31 extends ArtifactItem
32 {
33 /**
34 * Prefix to be prepended to the artifact, like <tt>../lib</tt>.
35 *
36 * @parameter
37 */
38 private String classpathPrefix;
39
40 /**
41 * @return Returns the classpath prefix.
42 */
43 public String getClasspathPrefix() {
44 return classpathPrefix;
45 }
46
47 /**
48 * @param classpathPrefix The classpath prefix
49 */
50 public void setClasspathPrefix(final String classpathPrefix) {
51 this.classpathPrefix = classpathPrefix;
52 }
53 }