blob: 1135e43ac539dd5ae97b4b1d24d75f5492f2f7ee [file] [log] [blame]
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
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
<ivy-module version="2.0" xmlns:ea="">
<info organisation="org.apache.easyant.plugins" module="source-jar" revision="0.10">
<extends organisation="org.apache.easyant.plugins" module="parent-plugin" revision="0.1" location="../parent.ivy" />
<p>This module provides source jar packaging feature.</p>
You can bind targets of this plugin to package phase by using bindtarget element in your module.ivy
Example :
<code type="xml">
<plugin name="source-jar" rev="0.1" as="source-jar" />
<!-- for main sources -->
<bindtarget target="source-jar:main" tophase="package" />
<!-- for test sources -->
<bindtarget target="source-jar:test" tophase="package" />
Or as a nested element of the plugin
<code type="xml">
<plugin name="source-jar" rev="0.1" as="source-jar">
<!-- here, the target prefix is not mandatory as easyant can determine it from plugin element -->
<!-- for main sources -->
<bindtarget target=":main" tophase="package" />
<!-- for test sources -->
<bindtarget target=":test:test" tophase="package" />
<ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1" />
<conf name="default" description="runtime dependencies artifact can be used with this conf" />
<conf name="test"
description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." />
<conf name="provided"
description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive." />
<artifact type="ant" />