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://ram...@github.com/abcis/EaaSVideoComponent.git</connection> <developerConnection>scm:git:https://ram...@github.com/abcis/EaaSVideoComponent.git</developerConnection> <tag>HEAD</tag> <url>scm:git:https://ram...@github.com/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://ram...@github.com/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>