From bceb7794143c5c8e9859665cd5b10587f242d13e Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 18 Jan 2016 22:29:17 +0100 Subject: [PATCH] refactor libbuild/GitRevMavenTask (marvenize) to be able to add additional modules to build --- libbuild/GitRevMavenTask/pom.xml | 137 ++++++++++++++++++ .../{ => src}/GitRevMavenTask.java | 0 libbuild/pom.xml | 130 ++--------------- 3 files changed, 149 insertions(+), 118 deletions(-) create mode 100644 libbuild/GitRevMavenTask/pom.xml rename libbuild/GitRevMavenTask/{ => src}/GitRevMavenTask.java (100%) diff --git a/libbuild/GitRevMavenTask/pom.xml b/libbuild/GitRevMavenTask/pom.xml new file mode 100644 index 000000000..fdc4f8f8b --- /dev/null +++ b/libbuild/GitRevMavenTask/pom.xml @@ -0,0 +1,137 @@ + + 4.0.0 + + net.yacy + maven-plugin-gitrevisionnumber + 1.0 + maven-plugin + YaCy - Build Number Maven Plugin + This plugin gives you a Git repository release number. in the format 9000 as maven property "releaseNr" and a Git repository timestamp as Maven property "DSTAMP" in the format yyyymmdd + + http://www.yacy.net + + + scm:git:https://github.com/yacy/yacy_search_server.git + https://github.com/yacy/yacy_search_server + + + + + Michael Peter Christen + + + + + UTF-8 + + + + src + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.6 + 1.6 + + + + + org.codehaus.mojo + buildnumber-maven-plugin + 1.2 + + + 1 + validate + + create + + + + + false + false + 5 + 9000 + + {0,date,yyyyMMdd}-{1} + + timestamp + scmVersion + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + runtime + java + + -classpath + + + + + + org.apache.maven.plugins + maven-plugin-plugin + 3.2 + + + true + + + + mojo-descriptor + + descriptor + + + + + + + + + + + + + org.apache.maven + maven-plugin-api + 3.1.0 + + + org.eclipse.jgit + org.eclipse.jgit + 1.3.0.201202151440-r + jar + + + org.apache.maven + maven-project + 3.0-alpha-2 + + + org.apache.maven.plugin-tools + maven-plugin-annotations + 3.2 + + + org.apache.maven + maven-core + 3.1.1 + + + diff --git a/libbuild/GitRevMavenTask/GitRevMavenTask.java b/libbuild/GitRevMavenTask/src/GitRevMavenTask.java similarity index 100% rename from libbuild/GitRevMavenTask/GitRevMavenTask.java rename to libbuild/GitRevMavenTask/src/GitRevMavenTask.java diff --git a/libbuild/pom.xml b/libbuild/pom.xml index 4820ed754..9482fa501 100644 --- a/libbuild/pom.xml +++ b/libbuild/pom.xml @@ -3,11 +3,12 @@ 4.0.0 net.yacy - maven-plugin-gitrevisionnumber + extlib 1.0 - maven-plugin - YaCy - Build Properties Utility - This plugin gives you a Git repository release number. in the format 9000 as maven property "releaseNr" and a Git repository timestamp as Maven property "DSTAMP" in the format yyyymmdd + pom + YaCy - Build External Library Utility + build artifacts/jars needed to compile and run YaCy + http://www.yacy.net @@ -15,122 +16,15 @@ https://github.com/yacy/yacy_search_server - - - Michael Peter Christen - - - + + GitRevMavenTask + + + UTF-8 - - - GitRevMavenTask - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - - 1.6 - 1.6 - - - - - org.codehaus.mojo - buildnumber-maven-plugin - 1.2 - - - 1 - validate - - create - - - - - false - false - 5 - 9000 - - {0,date,yyyyMMdd}-{1} - - timestamp - scmVersion - - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - - runtime - java - - -classpath - - - - - - org.apache.maven.plugins - maven-plugin-plugin - 3.2 - - - true - - - - mojo-descriptor - - descriptor - - - - - - - - - - - - org.apache.maven - maven-plugin-api - 3.1.0 - - - org.eclipse.jgit - org.eclipse.jgit - 1.3.0.201202151440-r - jar - - - org.apache.maven - maven-project - 3.0-alpha-2 - - - org.apache.maven.plugin-tools - maven-plugin-annotations - 3.2 - - - org.apache.maven - maven-core - 3.1.1 - -