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 public final class InterpolationConstants
27 {
28
29 public static final List<String> PROJECT_PREFIXES;
30
31 public static final List<String> PROJECT_PROPERTIES_PREFIXES;
32
33 public static final String SETTINGS_PREFIX = "settings.";
34
35 static
36 {
37 final List<String> projectPrefixes = new ArrayList<String>();
38 projectPrefixes.add( "pom." );
39 projectPrefixes.add( "project." );
40
41 PROJECT_PREFIXES = Collections.unmodifiableList( projectPrefixes );
42
43 final List<String> projectPropertiesPrefixes = new ArrayList<String>();
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 {
53 }
54
55 }