Class Layers
java.lang.Object
de.iip_ecosphere.platform.tools.maven.dependencies.Layers
Knows plugin artifact-layer-dependencies/exclusions.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMainPatterns(Collection<String> mainPatterns, boolean includeNonPlugins) Adds the main plugin artifactId name patterns to#mainPatterns.private static StringAppendsadditiontotextusing "," as separator.static StringgetExcludeArtifactIds(String artifactId, String excludeIds, boolean asTest, org.apache.maven.plugin.logging.Log log) Determines the exclude artifact ids.
-
Field Details
-
LAYERS
-
MAIN_ARTID_PATTERNS
-
-
Constructor Details
-
Layers
public Layers()
-
-
Method Details
-
addMainPatterns
Adds the main plugin artifactId name patterns to#mainPatterns.- Parameters:
mainPatterns- the collection to add the patterns toincludeNonPlugins- also include (preliminary) patterns needed during migration
-
getExcludeArtifactIds
public static String getExcludeArtifactIds(String artifactId, String excludeIds, boolean asTest, org.apache.maven.plugin.logging.Log log) Determines the exclude artifact ids.- Parameters:
artifactId- the actual artifact idexcludeIds- the given excludeArtifactids- Returns:
excludeIdsor the known exclude ids
-
append
Appendsadditiontotextusing "," as separator.- Parameters:
text-addition-- Returns:
-