From fee8d9663c53d827767c3e2b3f8a1584f68f0fa4 Mon Sep 17 00:00:00 2001 From: Omertron Date: Wed, 30 Mar 2011 14:45:02 +0000 Subject: [PATCH] Update POM.XML and build routine Now will also ZIP the jar for packaging --- themoviedbapi/pom.xml | 68 +++++++++++++++++++++--- themoviedbapi/src/main/resources/bin.xml | 39 ++++++++++++++ 2 files changed, 100 insertions(+), 7 deletions(-) create mode 100644 themoviedbapi/src/main/resources/bin.xml diff --git a/themoviedbapi/pom.xml b/themoviedbapi/pom.xml index ebbc600ab..640ffcd01 100644 --- a/themoviedbapi/pom.xml +++ b/themoviedbapi/pom.xml @@ -15,10 +15,12 @@ Google Code http://code.google.com/p/themoviedbapi/issues/list + Hudson CI http://mediadeveloper.org:8080/job/API-TheMovieDb/ + scm:svn:http://themoviedbapi.googlecode.com/svn/trunk/themoviedbapi scm:svn:https://themoviedbapi.googlecode.com/svn/trunk/themoviedbapi @@ -26,8 +28,10 @@ - UTF-8 true + UTF-8 + UTF-8 + zip @@ -37,6 +41,7 @@ 4.8.2 + @@ -89,11 +94,11 @@ maven-compiler-plugin 2.3.2 - - org.apache.maven.plugins - maven-gpg-plugin - 1.1 - + + org.apache.maven.plugins + maven-gpg-plugin + 1.1 + org.apache.maven.plugins maven-jar-plugin @@ -169,9 +174,58 @@ + + org.apache.maven.plugins + maven-antrun-plugin + 1.6 + + + create-version-txt + generate-resources + + + + + + + + Writing version file: ${version_file} + ${header_line} + ${build_date_line} + ${version_line} + ${revision_line} + + + + run + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2.1 + + + distro-assembly + package + + single + + + + src/main/resources/bin.xml + + + + + - ${artifactId}-${project.version}-r${buildNumber} + ${project.artifactId}-${project.version}-r${buildNumber} + + diff --git a/themoviedbapi/src/main/resources/bin.xml b/themoviedbapi/src/main/resources/bin.xml new file mode 100644 index 000000000..c12f07f36 --- /dev/null +++ b/themoviedbapi/src/main/resources/bin.xml @@ -0,0 +1,39 @@ + + bin + + ${distribution.format} + + false + + + + ${project.build.directory} + + + version.txt + + + + + + ${basedir} + + + readme.txt + + + + + + ${project.build.directory} + + + **/*.jar + + + + + +