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