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 StringCLASSIFIER_P2_ARTIFACTSstatic StringCLASSIFIER_P2_METADATAstatic StringDEFAULT_EXTERNSIONstatic StringEXTENSION_P2_ARTIFACTSstatic StringEXTENSION_P2_METADATAstatic StringFILE_NAME_LOCAL_ARTIFACTSName of the file that stores the location of the Maven artifact in the target folder.static StringFILE_NAME_P2_ARTIFACTSName of the file that contains the p2 artifact index.static StringFILE_NAME_P2_METADATAName of the file where the module p2 metadata is stored in the target directory.static StringKEY_ARTIFACT_ATTACHEDKey prefix for attached artifact locations in "local-artifacts.properties" files.static StringKEY_ARTIFACT_MAINKey for the main artifact location in "local-artifacts.properties" files.static StringPACK200_CLASSIFIERstatic StringPACK200_EXTENSIONstatic StringPROP_ARTIFACT_IDstatic StringPROP_CLASSIFIERstatic StringPROP_EXTENSIONstatic StringPROP_GROUP_IDstatic StringPROP_VERSION
-
Constructor Summary
Constructors Constructor Description RepositoryLayoutHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetClassifier(Map properties)static StringgetExtension(Map properties)static GAVgetGAV(String groupId, String artifactId, String version)static GAVgetGAV(Map properties)static GAVgetP2Gav(String classifier, String id, String version)static StringgetRelativePath(String groupId, String artifactId, String version, String classifier, String extension)static StringgetRelativePath(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
-
-