You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by mu...@apache.org on 2014/03/15 01:02:28 UTC

svn commit: r1577764 - in /incubator/phoenix/site: publish/building.html publish/download.html source/src/site/markdown/building.md source/src/site/markdown/download.md

Author: mujtaba
Date: Sat Mar 15 00:02:28 2014
New Revision: 1577764

URL: http://svn.apache.org/r1577764
Log:
Update download and building web pages

Modified:
    incubator/phoenix/site/publish/building.html
    incubator/phoenix/site/publish/download.html
    incubator/phoenix/site/source/src/site/markdown/building.md
    incubator/phoenix/site/source/src/site/markdown/download.md

Modified: incubator/phoenix/site/publish/building.html
URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/building.html?rev=1577764&r1=1577763&r2=1577764&view=diff
==============================================================================
--- incubator/phoenix/site/publish/building.html (original)
+++ incubator/phoenix/site/publish/building.html Sat Mar 15 00:02:28 2014
@@ -119,30 +119,54 @@
 <div class="page-header">
  <h1>Building Phoenix Project</h1>
 </div> 
-<p>Phoenix is a fully mavenized project. That means you can build simply by doing:</p> 
+<p>Phoenix is a fully mavenized project. Download <a href="source.html">source</a> and build simply by doing:</p> 
 <div class="source"> 
  <pre>$ mvn package
-</pre>
+</pre> 
 </div> 
 <p>builds, runs fast unit tests and package Phoenix and put the resulting jars (phoenix-[version].jar and phoenix-[version]-client.jar) in the generated phoenix-core/target/ and phoenix-assembly/target/ directories respectively.</p> 
 <p>To build, but skip running the fast unit tests, you can do:</p> 
 <div class="source"> 
  <pre> $ mvn package -DskipTests
-</pre>
+</pre> 
 </div> 
 <p>To run all tests including long running integration tests</p> 
 <div class="source"> 
  <pre> $ mvn install
-</pre>
+</pre> 
 </div> 
 <p>To only build the generated parser (i.e. <tt>PhoenixSQLLexer</tt> and <tt>PhoenixSQLParser</tt>), you can do:</p> 
 <div class="source"> 
  <pre> $ mvn install -DskipTests
  $ mvn process-sources
-</pre>
+</pre> 
 </div> 
 <p>To build an Eclipse project, install the m2e plugin and do an File-&gt;Import…-&gt;Import Existing Maven Projects selecting the root directory of Phoenix.</p> 
-<p>Related: <a href="source.html">Project Source</a></p>
+<div class="section"> 
+ <h2 id="Maven">Maven</h2> 
+ <p>Phoenix is also hosted at Apache Maven Repository. You can add it to your mavenized project by adding the following to your pom:</p> 
+ <div class="source"> 
+  <pre> &lt;repositories&gt;
+   ...
+    &lt;repository&gt;
+      &lt;id&gt;apache release&lt;/id&gt;
+      &lt;url&gt;https://repository.apache.org/content/repositories/releases/&lt;/url&gt;
+    &lt;/repository&gt;
+    ...
+  &lt;/repositories&gt;
+  
+  &lt;dependencies&gt;
+    ...
+    &lt;dependency&gt;
+        &lt;groupId&gt;org.apache.phoenix&lt;/groupId&gt;
+        &lt;artifactId&gt;phoenix&lt;/artifactId&gt;
+        &lt;version&gt;[version]-incubating&lt;/version&gt;
+    &lt;/dependency&gt;
+    ...
+  &lt;/dependencies&gt;
+</pre> 
+ </div> 
+</div>
 			</div>
 		</div>
 	</div>

Modified: incubator/phoenix/site/publish/download.html
URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/download.html?rev=1577764&r1=1577763&r2=1577764&view=diff
==============================================================================
--- incubator/phoenix/site/publish/download.html (original)
+++ incubator/phoenix/site/publish/download.html Sat Mar 15 00:02:28 2014
@@ -187,33 +187,8 @@
  <div class="section"> 
   <h3 id="Samples">Samples</h3> 
   <p>The best place to see samples are in our unit tests under src/test/java. The ones in the endToEnd package are tests demonstrating how to use all aspects of the Phoenix JDBC driver. We also have some examples in the examples directory.</p> 
+  <p><a class="externalLink" href="http://githalytics.com/forcedotcom/phoenix.git"><img src="https://cruel-carlota.pagodabox.com/33878dc7c0522eed32d2d54db9c59f78" alt="githalytics.com alpha" /></a></p> 
  </div> 
