View Javadoc
1   /*
2    * Copyright (C) 2007-2012 Argeo GmbH
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *         http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.argeo.slc.repo;
17  
18  /** SLC repository constants */
19  public interface RepoConstants {
20  	String DEFAULT_JAVA_REPOSITORY_ALIAS = "java";
21  	String DEFAULT_JAVA_REPOSITORY_LABEL = "Internal Java Repository";
22  
23  
24  	String DEFAULT_ARTIFACTS_BASE_PATH = "/";
25  	String REPO_BASEPATH = "/slc:repo";
26  	String PROXIED_REPOSITORIES = REPO_BASEPATH + "/slc:sources";
27  	String DISTRIBUTIONS_BASE_PATH = REPO_BASEPATH + "/slc:distributions";
28  	String REPOSITORIES_BASE_PATH = REPO_BASEPATH + "/slc:repositories";
29  	String DIST_DOWNLOAD_BASEPATH = "/download";
30  
31  	String BINARIES_ARTIFACT_ID = "binaries";
32  	String SOURCES_ARTIFACT_ID = "sources";
33  	String SDK_ARTIFACT_ID = "sdk";
34  
35  	// TODO might exists somewhere else
36  	String SLC_CATEGORY_ID = "SLC-Category";
37  
38  	// TODO find a more generic way
39  	String DEFAULT_DEFAULT_WORKSPACE = "main";
40  }