001/** 002 * Copyright 2005-2017 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.rice.config; 017 018import org.kuali.common.util.project.KualiProjectConstants; 019import org.kuali.common.util.project.model.ProjectIdentifier; 020import org.kuali.common.util.project.spring.AutowiredProjectConfig; 021import org.kuali.common.util.project.spring.ProjectIdentifierConfig; 022import org.springframework.context.annotation.Configuration; 023import org.springframework.context.annotation.Import; 024 025/** 026 * Defines the project identifier for the KRAD Sample App. 027 * 028 * @author Kuali Rice Team (rice.collab@kuali.org) 029 */ 030@Configuration 031@Import({ AutowiredProjectConfig.class }) 032public class KradSampleAppProjectConfig implements ProjectIdentifierConfig { 033 034 // These 2 must always exactly match the information in the pom 035 public static final ProjectIdentifier KRAD_SAP = new ProjectIdentifier(KualiProjectConstants.RICE_GROUP_ID, "rice-krad-sampleapp-web"); 036 037 @Override 038 public ProjectIdentifier projectIdentifier() { 039 return KRAD_SAP; 040 } 041 042}