diff --git a/README.md b/README.md index cdc6c84f6..1d560d702 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ This release includes the following key new features and improvements: You can find all previous [Release Notes](https://github.com/LucidWorks/banana/wiki/Release-Notes) on our wiki page. - ### Changes to your dashboards If you created dashboards for Banana 1.0.0, you did not have a global filtering panel. In some cases, these filter values can be implicitly set to defaults that may lead to strange search results. We recommend updating your old dashboards by adding a filtering panel. A good way to do it visually is to put the filtering panel on its own row and hide it when it is not needed. @@ -112,7 +111,11 @@ __A__: Yes, from version 1.3 onwards, non-time series data are also supported. 3. LogStash: http://logstash.net/ 4. SILK Use Cases: https://github.com/LucidWorks/silkusecases. Provides example configuration files, schemas and dashboards required to build applications that use Solr and Banana. +## Publishing WAR Artifacts to Maven Central +1. Get hold of [maven-ant-tasks-X.X.X.jar](http://search.maven.org/#search|gav|1|g%3A%22org.apache.maven%22%20AND%20a%3A%22maven-ant-tasks%22) and put it in this directory +2. Execute *ant -lib . deploy* from this directory, this will sign the Maven artifacts (currently just .war) and send them to a [Sonatype OSSRH](https://oss.sonatype.org/) staging repository. Details of how to set this up can be found [here](http://central.sonatype.org/pages/ossrh-guide.html). N.B. Ensure that you have an *release* profile contained within ~/.m2/settings.xml +3. Once you've read, and are happy with the staging repos, close it. ## Support diff --git a/build.xml b/build.xml index b8c1a7744..9e4d18f63 100644 --- a/build.xml +++ b/build.xml @@ -1,16 +1,57 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/default.properties b/default.properties new file mode 100644 index 000000000..571c42709 --- /dev/null +++ b/default.properties @@ -0,0 +1,15 @@ +name=banana +version=1.5.1 +final.name=${name}-${version} +year=2015 + +basedir = ./ +src.dir = ./src +build.dir = ./build +build.encoding = UTF-8 +buildnumber=${scmBranch}@r${buildNumber} + +test.src.dir = ./src/test +test.build.dir = ${build.dir}/test + +ivy.version=2.2.0 diff --git a/mvn.template b/mvn.template new file mode 100644 index 000000000..7a23e8778 --- /dev/null +++ b/mvn.template @@ -0,0 +1,51 @@ + + + + 4.0.0 + ${ivy.pom.groupId} + ${ivy.pom.artifactId} + ${ivy.pom.packaging} + ${version} + Banana Project + ${ivy.pom.description} + ${ivy.pom.url} + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + src + test/ + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.7 + 1.7 + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..6f4e341f3 --- /dev/null +++ b/pom.xml @@ -0,0 +1,81 @@ + + + + + + org.sonatype.oss + oss-parent + 7 + + 4.0.0 + com.lucidworks + banana + war + 1.5.1 + The Banana project was forked from Kibana, and works with all kinds of time series (and non-time series) data stored in Apache Solr. + + https://github.com/LucidWorks/banana + Banana Project + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + https://github.com/LucidWorks/banana + scm:git:git://github.com/LucidWorks/banana.git + scm:git:git@github.com/LucidWorks/banana.git + HEAD + + + + sonatype-nexus-staging + Nexus Staging Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + GitHub Issues + https://github.com/crawler-commons/crawler-commons/issues + + + + + + + + + + src + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.7 + 1.7 + + + + + +