here is full build.xml for ivy
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="Revision5"
default="run">
<dependencies>
<dependency org="org.antlr" name="antlr-runtime" rev="3.2" >
<artifact name="antlr-runtime" type="jar" />
</dependency>
<dependency org="asm" name="asm" rev="3.0" >
<artifact name="asm" type="jar" />
</dependency>
<dependency org="asm" name="asm-tree" rev="3.0" >
<artifact name="asm-tree" type="jar" />
</dependency>
<dependency org="net.sourceforge.cobertura" name="cobertura" rev="1.9.4.1" >
<artifact name="cobertura" type="jar" />
</dependency><dependency org="commons-cli" name="commons-cli"
rev="20040117.000000" >
<artifact name="commons-cli" type="jar" />
</dependency>
<dependency org="commons-io" name="commons-io" rev="20030203.000550" >
<artifact name="commons-io" type="jar" />
</dependency>
<dependency org="commons-lang" name="commons-lang" rev="2.4" >
<artifact name="commons-lang" type="jar" />
</dependency>
<dependency org="org.hamcrest" name="hamcrest-all" rev="1.1" >
<artifact name="hamcrest-all" type="jar" />
</dependency>
<dependency org="httpunit" name="httpunit" rev="1.7" >
<artifact name="httpunit" type="jar" />
</dependency>
<dependency org="org.slf4j" name="jcl-over-slf4j" rev="1.6.1" >
<artifact name="jcl-over-slf4j" type="jar" />
</dependency>
<dependency org="com.metaparadigm" name="json-rpc" rev="1.0" >
<artifact name="json-rpc" type="jar" />
</dependency>
<dependency org="javax.servlet" name="jstl" rev="1.2" >
<artifact name="jstl" type="jar" />
</dependency>
<dependency org="jtidy" name="jtidy" rev="4aug2000r7-dev" >
<artifact name="jtidy" type="jar" />
</dependency>
<dependency org="junit" name="junit" rev="4.8.2" >
<artifact name="junit" type="jar" />
</dependency>
<dependency org="org.mockito" name="mockito-core" rev="1.8.5" >
<artifact name="mockito-core" type="jar" />
</dependency>
<dependency org="org.objenesis" name="objenesis" rev="1.0" >
<artifact name="objenesis" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-asm" rev="3.0.3.RELEASE"
>
<artifact name="spring-asm" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-beans"
rev="3.0.3.RELEASE" >
<artifact name="spring-beans" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-context"
rev="3.0.3.RELEASE" >
<artifact name="spring-context" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-core" rev="3.0.3.RELEASE"
>
<artifact name="spring-core" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-expression"
rev="3.0.3.RELEASE" >
<artifact name="spring-expression" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-test" rev="3.0.3.RELEASE"
>
<artifact name="spring-test" type="jar" />
</dependency>
<dependency org="org.springframework" name="spring-web" rev="3.0.3.RELEASE"
>
<artifact name="spring-web" type="jar" />
</dependency>
<dependency org="com.weiglewilczek.scala-lang-osgi" name="scala-library"
rev="2.9.1" >
<artifact name="scala-library" type="jar" />
</dependency>
<dependency org="javax.servlet" name="servlet-api" rev="2.5" >
<artifact name="servlet-api" type="jar" />
</dependency>
<dependency org="opensymphony" name="sitemesh" rev="2.4.1" >
<artifact name="sitemesh" type="jar" />
</dependency>
<dependency org="org.slf4j" name="slf4j-api" rev="1.6.1" >
<artifact name="slf4j-api" type="jar" />
</dependency>
<dependency org="org.slf4j" name="slf4j-simple" rev="1.6.1" >
<artifact name="slf4j-simple" type="jar" />
</dependency>
<dependency org="org.antlr" name="stringtemplate" rev="4.0.2" >
<artifact name="stringtemplate" type="jar" />
</dependency>
<dependency org="org.antlr" name="ST4" rev="4.0.4" >
<artifact name="ST4" type="jar" />
</dependency>
</dependencies>
<target name="init-ivy">
<taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="antlib:org.apache.ivy.ant">
<classpath>
<pathelement location="ivy.jar" />
</classpath>
</taskdef>
</target>
<target name="retrieve-all" depends="init-ivy"
description="--> Retrieves all Ivy dependencies into
the lib directory">
<ivy:retrieve />
<antcall target="report" inheritRefs="true" />
</target
</project>
Anil E wrote:
>
> here is the build.xml for the ivy i created so far
>
> <!--
> 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.
> --><?xml version="1.0" encoding="UTF-8"?>
> <project xmlns:ivy="ivy" name="eclipse-plugin-build">
> <!-- Load Ivy ant tasks -->
> <taskdef uri="ivy" resource="org/apache/ivy/ant/antlib.xml"/>
> <!--
> If Ivy is not in Ant's classpath, get the jar of Ivy and use the folowing
> -->
> <!-- taskdef rather than the above one -->
> <!--
> path id="ivy.classpath"> <fileset dir="${basedir}"> <include
> name="ivy.jar" /> </fileset> </path> <taskdef uri="ivy"
> resource="org/apache/ivy/ant/antlib.xml" classpathref="ivy.classpath" /
> -->
> <!--
> Load the properties where is defined the eclipse home
> -->
> <property file="${basedir}/ivysettings.properties"/>
> <target name="clean" description="Clean the build directory">
> <delete dir="${basedir}/target"/>
> </target>
> <target name="buildobr" description="Build the obr index">
> <!--
> build the repo.xml which aggregate every metadata of the Eclipse plugins
> -->
> <mkdir dir="${basedir}/target"/>
> <ivy:buildobr baseDir="${eclipse.home}" basePath="${eclipse.home}"
> out="${basedir}/target/repo-eclipse.xml" indent="true"/>
> </target>
> <target name="ivy:configure">
> <!-- classical ivy configuration -->
> <ivy:configure file="ivysettings.xml"/>
> </target>
> <target name="ivy:resolve" depends="ivy:configure">
> <!-- classical resolve and cache-path -->
> <ivy:resolve file="ivy.xml" conf="*"/>
> <ivy:cachepath pathid="compile.classpath" conf="compile"
> useOrigin="true"/>
> </target>
> <target name="compile" depends="ivy:resolve" description="Compile the
> Eclipse plugin">
> <mkdir dir="${basedir}/target/classes"/>
> <!--
> simple javac (WARNING: contrary to the JDT, javac doesn't understand
> OSGi's accessibility (private packages))
> -->
> <javac srcdir="${basedir}/src" classpathref="compile.classpath"
> destdir="${basedir}/target/classes" debug="true"
> includeAntRuntime="false"/>
> <copy todir="${basedir}/target/classes">
> <fileset dir="${basedir}/src">
> <include name="**"/>
> <exclude name="**/*.java"/>
> <exclude name="**/package.html"/>
> </fileset>
> <fileset dir="${basedir}">
> <include name="plugin.xml"/>
> </fileset>
> </copy>
> </target>
> <target name="build" depends="compile" description="Build the Eclipse
> plugin">
> <!-- simple jaring -->
> <jar basedir="${basedir}/target/classes"
> destfile="${basedir}/target/${ant.project.name}.jar"
> manifest="META-INF/MANIFEST.MF"/>
> </target>
> </project>
>
> Anil E-2 wrote:
>>
>> hello sir,
>>
>> I have setup my project on Apache Maven 3.0.4 successfully
>> and project is working fine=0ANow,Iwant to use Apache Ivy and do the same
>> I am very new to Ivy ,I am providing you my pom.xml of maven
>> let me know if you need anything further
>>
>> thanks
>> Anil
>>
>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>> <modelVersion>4.0.0</modelVersion>
>>
>> <!-- The basic configurations -->
>> <groupId>1</groupId>
>> <artifactId>Revision6</artifactId>
>> <version>1.1</version>
>> <name>pom</name>
>> <packaging>war</packaging>
>>
>> <!-- Get ready SCM settings for Checkout -->
>> <scm>
>>
>> <connection>scm:git:https://[email protected]/abcis/EaaSVideoComponent.git</connection>
>>
>> <developerConnection>scm:git:https://[email protected]/abcis/EaaSVideoComponent.git</developerConnection>
>> <tag>HEAD</tag>
>>
>> <url>scm:git:https://[email protected]/abcis/EaaSVideoComponent.git</url>
>> </scm>
>>
>> <!-- Set the UTF , to avoid platform dependent build -->
>> <properties>
>>
>> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>> </properties>
>>
>>
>>
>> <dependencies>
>>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-core</artifactId>
>> <version>3.0.5.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-aspects</artifactId>
>> <version>3.0.5.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> <exclusions>
>> <exclusion>
>> <artifactId>spring-context</artifactId>
>> <groupId>org.springframework</groupId>
>> </exclusion>
>> </exclusions>
>> </dependency>
>>
>> <dependency>
>> <groupId>org.antlr</groupId>
>> <artifactId>antlr-runtime</artifactId>
>> <version>3.3</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>antlr</groupId>
>> <artifactId>antlr</artifactId>
>> <version>2.7.7</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>> <dependency>
>> <groupId>asm</groupId>
>> <artifactId>asm</artifactId>
>> <version>3.0</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>asm</groupId>
>> <artifactId>asm-tree</artifactId>
>> <version>3.0</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>net.sourceforge.cobertura</groupId>
>> <artifactId>cobertura</artifactId>
>> <version>1.9.4.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>commons-cli</groupId>
>> <artifactId>commons-cli</artifactId>
>> <version>1.2</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>commons-io</groupId>
>> <artifactId>commons-io</artifactId>
>> <version>2.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>commons-lang</groupId>
>> <artifactId>commons-lang</artifactId>
>> <version>2.4</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <!-- Avoid the inclusion of 'hamcrest' -->
>> <!-- <dependency>
>> <groupId>org.hamcrest</groupId>
>> <artifactId>hamcrest-all</artifactId>
>> <version>1.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency> -->
>> <dependency>
>> <groupId>httpunit</groupId>
>> <artifactId>httpunit</artifactId>
>> <version>1.7</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>ant</groupId>
>> <artifactId>ant-jakarta-oro</artifactId>
>> <version>1.6.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.slf4j</groupId>
>> <artifactId>jcl-over-slf4j</artifactId>
>> <version>1.6.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>com.meschbach.psi</groupId>
>> <artifactId>psi-jetty6</artifactId>
>> <version>2.4</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>jetty</groupId>
>> <artifactId>jetty-util</artifactId>
>> <version>6.0.2</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>com.metaparadigm</groupId>
>> <artifactId>json-rpc</artifactId>
>> <version>1.0</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>javax.servlet</groupId>
>> <artifactId>jstl</artifactId>
>> <version>1.2</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>jtidy</groupId>
>> <artifactId>jtidy</artifactId>
>> <version>4aug2000r7-dev</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>junit</groupId>
>> <artifactId>junit</artifactId>
>> <version>4.8.2</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>ant</groupId>
>> <artifactId>ant-apache-log4j</artifactId>
>> <version>1.6.5</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.objenesis</groupId>
>> <artifactId>objenesis</artifactId>
>> <version>1.0</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-asm</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-beans</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-context</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-expression</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-test</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.springframework</groupId>
>> <artifactId>spring-web</artifactId>
>> <version>3.0.3.RELEASE</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>> <dependency>
>> <groupId>com.weiglewilczek.scala-lang-osgi</groupId>
>> <artifactId>scala-library</artifactId>
>> <version>2.9.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>> <dependency>
>> <groupId>opensymphony</groupId>
>> <artifactId>sitemesh</artifactId>
>> <version>2.4.2</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.slf4j</groupId>
>> <artifactId>slf4j-api</artifactId>
>> <version>1.6.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.slf4j</groupId>
>> <artifactId>slf4j-simple</artifactId>
>> <version>1.6.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.antlr</groupId>
>> <artifactId>stringtemplate</artifactId>
>> <version>3.2.1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>>
>> <dependency>
>> <groupId>javax.el</groupId>
>> <artifactId>javax.el-api</artifactId>
>> <version>2.2.4</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>javax.servlet</groupId>
>> <artifactId>servlet-api</artifactId>
>> <version>3.0-alpha-1</version>
>> <type>jar</type>
>> <scope>compile</scope>
>> </dependency>
>>
>> </dependencies>
>>
>> <!-- Now,perform the required targets -->
>> <build>
>>
>> <finalName>${application-name}</finalName>
>>
>> <!-- The root of the test source code for cui -->
>> <!--
>> <testSourceDirectory>${basedir}/src/test</testSourceDirectory> -->
>> <extensions>
>> <extension>
>> <groupId>org.apache.maven.wagon</groupId>
>> <artifactId>wagon-ssh-external</artifactId>
>> <version>1.0-beta-2</version>
>> </extension>
>> </extensions>
>>
>> <plugins>
>>
>> <plugin>
>>
>> <groupId>com.googlecode.addjars-maven-plugin</groupId>
>> <artifactId>addjars-maven-plugin</artifactId>
>> <version>1.0.3</version>
>> <executions>
>> <execution>
>>
>> <goals>
>> <goal>add-jars</goal>
>> </goals>
>> <configuration>
>>
>> <packagingExcludes>**/*.svn-base</packagingExcludes>
>> <resources>
>> <resource>
>>
>> <directory>${basedir}/WebContent/WEB-INF/localJars</directory>
>> <excludes>
>>
>> <exclude>**/*.svn-base</exclude>
>>
>> </excludes>
>>
>> </resource>
>> </resources>
>> </configuration>
>> </execution>
>> </executions>
>> </plugin>
>>
>> <!--
>> <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-jar-plugin</artifactId>
>> <configuration>
>> <archive>
>> <manifest>
>>
>> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>>
>> <addClasspath>true</addClasspath>
>>
>> <mainClass>your.main.Class</mainClass>
>> </manifest>
>> <manifestEntries>
>>
>> <Class-Path>../conf/</Class-Path>
>> </manifestEntries>
>> </archive>
>> </configuration>
>> </plugin>
>> -->
>>
>> <plugin>
>> <artifactId>maven-antrun-plugin</artifactId>
>> <executions>
>> <execution>
>> <phase>package</phase>
>> <configuration>
>> <tasks>
>> <!-- copy the dependent jars
>> (4) to the lib directory-->
>> <copy
>> todir="${baseDirPath}/target/${application-name}/WEB-INF/lib">
>> <fileset
>> dir="${baseDirPath}/${adapterForResources}/WEB-INF/localJars"/>
>> </copy>
>>
>> <!-- copy the resource bundles
>> -->
>> <mkdir
>> dir="${baseDirPath}/target/${application-name}/WEB-INF/classes/ResourceBundles/"/>
>> <copy
>> todir="${baseDirPath}/target/${application-name}/WEB-INF/classes/ResourceBundles/">
>> <fileset
>> dir="${baseDirPath}/src/ResourceBundles"/>
>> </copy>
>>
>> <!-- copy the xmls -->
>> <copy
>> todir="${baseDirPath}/target/${application-name}/WEB-INF/classes/">
>> <fileset
>> dir="${baseDirPath}/${adapterForResources}/WEB-INF/"
>> includes = "*.xml"/>
>> </copy>
>>
>> <!-- copy the resources -->
>> <copy
>> todir="${baseDirPath}/target/${application-name}/">
>> <fileset
>> dir="${baseDirPath}/${adapterForResources}/" excludes =
>> "${baseDirPath}/src/WEB-INF/"/>
>> </copy>
>>
>> </tasks>
>> </configuration>
>> <goals>
>> <goal>run</goal>
>> </goals>
>> </execution>
>> </executions>
>> </plugin>
>>
>>
>>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-surefire-plugin</artifactId>
>> <version>2.8.1</version>
>>
>> <configuration>
>> <includes>
>> <include>**/*Test.java</include>
>> </includes>
>> <phase>package</phase>
>> </configuration>
>> </plugin>
>>
>>
>> <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-war-plugin</artifactId>
>> <version>2.2</version>
>> <configuration>
>>
>>
>> <packagingExcludes>**/*.svn-base</packagingExcludes>
>>
>> <webXml>${baseDirPath}\WebContent\WEB-INF\web.xml</webXml>
>>
>> <warName>${application-name}</warName>
>> <webResources>
>> <resource>
>>
>> <directory>${baseDirPath}\WebContent</directory>
>>
>> <includes>
>>
>> <include>${baseDirPath}/target/${application-name}/WEB-INF/classes/</include>
>>
>>
>> <include>${baseDirPath}/target/${application-name}/WEB-INF/classes/ResourceBundles/</include>
>>
>>
>> <include>${baseDirPath}/target/${application-name}/</include>
>>
>> </includes>
>>
>>
>> <excludes>
>>
>> <exclude>${baseDirPath}/target/WEB-INF/*.xml</exclude>
>>
>> <exclude>${baseDirPath}/target/WEB-INF/localJars/*.jar</exclude>
>>
>> <exclude>${baseDirPath}/target/WEB-INF/antDependentJars/*.jar</exclude>
>>
>> </excludes>
>> </resource>
>> </webResources>
>> </configuration>
>> </plugin>
>>
>>
>> <!--
>> <plugin>
>>
>> <artifactId>maven-resources-plugin</artifactId>
>> <version>2.5</version>
>> <executions>
>> <execution>
>> <id>copy-resources</id>
>>
>> <phase>package</phase>
>> <goals>
>>
>> <goal>copy-resources</goal>
>> </goals>
>> <configuration>
>>
>> <outputDirectory>${baseDirPath}/target/${application-name}/WEB-INF/ResourceBundles/</outputDirectory>
>> <resources>
>> <resource>
>>
>> <directory>${baseDirPath}/${source-Path}/ResourceBundles/</directory>
>> </resource>
>> </resources>
>>
>> <excludes>
>>
>> <exclude>**/*.svn-base</exclude>
>>
>> </excludes>
>> </configuration>
>> </execution>
>> </executions>
>> </plugin>
>>
>> -->
>>
>> <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-install-plugin</artifactId>
>> <version>2.3.1</version>
>> <executions>
>> <execution>
>>
>> <id>default-install</id>
>>
>> <phase>install</phase>
>> </execution>
>> </executions>
>> </plugin>
>>
>>
>> <plugin>
>>
>> <groupId>de.saumya.mojo</groupId>
>>
>> <artifactId>runit-maven-plugin</artifactId>
>> <version>0.28.6</version>
>> </plugin>
>>
>> <plugin>
>>
>> <groupId>org.codehaus.mojo</groupId>
>>
>> <artifactId>exec-maven-plugin</artifactId>
>> <version>1.2.1</version>
>> <executions>
>> <execution>
>> <configuration>
>> <phase>test</phase>
>>
>> <mainClass>main.java.com.cisco</mainClass>
>> <arguments>
>> <argument />
>> </arguments>
>> </configuration>
>> </execution>
>> </executions>
>> </plugin>
>>
>> <plugin>
>>
>> <groupId>org.codehaus.mojo</groupId>
>>
>> <artifactId>tomcat-maven-plugin</artifactId>
>> <version>1.2.1</version>
>> <configuration>
>>
>> <warFile>${baseDirPath}/target/${application-name}.war</warFile>
>>
>> <url>${tomcat-deployment-path}</url>
>>
>> <server>mytomcatForCUIDeployment</server>
>>
>> <path>/${application-name}</path>
>> </configuration>
>> </plugin>
>>
>>
>> </plugins>
>>
>> <pluginManagement>
>> <plugins>
>> <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-scm-plugin</artifactId>
>> <version>1.6</version>
>> <configuration>
>>
>> <connectionType>scm:git:https://[email protected]/abcis/EaaSVideoComponent.git</connectionType>
>>
>> <checkoutDirectory>checkout</checkoutDirectory>
>>
>> <excludes>EaasWebApp,Snapshot,bbb-video,bigbluebutton-client,est</excludes>
>>
>> <excludes>UX,UI,Documents</excludes>
>> </configuration>
>> </plugin>
>>
>>
>> <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-release-plugin</artifactId>
>> <configuration>
>>
>> <localCheckout>true</localCheckout>
>> </configuration>
>> </plugin>
>>
>>
>>
>>
>> <plugin>
>> <groupId>org.mortbay.jetty</groupId>
>>
>> <artifactId>maven-jetty-plugin</artifactId>
>> <version>6.1.10</version>
>> <configuration>
>>
>> <scanIntervalSeconds>10</scanIntervalSeconds>
>> <stopKey>stopCUI</stopKey>
>> <stopPort>8080</stopPort>
>> </configuration>
>> <executions>
>> <execution>
>> <id>start-jetty</id>
>>
>> <phase>pre-integration-test</phase>
>> <goals>
>> <goal>run</goal>
>> </goals>
>> <configuration>
>>
>> <scanIntervalSeconds>0</scanIntervalSeconds>
>>
>> <daemon>true</daemon>
>> </configuration>
>> </execution>
>> <execution>
>> <id>stop-jetty</id>
>>
>> <phase>post-integration-test</phase>
>> <goals>
>>
>> <goal>stop</goal>
>> </goals>
>> </execution>
>> </executions>
>> </plugin>
>>
>> </plugins>
>> </pluginManagement>
>>
>> </build>
>>
>> </project>
>>
>
--
View this message in context:
http://old.nabble.com/regarding-Apache-Ivy-setup-tp33659486p33660306.html
Sent from the ivy-user mailing list archive at Nabble.com.