001/** 002 * Copyright 2010-2014 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 */ 016package org.kuali.common.util; 017 018/** 019 * Simple pojo representing a Maven dependency. 020 * 021 * @deprecated 022 */ 023@Deprecated 024public class Dependency { 025 026 String groupId; 027 String artifactId; 028 String version; 029 String classifier; 030 // Type is usually the same thing as "packaging" from the Artifact object, but not always. 031 // For example, "test-jar" is physically packaged into a jar file but is labeled in the Maven 032 // dependency list as <type>test-jar</type> 033 String type; 034 String scope; 035 036 public String getGroupId() { 037 return groupId; 038 } 039 040 public void setGroupId(String groupId) { 041 this.groupId = groupId; 042 } 043 044 public String getArtifactId() { 045 return artifactId; 046 } 047 048 public void setArtifactId(String artifactId) { 049 this.artifactId = artifactId; 050 } 051 052 public String getVersion() { 053 return version; 054 } 055 056 public void setVersion(String version) { 057 this.version = version; 058 } 059 060 public String getClassifier() { 061 return classifier; 062 } 063 064 public void setClassifier(String classifier) { 065 this.classifier = classifier; 066 } 067 068 public String getType() { 069 return type; 070 } 071 072 public void setType(String type) { 073 this.type = type; 074 } 075 076 public String getScope() { 077 return scope; 078 } 079 080 public void setScope(String scope) { 081 this.scope = scope; 082 } 083 084}