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    import java.util.List;
019    import java.util.Properties;
020    
021    public class Project {
022    
023            // org.kuali
024            String orgId;
025    
026            // org/kuali
027            String orgPath;
028    
029            // kuali
030            String orgCode;
031    
032            // org.kuali.student.web
033            String groupId;
034    
035            // org.kuali.student
036            String groupIdBase;
037    
038            // student
039            String groupCode;
040    
041            // ks-with-rice-bundled
042            String artifactId;
043    
044            // 2.0.0
045            String version;
046    
047            // Optional - typically "webapp" or something similar
048            String classifier;
049    
050            // KS with Rice Bundled
051            String name;
052    
053            // Kuali Student bundled as a completely standalone application that includes Kuali Rice bundled inside
054            String description;
055    
056            // UTF-8
057            String encoding;
058    
059            // Jar, war
060            String packaging;
061    
062            // Allow for storage of miscellaneous other properties related to the project
063            Properties properties;
064    
065            // These are just the dependencies declared directly in the pom, nothing inherited, nothing transitive
066            List<Dependency> dependencies;
067    
068            public String getOrgId() {
069                    return orgId;
070            }
071    
072            public void setOrgId(String orgId) {
073                    this.orgId = orgId;
074            }
075    
076            public String getOrgCode() {
077                    return orgCode;
078            }
079    
080            public void setOrgCode(String orgCode) {
081                    this.orgCode = orgCode;
082            }
083    
084            public String getGroupId() {
085                    return groupId;
086            }
087    
088            public void setGroupId(String groupId) {
089                    this.groupId = groupId;
090            }
091    
092            public String getGroupIdBase() {
093                    return groupIdBase;
094            }
095    
096            public void setGroupIdBase(String groupIdBase) {
097                    this.groupIdBase = groupIdBase;
098            }
099    
100            public String getGroupCode() {
101                    return groupCode;
102            }
103    
104            public void setGroupCode(String groupCode) {
105                    this.groupCode = groupCode;
106            }
107    
108            public String getArtifactId() {
109                    return artifactId;
110            }
111    
112            public void setArtifactId(String artifactId) {
113                    this.artifactId = artifactId;
114            }
115    
116            public String getVersion() {
117                    return version;
118            }
119    
120            public void setVersion(String version) {
121                    this.version = version;
122            }
123    
124            public String getName() {
125                    return name;
126            }
127    
128            public void setName(String name) {
129                    this.name = name;
130            }
131    
132            public String getDescription() {
133                    return description;
134            }
135    
136            public void setDescription(String description) {
137                    this.description = description;
138            }
139    
140            public String getEncoding() {
141                    return encoding;
142            }
143    
144            public void setEncoding(String encoding) {
145                    this.encoding = encoding;
146            }
147    
148            public String getOrgPath() {
149                    return orgPath;
150            }
151    
152            public void setOrgPath(String orgPath) {
153                    this.orgPath = orgPath;
154            }
155    
156            public String getClassifier() {
157                    return classifier;
158            }
159    
160            public void setClassifier(String classifier) {
161                    this.classifier = classifier;
162            }
163    
164            public String getPackaging() {
165                    return packaging;
166            }
167    
168            public void setPackaging(String packaging) {
169                    this.packaging = packaging;
170            }
171    
172            public Properties getProperties() {
173                    return properties;
174            }
175    
176            public void setProperties(Properties properties) {
177                    this.properties = properties;
178            }
179    
180            public List<Dependency> getDependencies() {
181                    return dependencies;
182            }
183    
184            public void setDependencies(List<Dependency> dependencies) {
185                    this.dependencies = dependencies;
186            }
187    
188    }