You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/06/16 20:57:56 UTC

[incubator-nlpcraft-website] branch master updated: Fixed maven build instructions.

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

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0553862  Fixed maven build instructions.
0553862 is described below

commit 0553862912335c4abd922887057ef861a0ca4b93
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Wed Jun 16 13:57:38 2021 -0700

    Fixed maven build instructions.
---
 cheat-sheet.html      | 4 ++--
 download.html         | 4 ++--
 getting-started.html  | 2 +-
 installation.html     | 2 +-
 server-and-probe.html | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/cheat-sheet.html b/cheat-sheet.html
index aa1cb50..aff9444 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.html
@@ -56,7 +56,7 @@ id: cheat_sheet
                                 <pre class="brush: bash">
                                     $ unzip -q apache-nlpcraft-incubating-{{site.latest_version}}.zip
                                     $ cd apache-nlpcraft-incubating-{{site.latest_version}}
-                                    $ mvn clean package -DskipTests
+                                    $ mvn clean package -P examples -DskipTests
                                 </pre>
                                 <p>
                                     Built JARs and Javadoc will be located in <code>target</code> sub-folder.
@@ -75,7 +75,7 @@ id: cheat_sheet
                             <div class="tab-pane fade show" id="nav-install-github" role="tabpanel">
                                 <pre class="brush: bash">
                                     $ git clone https://github.com/apache/incubator-nlpcraft.git
-                                    $ mvn clean package
+                                    $ mvn clean package -P examples
                                 </pre>
                             </div>
                             <div class="tab-pane fade show" id="nav-install-maven" role="tabpanel">
diff --git a/download.html b/download.html
index 16d944e..90d3184 100644
--- a/download.html
+++ b/download.html
@@ -221,7 +221,7 @@ layout: interior
             </pre>
             <b>Build NLPCraft:</b>
             <pre class="brush: bash">
-                $ mvn clean package -DskipTests
+                $ mvn clean package -P examples -DskipTests
             </pre>
             <p>
                 Built JARs and Javadoc will be located in <code>target</code> sub-folder.
@@ -339,7 +339,7 @@ layout: interior
             </p>
             <pre class="brush: bash">
             $ git clone https://github.com/apache/incubator-nlpcraft.git
-            $ mvn clean package
+            $ mvn clean package -P examples
             </pre>
             <div class="bq warn">
                 <p>
diff --git a/getting-started.html b/getting-started.html
index a26a62e..abb563b 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -39,7 +39,7 @@ id: getting_started
                 You <a href="/download.html#zip">downloaded</a> NLPCraft {{site.latest_version}} as <b>binary release</b>.
                 <ul>
                     <li>
-                        If you downloaded the source release - run <code class="script">mvn clean package</code> to build binaries before proceeding.
+                        If you downloaded the source release - run <code class="script">mvn clean package -P examples</code> to build binaries before proceeding.
                     </li>
                 </ul>
             </li>
diff --git a/installation.html b/installation.html
index b057ae5..287b628 100644
--- a/installation.html
+++ b/installation.html
@@ -29,7 +29,7 @@ id: installation
         </p>
         <ul>
             <li>If you <a href="/download.html">downloaded</a> binary ZIP archive - <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verify</a> it and unzip it</li>
-            <li>If you <a href="/download.html">cloned</a> GitHub repository or downloaded source archive - use <code>mvn clean package</code> to build it</li>
+            <li>If you <a href="/download.html">cloned</a> GitHub repository or downloaded source archive - use <code>mvn clean package -P examples</code> to build it</li>
             <li>If you <a href="/download.html">used</a> Maven/Gradle/SBT - you know what you are doing 👍</li>
         </ul>
         <div class="bq warn">
diff --git a/server-and-probe.html b/server-and-probe.html
index 197c06e..f650a96 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -71,14 +71,14 @@ id: server_and_probe
             <li><a href="/data-model.html">Model API</a></li>
         </ul>
         <p>
-            Note that if you downloaded the <a href="/download.html#src">source</a> ZIP you need to run <code class="script">mvn clean package</code> to
+            Note that if you downloaded the <a href="/download.html#src">source</a> ZIP you need to run <code class="script">mvn clean package -P examples</code> to
             get the <code>apache-nlpcraft-incubating-<b>{{site.latest_version}}</b>-all-deps.jar</code>
             file. It will be located in <code>nlpcraft/target</code> sub-folder.
         </p>
         <h2 class="section-sub-title">Examples JARs <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2>
         <p>
             If you downloaded binary release the examples JARs are pre-built and shipped within it. They are located in <code>build/nlpcraft-examples/xxx</code> folder
-            for each <code>xxx</code> example. If you downloaded a source release you will need to run <code class="script">mvn clean package</code>
+            for each <code>xxx</code> example. If you downloaded a source release you will need to run <code class="script">mvn clean package -P examples</code>
             and examples JARs will be located in each individual module under its <code>target</code> sub-folder.
         </p>
     </section>