Class RepositoryLayoutHelper


  • public class RepositoryLayoutHelper
    extends java.lang.Object
    • Field Detail

      • PROP_ARTIFACT_ID

        public static final java.lang.String PROP_ARTIFACT_ID
        See Also:
        Constant Field Values
      • CLASSIFIER_P2_METADATA

        public static final java.lang.String CLASSIFIER_P2_METADATA
        See Also:
        Constant Field Values
      • EXTENSION_P2_METADATA

        public static final java.lang.String EXTENSION_P2_METADATA
        See Also:
        Constant Field Values
      • FILE_NAME_P2_METADATA

        public static final java.lang.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 java.lang.String CLASSIFIER_P2_ARTIFACTS
        See Also:
        Constant Field Values
      • EXTENSION_P2_ARTIFACTS

        public static final java.lang.String EXTENSION_P2_ARTIFACTS
        See Also:
        Constant Field Values
      • FILE_NAME_P2_ARTIFACTS

        public static final java.lang.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 java.lang.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
      • DEFAULT_EXTERNSION

        public static final java.lang.String DEFAULT_EXTERNSION
        See Also:
        Constant Field Values
      • PACK200_CLASSIFIER

        public static final java.lang.String PACK200_CLASSIFIER
        See Also:
        Constant Field Values
      • PACK200_EXTENSION

        public static final java.lang.String PACK200_EXTENSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • RepositoryLayoutHelper

        public RepositoryLayoutHelper()
    • Method Detail

      • getRelativePath

        public static java.lang.String getRelativePath​(GAV gav,
                                                       java.lang.String classifier,
                                                       java.lang.String extension)
      • getRelativePath

        public static java.lang.String getRelativePath​(java.lang.String groupId,
                                                       java.lang.String artifactId,
                                                       java.lang.String version,
                                                       java.lang.String classifier,
                                                       java.lang.String extension)
      • getP2Gav

        public static GAV getP2Gav​(java.lang.String classifier,
                                   java.lang.String id,
                                   java.lang.String version)
      • getGAV

        public static GAV getGAV​(java.util.Map properties)
      • getGAV

        public static GAV getGAV​(java.lang.String groupId,
                                 java.lang.String artifactId,
                                 java.lang.String version)
      • getClassifier

        public static java.lang.String getClassifier​(java.util.Map properties)
      • getExtension

        public static java.lang.String getExtension​(java.util.Map properties)