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.maven;
017    
018    import org.kuali.common.util.maven.spring.MavenProfileConstants;
019    
020    public abstract class MavenConstants {
021    
022            public static final String POM = "pom";
023            public static final String PROJECT_BEAN_NAME = "mavenProject";
024            public static final String PROPERTIES_BEAN_NAME = "mavenProperties";
025            public static final String GROUP_ID_KEY = "project.groupId";
026            public static final String GROUP_ID_PATH_KEY = "project.groupId.path";
027            // KS is using a ton of groupId's that all get translated to "org.kuali.student" on the way out to project.properties
028            // The original groupId is preserved under this key (just in case)
029            public static final String GROUP_ID_ORIGINAL_KEY = "project.groupId.original";
030            public static final String ARTIFACT_ID_KEY = "project.artifactId";
031            public static final String VERSION_KEY = "project.version";
032            public static final String ENCODING_KEY = "project.encoding";
033            public static final String ORG_ID_KEY = "project.orgId";
034            public static final String ORG_ID_CODE_KEY = "project.orgId.code";
035    
036            @Deprecated
037            public static final String SPRING_PROFILE_NAME = MavenProfileConstants.MAVEN;
038    
039            @Deprecated
040            public static final String NEGATED_SPRING_PROFILE_NAME = MavenProfileConstants.MAVEN_NEGATED;
041    
042            @Deprecated
043            public static final String MAVEN_PROJECT_BEAN_NAME = PROJECT_BEAN_NAME;
044    
045            @Deprecated
046            public static final String MAVEN_PROPERTIES_BEAN_NAME = PROPERTIES_BEAN_NAME;
047    
048    }