001package org.kuali.ole; 002 003import org.kuali.common.util.DefaultProjectContext; 004import org.kuali.common.util.Str; 005import org.kuali.ole.utility.Constants; 006 007import java.util.ArrayList; 008import java.util.List; 009 010/** 011 * Created by pvsubrah on 7/15/14. 012 */ 013public class OleLiquibaseSqlProjectContext extends DefaultProjectContext { 014 private static final String ARTIFACT_ID = "ole-liquibase-upgrade-sql"; 015 016 public OleLiquibaseSqlProjectContext() { 017 super(Constants.GROUP_ID, ARTIFACT_ID, getLocations()); 018 } 019 020 private static List<String> getLocations() { 021 List<String> locations = new ArrayList<String>(); 022 locations.add("classpath:" + Str.getPath(Constants.GROUP_ID) + "/" + ARTIFACT_ID + "/ole-liquibase-upgrade-sql-controller.properties"); 023 return locations; 024 } 025}