001 /**
002 * Copyright 2010-2013 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.common.util;
017
018 /**
019 * Simple pojo representing a Maven dependency.
020 */
021 public class Dependency {
022
023 String groupId;
024 String artifactId;
025 String version;
026 String classifier;
027 // Type is usually the same thing as "packaging" from the Artifact object, but not always.
028 // For example, "test-jar" is physically packaged into a jar file but is labeled in the Maven
029 // dependency list as <type>test-jar</type>
030 String type;
031 String scope;
032
033 public String getGroupId() {
034 return groupId;
035 }
036
037 public void setGroupId(String groupId) {
038 this.groupId = groupId;
039 }
040
041 public String getArtifactId() {
042 return artifactId;
043 }
044
045 public void setArtifactId(String artifactId) {
046 this.artifactId = artifactId;
047 }
048
049 public String getVersion() {
050 return version;
051 }
052
053 public void setVersion(String version) {
054 this.version = version;
055 }
056
057 public String getClassifier() {
058 return classifier;
059 }
060
061 public void setClassifier(String classifier) {
062 this.classifier = classifier;
063 }
064
065 public String getType() {
066 return type;
067 }
068
069 public void setType(String type) {
070 this.type = type;
071 }
072
073 public String getScope() {
074 return scope;
075 }
076
077 public void setScope(String scope) {
078 this.scope = scope;
079 }
080
081 }