From eb85d7d40b826a2b7f89ee909e0931cef1194661 Mon Sep 17 00:00:00 2001 From: samskivert Date: Thu, 9 Sep 2010 18:21:54 +0000 Subject: [PATCH] Bye bye Ivy. Even though I like you better, building with Maven makes publishing to the public Maven repositories much simpler. Being published to the public Maven repositories makes life easier for everyone who wants to depend on samskivert. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2864 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- README | 18 ++--- build-ivy.xml | 204 -------------------------------------------------- ivy.xml | 28 ------- 3 files changed, 9 insertions(+), 241 deletions(-) delete mode 100644 build-ivy.xml delete mode 100644 ivy.xml diff --git a/README b/README index 738b4a17..d80bc2bb 100644 --- a/README +++ b/README @@ -36,12 +36,12 @@ following principles: Building -------- -The library is built using ant. If you aren't already using ant for other -projects, it can be found here: +The library is built using Ant or Maven, pick your poison. If you use ant, you +will need to obtain the jar files enumerated in etc/libs-incl.xml and place +them in the lib/ directory. If you use Maven, the dependencies will be +automatically fetched. - http://ant.apache.org/ - -Invoke ant with any of the following targets: +Invoke Ant with any of the following targets: all: builds the class files and javadoc documentation compile: builds only the class files (dist/classes) @@ -49,11 +49,11 @@ Invoke ant with any of the following targets: tests: builds and runs the unit tests dist: builds the distribution jar file (dist/samskivert.jar) -It is highly recommended to use the Ivy-based build file, which will -automatically download any dependencies. The build file will also download Ivy -if needed. For example, to build everything invoke: +Invoke Maven with the following targets: - % ant -f build-ivy.xml all + mvn test: builds the code and runs the tests + mvn package: builds the code and creates target/samskivert-X.X.jar + mvn install: builds and installs samskivert into your local Maven repository Distribution ------------ diff --git a/build-ivy.xml b/build-ivy.xml deleted file mode 100644 index fac9a332..00000000 --- a/build-ivy.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Compile classpath: - ${compile.str} - Test classpath: - - ${test.str} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Copyright © 2000-${year} ${copyright.holder}. All Rights Reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ivy.xml b/ivy.xml deleted file mode 100644 index ab1eae79..00000000 --- a/ivy.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -