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 2017/11/02 19:57:12 UTC

[accumulo-website] branch tour created (now fd09120)

This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a change to branch tour
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git.


      at fd09120  ACCUMULO-4734 Initial commit

This branch includes the following new commits:

     new fd09120  ACCUMULO-4734 Initial commit

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@accumulo.apache.org" <co...@accumulo.apache.org>'].

[accumulo-website] 01/01: ACCUMULO-4734 Initial commit

Posted by mm...@apache.org.
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

commit fd091203db8f8d84d4b8b12f341b5104d15632f8
Author: Mike Miller <mm...@apache.org>
AuthorDate: Thu Nov 2 15:51:18 2017 -0400

    ACCUMULO-4734 Initial commit
---
 .gitignore                   |  3 +++
 README.md                    | 16 ++++++++++++++++
 pom.xml                      | 44 ++++++++++++++++++++++++++++++++++++++++++++
 src/main/java/tour/Main.java |  9 +++++++++
 4 files changed, 72 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d8b48b5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/target/
+/.idea
+/*.iml
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a410739
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+Accumulo Tour
+---------
+
+This git repository provides a barebones Maven+Java environment for the [Accumulo Tour][tour].  As you
+go through the tour edit [Main.java] and use the following maven command to run your code.  This command 
+will execute Main.java with all of the correct dependencies on the classpath.
+
+```bash
+mvn -q clean compile exec:java
+```
+
+The command takes a bit to run because it starts a MiniAccumulo each time.
+
+[tour]: https://fluo.apache.org/tour
+[Main.java]: src/main/java/tour/Main.java
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..36ff99e
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.accumulo</groupId>
+    <artifactId>accumulo-tour</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <name>accumulo-tour</name>
+    <url></url>
+
+    <properties>
+
+    </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>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.5.0</version>
+        <configuration>
+          <mainClass>tour.Main</mainClass>
+          <cleanupDaemonThreads>false</cleanupDaemonThreads>
+        </configuration>
+      </plugin>
+    </plugins>
+   </build>
+
+
+</project>
diff --git a/src/main/java/tour/Main.java b/src/main/java/tour/Main.java
new file mode 100644
index 0000000..4ec8f8c
--- /dev/null
+++ b/src/main/java/tour/Main.java
@@ -0,0 +1,9 @@
+package tour;
+
+
+public class Main {
+
+    public static void main(String[] args) {
+        System.out.println("Running the Accumulo tour. Having fun yet?");
+    }
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@accumulo.apache.org" <co...@accumulo.apache.org>.