------
Usage
------
Jason van Zyl
------
27 November 2006
------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
~~ distributed with this work for additional information
~~ regarding copyright ownership. The ASF licenses this file
~~ to you under the Apache License, Version 2.0 (the
~~ "License"); you may not use this file except in compliance
~~ with the License. You may obtain a copy of the License at
~~
~~ http://www.apache.org/licenses/LICENSE-2.0
~~
~~ Unless required by applicable law or agreed to in writing,
~~ software distributed under the License is distributed on an
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~~ KIND, either express or implied. See the License for the
~~ specific language governing permissions and limitations
~~ under the License.
Usage
* How to Create a Resource Bundle
To turn on the bundle resource manifest generation you need to configure the plugin as follows:
-------------------
...
maven-remote-resources-plugin
bundle
...
-------------------
This will trigger the scanning of your <<<${basedir}/src/main/resources>>> directory and create the
<<<${basedir}/target/classes/META-INF/maven/remote-resources.xml>>> manifest file.
* How to Use Remote Resource Bundles
To use remote resource bundles you need to configure the plugin as follows:
-------------------
...
maven-remote-resources-plugin
process
org.apache:apache-jar-resource-bundle:1.0
...
-------------------
This will retrieve the <<>> from the remote repositories
specified in your POM, process each resource in the bundle and deposit them in your projects
<<<${basedir}/target/classes>>> directory.