You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2019/05/30 21:31:55 UTC
[accumulo-website] branch tour updated: Update README and pom (#181)
This is an automated email from the ASF dual-hosted git repository.
mmiller pushed a commit to branch tour
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/tour by this push:
new 7905788 Update README and pom (#181)
7905788 is described below
commit 79057881a04ea043d22d843a70ff97e957049aaa
Author: Mike Miller <mm...@apache.org>
AuthorDate: Thu May 30 17:31:51 2019 -0400
Update README and pom (#181)
* Provide more info in the README about versions
* Update Maven compiler plugin in POM and clean up
---
README.md | 9 +++++++--
pom.xml | 17 ++++++-----------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index f5b0913..b160b04 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ will execute Main.java with all of the correct dependencies on the classpath.
mvn -q clean compile exec:java
```
-The command takes a bit to run because it starts a MiniAccumuloCluster each time.
+The above command will compile the project and run a MiniAccumuloCluster.
MiniAccumuloCluster is a mini version of Accumulo that runs on your local filesystem. It should only be used for
development purposes. Files and logs used by MiniAccumuloCluster can be seen in the generated directory:
@@ -18,7 +18,12 @@ development purposes. Files and logs used by MiniAccumuloCluster can be seen in
target/mac########
```
+The version of Accumulo is defined in pom.xml and the tour should work with the Accumulo versions:
+* 1.8.*
+* 1.9.*
+* 2.0.*
+
Running _mvn clean_ will remove any files created by previous runs.
[tour]: https://fluo.apache.org/tour
-[Main.java]: src/main/java/tour/Main.java
\ No newline at end of file
+[Main.java]: src/main/java/tour/Main.java
diff --git a/pom.xml b/pom.xml
index c94719e..3571145 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,24 +10,21 @@
<packaging>jar</packaging>
<name>accumulo-tour</name>
- <url></url>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<accumulo.version>1.8.1</accumulo.version>
+ <java.version>1.8</java.version>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <optimize>true</optimize>
- <encoding>UTF-8</encoding>
- </configuration>
+ <version>3.8.1</version>
+ <configuration>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
+ </configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -48,6 +45,4 @@
<version>${accumulo.version}</version>
</dependency>
</dependencies>
-
-
</project>