1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugins.assembly.utils;
20
21 import java.util.ArrayList;
22 import java.util.Collections;
23 import java.util.List;
24
25
26
27
28 public final class InterpolationConstants {
29
30 public static final List<String> PROJECT_PREFIXES;
31
32 public static final List<String> PROJECT_PROPERTIES_PREFIXES;
33
34 public static final String SETTINGS_PREFIX = "settings.";
35
36 static {
37 final List<String> projectPrefixes = new ArrayList<>();
38 projectPrefixes.add("pom.");
39 projectPrefixes.add("project.");
40
41 PROJECT_PREFIXES = Collections.unmodifiableList(projectPrefixes);
42
43 final List<String> projectPropertiesPrefixes = new ArrayList<>();
44
45 projectPropertiesPrefixes.add("pom.properties.");
46 projectPropertiesPrefixes.add("project.properties.");
47
48 PROJECT_PROPERTIES_PREFIXES = Collections.unmodifiableList(projectPropertiesPrefixes);
49 }
50
51 private InterpolationConstants() {}
52 }