1 package org.apache.archiva.metadata.model;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
23 * TODO: review what is appropriate for the base here - rest should be in a maven dependency facet
25 public class Dependency
27 private String classifier;
29 private boolean optional;
33 private String systemPath;
37 private String artifactId;
39 private String groupId;
41 private String version;
43 public void setClassifier( String classifier )
45 this.classifier = classifier;
48 public String getClassifier()
53 public void setOptional( boolean optional )
55 this.optional = optional;
58 public boolean isOptional()
63 public void setScope( String scope )
68 public String getScope()
73 public void setSystemPath( String systemPath )
75 this.systemPath = systemPath;
78 public String getSystemPath()
83 public void setType( String type )
88 public String getType()
93 public void setArtifactId( String artifactId )
95 this.artifactId = artifactId;
98 public void setGroupId( String groupId )
100 this.groupId = groupId;
103 public void setVersion( String version )
105 this.version = version;
108 public String getVersion()
113 public String getArtifactId()
118 public String getGroupId()