blob: d484154cac2a04dac2074aa384e48c850ec010cd [file] [log] [blame]
<?xml version="1.0"?>
<!--
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.
-->
<!DOCTYPE actions SYSTEM "action-mapping.dtd">
<actions>
<action name="clean">
<args>clean</args>
</action>
<action name="build">
<args>build</args>
</action>
<action name="rebuild">
<args>clean build</args>
</action>
<action name="delete" repeatable="false">
<args>clean</args>
<reload rule="NEVER"/>
</action>
<action name="download.javadoc">
<!--
We do not really execute any tasks here, rather just reload the project
allowing it to go online and fetch some dependencies. So in this case
the action is forcing a project reload with some argiments.
-->
<reload rule="ALWAYS_ONLINE">
<args>-PdownloadJavadoc=${requestedComponent}</args>
</reload>
</action>
<action name="download.sources">
<reload rule="ALWAYS_ONLINE">
<args>-PdownloadSources=${requestedComponent}</args>
</reload>
</action>
<action name="download.sourcesanddoc">
<reload rule="ALWAYS_ONLINE">
<args>-PdownloadSources=${requestedComponent} -PdownloadJavadoc=${requestedComponent}</args>
</reload>
</action>
<!--
The following section is used and preferred when the 'virtual plugin' named
'root' is present in the project plugin list marking that project is a root
project.
-->
<apply-for plugins="root">
<action name="clean">
<args>clean</args>
</action>
<action name="build">
<args>assemble</args>
</action>
<action name="rebuild">
<args>clean assemble</args>
</action>
</apply-for>
</actions>