Package org.eclipse.tycho.p2.repository
Class RepositoryLayoutHelper
- java.lang.Object
-
- org.eclipse.tycho.p2.repository.RepositoryLayoutHelper
-
public class RepositoryLayoutHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSIFIER_P2_ARTIFACTS
static String
CLASSIFIER_P2_METADATA
static String
DEFAULT_EXTERNSION
static String
EXTENSION_P2_ARTIFACTS
static String
EXTENSION_P2_METADATA
static String
FILE_NAME_LOCAL_ARTIFACTS
Name of the file that stores the location of the Maven artifact in the target folder.static String
FILE_NAME_P2_ARTIFACTS
Name of the file that contains the p2 artifact index.static String
FILE_NAME_P2_METADATA
Name of the file where the module p2 metadata is stored in the target directory.static String
KEY_ARTIFACT_ATTACHED
Key prefix for attached artifact locations in "local-artifacts.properties" files.static String
KEY_ARTIFACT_MAIN
Key for the main artifact location in "local-artifacts.properties" files.static String
PACK200_CLASSIFIER
static String
PACK200_EXTENSION
static String
PROP_ARTIFACT_ID
static String
PROP_CLASSIFIER
static String
PROP_EXTENSION
static String
PROP_GROUP_ID
static String
PROP_VERSION
-
Constructor Summary
Constructors Constructor Description RepositoryLayoutHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getClassifier(Map properties)
static String
getExtension(Map properties)
static GAV
getGAV(String groupId, String artifactId, String version)
static GAV
getGAV(Map properties)
static GAV
getP2Gav(String classifier, String id, String version)
static String
getRelativePath(String groupId, String artifactId, String version, String classifier, String extension)
static String
getRelativePath(GAV gav, String classifier, String extension)
-
-
-
Field Detail
-
PROP_GROUP_ID
public static final String PROP_GROUP_ID
- See Also:
- Constant Field Values
-
PROP_ARTIFACT_ID
public static final String PROP_ARTIFACT_ID
- See Also:
- Constant Field Values
-
PROP_VERSION
public static final String PROP_VERSION
- See Also:
- Constant Field Values
-
PROP_CLASSIFIER
public static final String PROP_CLASSIFIER
- See Also:
- Constant Field Values
-
PROP_EXTENSION
public static final String PROP_EXTENSION
- See Also:
- Constant Field Values
-
CLASSIFIER_P2_METADATA
public static final String CLASSIFIER_P2_METADATA
- See Also:
- Constant Field Values
-
EXTENSION_P2_METADATA
public static final String EXTENSION_P2_METADATA
- See Also:
- Constant Field Values
-
FILE_NAME_P2_METADATA
public static final String FILE_NAME_P2_METADATA
Name of the file where the module p2 metadata is stored in the target directory. The name needs to be known so that the target folder can be read as p2 metadata repository.- See Also:
- Constant Field Values
-
CLASSIFIER_P2_ARTIFACTS
public static final String CLASSIFIER_P2_ARTIFACTS
- See Also:
- Constant Field Values
-
EXTENSION_P2_ARTIFACTS
public static final String EXTENSION_P2_ARTIFACTS
- See Also:
- Constant Field Values
-
FILE_NAME_P2_ARTIFACTS
public static final String FILE_NAME_P2_ARTIFACTS
Name of the file that contains the p2 artifact index. This file is one of the files needed to read the target folder as p2 artifact repository. The location is relative to the build target directory root.- See Also:
- Constant Field Values
-
FILE_NAME_LOCAL_ARTIFACTS
public static final String FILE_NAME_LOCAL_ARTIFACTS
Name of the file that stores the location of the Maven artifact in the target folder. This file is one of the files needed to read the target folder as p2 artifact repository.- See Also:
- Constant Field Values
-
KEY_ARTIFACT_MAIN
public static final String KEY_ARTIFACT_MAIN
Key for the main artifact location in "local-artifacts.properties" files.- See Also:
- Constant Field Values
-
KEY_ARTIFACT_ATTACHED
public static final String KEY_ARTIFACT_ATTACHED
Key prefix for attached artifact locations in "local-artifacts.properties" files.- See Also:
- Constant Field Values
-
DEFAULT_EXTERNSION
public static final String DEFAULT_EXTERNSION
- See Also:
- Constant Field Values
-
PACK200_CLASSIFIER
public static final String PACK200_CLASSIFIER
- See Also:
- Constant Field Values
-
PACK200_EXTENSION
public static final String PACK200_EXTENSION
- See Also:
- Constant Field Values
-
-