1 | |
package org.apache.maven.plugin.assembly.utils; |
2 | |
|
3 | |
import java.util.ArrayList; |
4 | |
import java.util.Collections; |
5 | |
import java.util.List; |
6 | |
|
7 | |
public final class InterpolationConstants |
8 | |
{ |
9 | |
|
10 | |
public static final List<String> PROJECT_PREFIXES; |
11 | |
|
12 | |
public static final List<String> PROJECT_PROPERTIES_PREFIXES; |
13 | |
|
14 | |
public static final String SETTINGS_PREFIX = "settings."; |
15 | |
|
16 | |
static |
17 | |
{ |
18 | 1 | final List<String> projectPrefixes = new ArrayList<String>(); |
19 | 1 | projectPrefixes.add( "pom." ); |
20 | 1 | projectPrefixes.add( "project." ); |
21 | |
|
22 | 1 | PROJECT_PREFIXES = Collections.unmodifiableList( projectPrefixes ); |
23 | |
|
24 | 1 | final List<String> projectPropertiesPrefixes = new ArrayList<String>(); |
25 | |
|
26 | 1 | projectPropertiesPrefixes.add( "pom.properties." ); |
27 | 1 | projectPropertiesPrefixes.add( "project.properties." ); |
28 | |
|
29 | 1 | PROJECT_PROPERTIES_PREFIXES = Collections.unmodifiableList( projectPropertiesPrefixes ); |
30 | 1 | } |
31 | |
|
32 | |
private InterpolationConstants() |
33 | 0 | { |
34 | 0 | } |
35 | |
|
36 | |
} |