122 |
</plugins> |
</plugins> |
123 |
|
|
124 |
</build> |
</build> |
125 |
|
|
126 |
|
|
127 |
|
<profiles> |
128 |
|
<profile> |
129 |
|
<id>resourceOperationRemove</id> |
130 |
|
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
131 |
|
the build will remove any lines in the resource bundes that are tagged with |
132 |
|
REMOVEME_ --> |
133 |
|
<build> |
134 |
|
<plugins> |
135 |
|
<plugin> |
136 |
|
<groupId>org.codehaus.mojo</groupId> |
137 |
|
<artifactId>exec-maven-plugin</artifactId> |
138 |
|
<version>1.2</version> |
139 |
|
<executions> |
140 |
|
<execution> |
141 |
|
<phase>generate-sources</phase> |
142 |
|
<goals> |
143 |
|
<goal>java</goal> |
144 |
|
</goals> |
145 |
|
<configuration> |
146 |
|
<mainClass>de.schmitzm.lang.ResourceProviderOperator</mainClass> |
147 |
|
<arguments> |
148 |
|
<argument>-s</argument> |
149 |
|
<argument>${project.build.directory}/../src</argument> |
150 |
|
<argument>-b</argument> |
151 |
|
<argument>de.schmitzm.swing.resource.locales.SwingResourceBundle;de.schmitzm.lang.resource.locales.LangResourceBundle;de.schmitzm.mail.resource.locales.MailResourceBundle;de.schmitzm.data.resource.locales.DataResourceBundle |
152 |
|
</argument> |
153 |
|
</arguments> |
154 |
|
</configuration> |
155 |
|
</execution> |
156 |
|
</executions> |
157 |
|
</plugin> |
158 |
|
</plugins> |
159 |
|
</build> |
160 |
|
</profile> |
161 |
|
</profiles> |
162 |
|
|
163 |
|
|
164 |
</project> |
</project> |