-</div> 
-<div class="section"> 
- <h2 id="Maven">Maven</h2> 
- <p>Phoenix is also hosted at Apache Maven Repository. You can add it to your mavenized project by adding the following to your pom:</p> 
- <div class="source"> 
-  <pre> &lt;repositories&gt;
-   ...
-    &lt;repository&gt;
-      &lt;id&gt;apache release&lt;/id&gt;
-      &lt;url&gt;https://repository.apache.org/content/repositories/releases/&lt;/url&gt;
-    &lt;/repository&gt;
-    ...
-  &lt;/repositories&gt;
-  
-  &lt;dependencies&gt;
-    ...
-    &lt;dependency&gt;
-        &lt;groupId&gt;org.apache.phoenix&lt;/groupId&gt;
-        &lt;artifactId&gt;phoenix&lt;/artifactId&gt;
-        &lt;version&gt;[version]-incubating&lt;/version&gt;
-    &lt;/dependency&gt;
-    ...
-  &lt;/dependencies&gt;
-</pre> 
- </div> 
- <p><a class="externalLink" href="http://githalytics.com/forcedotcom/phoenix.git"><img src="https://cruel-carlota.pagodabox.com/33878dc7c0522eed32d2d54db9c59f78" alt="githalytics.com alpha" /></a></p> 
 </div>
 			</div>
 		</div>

Modified: incubator/phoenix/site/source/src/site/markdown/building.md
URL: http://svn.apache.org/viewvc/incubator/phoenix/site/source/src/site/markdown/building.md?rev=1577764&r1=1577763&r2=1577764&view=diff
==============================================================================
--- incubator/phoenix/site/source/src/site/markdown/building.md (original)
+++ incubator/phoenix/site/source/src/site/markdown/building.md Sat Mar 15 00:02:28 2014
@@ -1,6 +1,6 @@
 # Building Phoenix Project
 
-Phoenix is a fully mavenized project. That means you can build simply by doing:
+Phoenix is a fully mavenized project. Download [source](source.html) and build simply by doing:
 
 ```
 $ mvn package
@@ -29,4 +29,27 @@ To only build the generated parser (i.e.
 
 To build an Eclipse project, install the m2e plugin and do an File->Import...->Import Existing Maven Projects selecting the root directory of Phoenix.
 
-Related: [Project Source](source.html)
+## Maven ##
+
+Phoenix is also hosted at Apache Maven Repository. You can add it to your mavenized project by adding the following to your pom:
+
+```
+ <repositories>
+   ...
+    <repository>
+      <id>apache release</id>
+      <url>https://repository.apache.org/content/repositories/releases/</url>
+    </repository>
+    ...
+  </repositories>
+  
+  <dependencies>
+    ...
+    <dependency>
+        <groupId>org.apache.phoenix</groupId>
+        <artifactId>phoenix</artifactId>
+        <version>[version]-incubating</version>
+    </dependency>
+    ...
+  </dependencies>
+```

Modified: incubator/phoenix/site/source/src/site/markdown/download.md
URL: http://svn.apache.org/viewvc/incubator/phoenix/site/source/src/site/markdown/download.md?rev=1577764&r1=1577763&r2=1577764&view=diff
==============================================================================
--- incubator/phoenix/site/source/src/site/markdown/download.md (original)
+++ incubator/phoenix/site/source/src/site/markdown/download.md Sat Mar 15 00:02:28 2014
@@ -61,29 +61,4 @@ Through SQuirrel, you can issue SQL stat
 ### Samples ###
 The best place to see samples are in our unit tests under src/test/java. The ones in the endToEnd package are tests demonstrating how to use all aspects of the Phoenix JDBC driver. We also have some examples in the examples directory.
 
-## Maven ##
-
-Phoenix is also hosted at Apache Maven Repository. You can add it to your mavenized project by adding the following to your pom:
-
-```
- <repositories>
-   ...
-    <repository>
-      <id>apache release</id>
-      <url>https://repository.apache.org/content/repositories/releases/</url>
-    </repository>
-    ...
-  </repositories>
-  
-  <dependencies>
-    ...
-    <dependency>
-        <groupId>org.apache.phoenix</groupId>
-        <artifactId>phoenix</artifactId>
-        <version>[version]-incubating</version>
-    </dependency>
-    ...
-  </dependencies>
-```
-
 [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/33878dc7c0522eed32d2d54db9c59f78 "githalytics.com")](http://githalytics.com/forcedotcom/phoenix.git)