diff --git a/assembly.xml b/assembly.xml
new file mode 100644
index 000000000..403bf2682
--- /dev/null
+++ b/assembly.xml
@@ -0,0 +1,82 @@
+
+
+
+ bindistribution
+
+
+ tar.gz
+
+
+
+
+ YaCy
+
+
+
+ addon
+ addon
+
+
+ bin
+ bin
+
+
+ defaults
+ defaults
+
+
+ dictionaries
+ dictionaries
+
+
+ htroot
+ htroot
+
+
+ langstats
+ langstats
+
+
+ locales
+ locales
+
+
+ ranking
+ ranking
+
+
+ skins
+ skins
+
+
+ vocabularies
+ vocabularies
+
+
+ ${basedir}
+
+ *.bat
+ *.sh
+ yacy.*
+ readme.txt
+ gpl.txt
+ lgpl21.txt
+ AUTHORS
+ COPYRIGHT
+ NOTICE
+
+ .
+
+
+
+
+
+ false
+ runtime
+ lib
+
+
+
+
\ No newline at end of file
diff --git a/libbuild/GitRevTask/GitRevTask.java b/libbuild/GitRevTask/GitRevTask.java
index bf6246d10..87dc77341 100644
--- a/libbuild/GitRevTask/GitRevTask.java
+++ b/libbuild/GitRevTask/GitRevTask.java
@@ -1,7 +1,10 @@
import java.io.File;
+import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.List;
+import java.util.logging.Level;
+import java.util.logging.Logger;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
@@ -89,13 +92,42 @@ public class GitRevTask extends org.apache.tools.ant.Task {
log("Property '" + this.dateprop + "' set to '" + commitDate + "'", Project.MSG_VERBOSE);
}
}
-
- public static void main(String[] args) {
- GitRevTask gitRevTask = new GitRevTask();
- gitRevTask.setRepoPath("/home/sgaebel/git/yacy.rc1");
- gitRevTask.setRevprop("baseRevisionNr");
- gitRevTask.setDateprop("DSTAMP");
-
- gitRevTask.execute();
- }
+
+ /** use: GitRevTask.jar pathtoGitRepro outputfile
+ * optional parameter
+ * 1st parameter = path to Git repository (default ..)
+ * 2nd parameter = ouputfile (default gitbuild.properties)
+ * */
+ public static void main(String[] args) {
+ GitRevTask gitRevTask = new GitRevTask();
+ if (args.length == 0) {
+ gitRevTask.setRepoPath(".."); // path to root of git repository
+ } else {
+ gitRevTask.setRepoPath(args[0]);
+ }
+ gitRevTask.setRevprop("baseRevisionNr");
+ gitRevTask.setDateprop("DSTAMP");
+
+ Project p = new Project();
+ gitRevTask.setProject(p);
+ gitRevTask.execute();
+ String version = gitRevTask.getProject().getProperty("baseRevisionNr");
+ String commitDate = gitRevTask.getProject().getProperty("DSTAMP");
+
+ File f;
+ if (args.length > 1) {
+ f = new File (args[1]);
+ } else {
+ f = new File("gitbuildnumber.properties");
+ }
+ try {
+ f.createNewFile();
+ FileWriter w = new FileWriter(f);
+
+ w.append("releaseNr=" + version + "\n");
+ w.append("DSTAMP=" + commitDate + "\n");
+ w.close();
+
+ } catch (IOException ex) {}
+ }
}
diff --git a/libbuild/pom.xml b/libbuild/pom.xml
new file mode 100644
index 000000000..d91b35cbf
--- /dev/null
+++ b/libbuild/pom.xml
@@ -0,0 +1,110 @@
+
+ 4.0.0
+
+ net.yacy
+ GitRevTask
+ 1.3
+ jar
+ YaCy - version tool
+ YaCy
+ http://www.yacy.net
+
+
+ scm:git:https://git.gitorious.org/yacy/rc1.git
+ https://gitorious.org/yacy
+
+
+
+
+ Michael Peter Christen
+
+
+
+
+ UTF-8
+
+
+
+ GitRevTask
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.5.1
+
+
+ 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
+
+
+
+
+
+
+
+
+
+
+ log4j
+ log4j
+ 1.2.16
+ jar
+
+
+ org.eclipse.jgit
+ org.eclipse.jgit
+ 1.2.0.201112221803-r
+
+
+ org.apache.ant
+ ant
+ 1.8.3
+
+
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 000000000..42f94663d
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,653 @@
+
+ 4.0.0
+
+ net.yacy
+ yacycore
+ 1.3
+ jar
+ YaCy - a Peer to Peer Web Search Engine
+ YaCy
+ http://www.yacy.net
+
+ YaCy Bugtracker
+ http://bugs.yacy.net
+
+
+ scm:git:https://git.gitorious.org/yacy/rc1.git
+ https://gitorious.org/yacy
+
+
+
+ GNU General Public License
+ http://www.gnu.org/licenses/gpl-2.0
+
+
+
+
+ Michael Peter Christen
+
+
+
+
+
+ UTF-8
+
+
+
+ source
+
+ yacycore
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.7
+
+
+ add-source-htroot
+ generate-sources
+
+ add-source
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.5.1
+
+
+ 1.6
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.4
+
+
+
+ htroot
+
+
+
+ net.yacy.yacy
+ true
+
+
+ ${project.version}-${buildNumber}
+
+
+
+
+
+
+ maven-assembly-plugin
+ 2.4
+
+
+ assembly.xml
+
+ yacy_v${project.version}_${buildNumber}
+ RELEASE
+ false
+
+
+
+ package
+
+ single
+
+
+
+
+
+
+
+ maven-antrun-plugin
+
+
+ compile-htroot
+ compile
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9
+
+ api
+ true
+ true
+
+ iso-8859-1
+ YaCy API Documentation
+
+ htroot/*.java
+
+
+
+
+
+ org.codehaus.mojo
+ buildnumber-maven-plugin
+ 1.2
+
+
+ 1
+
+ generate-sources
+
+ create
+
+
+
+
+ false
+ false
+ 5
+ 9000
+
+ {0,date,yyyyMMdd}_{1}
+
+ - timestamp
+ - ${releaseNr}
+ - scmVersion
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 2.6
+
+
+ generate-resources
+
+ build-classpath
+
+
+
+ true
+ ${project.build.directory}/classpath.properties
+
+
+
+
+
+
+
+
+ org.codehaus.mojo
+ properties-maven-plugin
+ 1.0-alpha-2
+
+
+ initialize
+
+ read-project-properties
+
+
+
+ libbuild/gitbuildnumber.properties
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 2.4
+
+
+
+ install-webcat-jar
+ clean
+
+ install-file
+
+
+ ${basedir}/lib/webcat-0.1-swf.jar
+ net.yacy.extlib
+ webcat
+ 0.1
+ jar
+ true
+
+
+
+
+ install-J7Zip-jar
+ clean
+
+ install-file
+
+
+ ${basedir}/lib/J7Zip-modified.jar
+ net.yacy.extlib
+ J7Zip-modified
+ 1.02
+ jar
+ true
+
+
+
+
+ install-domaingraph-jar
+ clean
+
+ install-file
+
+
+ ${basedir}/htroot/processing/domaingraph/applet/domaingraph.jar
+ net.yacy.extlib
+ domaingraph
+ 0135
+ jar
+ true
+
+
+
+
+
+
+
+
+
+
+
+ junit
+ junit
+ 4.7
+ test
+
+
+ hamcrest-core
+ org.hamcrest
+
+
+
+
+
+ javax.activation
+ activation
+ 1.1.1
+
+
+ org.apache.james
+ apache-mime4j
+ 0.6.1
+
+
+ com.hp.hpl.jena
+ arq
+ 2.8.7
+
+
+ commons-codec
+ commons-codec
+ 1.7
+ jar
+
+
+ org.apache.commons
+ commons-compress
+ 1.4.1
+
+
+ xz
+ org.tukaani
+
+
+
+
+ commons-fileupload
+ commons-fileupload
+ 1.2.2
+
+
+ commons-httpclient
+ commons-httpclient
+ 3.1
+
+
+ commons-io
+ commons-io
+ 2.1
+
+
+ commons-jxpath
+ commons-jxpath
+ 1.3
+
+
+ commons-lang
+ commons-lang
+ 2.6
+
+
+ commons-logging
+ commons-logging
+ 1.1.1
+
+
+ org.apache.pdfbox
+ fontbox
+ 1.7.1
+
+
+ org.apache.geronimo.specs
+ geronimo-stax-api_1.0_spec
+ 1.0.1
+
+
+ com.google.guava
+ guava
+ r05
+
+
+ org.htmlparser
+ htmllexer
+ 2.1
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.2.2
+ jar
+
+
+ org.apache.httpcomponents
+ httpcore
+ 4.2.3
+ jar
+
+
+ org.apache.httpcomponents
+ httpmime
+ 4.2.2
+ jar
+
+
+ com.ibm.icu
+ icu4j
+ 4.8.1.1
+
+
+ com.hp.hpl.jena
+ iri
+ 0.8
+
+
+ ant
+ ant-jakarta-oro
+ 1.6.1
+
+
+ org
+ jaudiotagger
+ 2.0.3
+
+
+ org.samba.jcifs
+ jcifs
+ 1.3.3
+
+
+ org.slf4j
+ jcl-over-slf4j
+ 1.7.2
+
+
+ org.apache.pdfbox
+ jempbox
+ 1.7.1
+
+
+ com.hp.hpl.jena
+ jena
+ 2.6.4
+
+
+ slf4j-log4j12
+ org.slf4j
+
+
+
+
+ org.mortbay.jetty
+ jetty
+ 6.1.26-patched-JETTY-1340
+
+
+ org.mortbay.jetty
+ jetty-util
+ 6.1.26-patched-JETTY-1340
+
+
+ com.jcraft
+ jsch
+ 0.1.42
+ jar
+
+
+ com.googlecode.json-simple
+ json-simple
+ 1.1
+
+
+ org.jsoup
+ jsoup
+ 1.6.3
+
+
+ log4j
+ log4j
+ 1.2.16
+ jar
+
+
+ org.slf4j
+ log4j-over-slf4j
+ 1.7.2
+
+
+ org.apache.lucene
+ lucene-analyzers-common
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-analyzers-phonetic
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-core
+ 4.0.0
+ jar
+
+
+ org.apache.lucene
+ lucene-grouping
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-highlighter
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-memory
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-misc
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-queries
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-spatial
+ 4.0.0
+
+
+ org.apache.lucene
+ lucene-suggest
+ 4.0.0
+
+
+ com.drewnoakes
+ metadata-extractor
+ 2.4.0-beta-1
+
+
+ mysql
+ mysql-connector-java
+ 5.1.12
+
+
+ org.apache.pdfbox
+ pdfbox
+ 1.7.1
+ jar
+
+
+ org.apache.poi
+ poi
+ 3.6
+
+
+ org.apache.poi
+ poi-scratchpad
+ 3.6
+
+
+ sax
+ sax
+ 2.0.1
+
+
+ javax.servlet
+ servlet-api
+ 2.5
+
+
+ org.slf4j
+ slf4j-api
+ 1.7.2
+
+
+ org.slf4j
+ slf4j-jdk14
+ 1.7.2
+
+
+ org.apache.solr
+ solr-solrj
+ 4.0.0
+ jar
+
+
+ org.apache.solr
+ solr-core
+ 4.0.0
+ jar
+
+
+ org.codehaus.woodstox
+ wstx-asl
+ 3.2.7
+
+
+ xerces
+ xercesImpl
+ 2.7.1
+
+
+
+
+ net.yacy.extlib
+ J7Zip-modified
+ 1.02
+
+
+ net.yacy.extlib
+ webcat
+ 0.1
+
+
+ net.yacy.extlib
+ domaingraph
+ 0135
+
+
+
+ org.osgi
+ org.osgi.core
+ 4.1.0
+ jar
+
+
+