KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > jtrac > maven > Dependency


1 /*
2  * Copyright 2002-2005 the original author or authors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package info.jtrac.maven;
18
19 /**
20  * Represents a dependency that may or may not need to be resolved this is just
21  * a data holder object that is initialized by Maven2 and used by the
22  * AntPropsMojo
23  */

24 public class Dependency {
25
26     private String JavaDoc groupId;
27     private String JavaDoc artifactId;
28     private String JavaDoc version;
29     private boolean resolve = true;
30
31     public String JavaDoc getArtifactId() {
32         return artifactId;
33     }
34
35     public String JavaDoc getGroupId() {
36         return groupId;
37     }
38
39     public String JavaDoc getVersion() {
40         return version;
41     }
42
43     public boolean isResolve() {
44         return resolve;
45     }
46
47 }
48
Popular Tags