| <?xml-stylesheet type="text/xsl" href="http://www.ivyrep.org/ivy-doc.xsl"?> |
| <!-- |
| 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="1.0"> |
| <info organisation="org.apache" module="configurations" > |
| <description> |
| This is an example project that aims to demonstrate the usage of the configuration in ivy. |
| This project provide 4 configurations. Each configurations describe the requirement to build or run the project |
| </description> |
| </info> |
| <configurations> |
| <conf name="compile" description="This is this configuration that describes modules need to build our project"/> |
| <conf name="test" extends="compile" description="This is this configuration that describes modules need to run test on our project"/> |
| <conf name="rundev" extends="compile" description="This is this configuration that describes modules need to execute our project in a dev environement"/> |
| <conf name="runprod" extends="compile" description="This is this configuration that describes modules need to execute our project in a production environement"/> |
| </configurations> |
| |
| <dependencies> |
| <!-- this dependency is needed for all configuration --> |
| <dependency org="commons-cli" name="commons-cli" rev="1.4"/> |
| <!-- when launching our app in dev mode we use mckoi db and mckoi jdbc client conf="run.dev->embedded, client"--> |
| <dependency org="mckoi" name="mckoi" rev="1.0.2" conf="rundev->default"/> |
| <!-- when launching our app in production environement we needs other jdbc driver --> |
| <dependency org="mm-mysql" name="mm-mysql" rev="2.0.7" conf="runprod->default"/> |
| <!-- junit is only need in the test configuration--> |
| <dependency org="junit" name="junit" rev="4.12" conf="test->default"/> |
| </dependencies> |
| </ivy-module> |