| <!-- |
| 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. |
| --> |
| <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra" xmlns:ea="http://www.easyant.org"> |
| <info organisation="org.apache.easyant" module="webapp-java" revision="0.1" status="integration" > |
| <description> |
| This project is a sample of a java webapplication |
| </description> |
| <!-- |
| This easyant section is equivalent to having a module.ant like this: |
| |
| <project name="org.apache.easyant#webapp-java" |
| xmlns:ea="antlib:org.apache.easyant"> |
| |
| <property name="test.framework" value="testng"/> |
| |
| <ea:build module="build-webapp-java" revision="0.9"/> |
| <ea:plugin module="jetty-deploy" revision="0.9"/> |
| </project> |
| This is a fake webapp application, it uses testng framework |
| --> |
| <ea:build module="build-webapp-java" revision="0.9"> |
| <ea:property name="test.framework" value="testng"/> |
| <ea:plugin module="jetty-deploy" revision="0.9"/> |
| </ea:build> |
| </info> |
| <configurations> |
| <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf"/> |
| <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."/> |
| </configurations> |
| <publications> |
| <artifact type="war"/> |
| </publications> |
| <dependencies> |
| <!-- here we should specify that we want to use the maven classifier concept to retrieve testng for jdk15 --> |
| <dependency org="org.testng" name="testng" rev="5.7" conf="test->master"> |
| <artifact name="testng" type="jar" e:classifier="jdk15"/> |
| </dependency> |
| </dependencies> |
| </ivy-module> |