9
~~ Copyright 2006 The Apache Software Foundation.
11
~~ Licensed under the Apache License, Version 2.0 (the "License");
12
~~ you may not use this file except in compliance with the License.
13
~~ You may obtain a copy of the License at
15
~~ http://www.apache.org/licenses/LICENSE-2.0
17
~~ Unless required by applicable law or agreed to in writing, software
18
~~ distributed under the License is distributed on an "AS IS" BASIS,
19
~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
~~ See the License for the specific language governing permissions and
21
~~ limitations under the License.
23
~~ NOTE: For help with the syntax of this file, see:
24
~~ http://maven.apache.org/doxia/references/apt-format.html
29
Filtering the content of the <<<src/main/application>>> directory or the
30
one defined by the <<<earSourcesDirectory>>> parameter is as easy as:
36
<groupId>org.apache.maven.plugins</groupId>
37
<artifactId>maven-ear-plugin</artifactId>
39
<filtering>true</filtering>
47
Note that the standard properties are available for filtering. It is also
48
possible to specify a set of property files to add extra values if
49
necessary. The configuration below uses also the properties defined in
50
<<<src/main/filters/config.properties>>>
56
<groupId>org.apache.maven.plugins</groupId>
57
<artifactId>maven-ear-plugin</artifactId>
59
<filtering>true</filtering>
61
<filter>src/main/filters/config.properties</filter>