<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
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 | |
https://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. | |
--> | |
<ivy-module version="2.0"> | |
<info organisation="org1" | |
module="mod1" | |
revision="1.0" | |
status="release" | |
publication="20120301000000"> | |
<description homepage="" /> | |
</info> | |
<configurations> | |
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/> | |
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/> | |
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/> | |
<conf name="provided" visibility="public" 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."/> | |
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/> | |
<conf name="test" visibility="private" 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." extends="runtime"/> | |
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/> | |
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/> | |
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/> | |
<conf name="optional" visibility="public" description="contains all optional dependencies"/> | |
</configurations> | |
<publications> | |
<artifact name="mod1" type="jar" ext="jar" conf="master"/> | |
<artifact name="mod1" type="source" ext="jar" conf="sources"/> | |
</publications> | |
<dependencies> | |
<dependency org="org1" name="mod2" rev="1.0" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/> | |
<dependency org="org1" name="mod3" rev="1.0" force="true" conf="optional->compile(*),master(*)"/> | |
</dependencies> | |
</ivy-module> |