From a003f0ddeef625baddc0989647da5ec4cb02fae6 Mon Sep 17 00:00:00 2001 From: Kevin Wayne Date: Thu, 10 Sep 2015 07:06:36 -0400 Subject: [PATCH] Fixes a few typos --- README-MAVEN.txt | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/README-MAVEN.txt b/README-MAVEN.txt index 3e3526204..77ad21188 100644 --- a/README-MAVEN.txt +++ b/README-MAVEN.txt @@ -7,19 +7,9 @@ These instructions assume that you already have installed Java 7 (JDK 1.7) or above. -Using Maven in any IDE (common IDE neutral instructions) -------------------------------------------------------- - -To view source files and run this project, open this project with your favorite IDE, -using "open project" or "import project wizards." -In any case open or import this project "As Maven Project". -Jar location: -Resulting algs4-.jar can be found in /target directory on disk - - Using Maven in Eclipse for Java Developers ------------------------------------------ -If m2e (Maven plugin) is not built-in in Eclipse, follow these steps to install the plugin: +If m2e (Maven plugin) is not built into Eclipse, follow these steps to install the plugin: * Open Eclipse. * Go to Help -> Eclipse Marketplace. @@ -31,20 +21,22 @@ Restart Eclipse after installing m2e. Now you can import algs4 as "Maven Project" into Eclipse: - * Open menu: File-> Import-> Maven-> Existing Maven Projects.. - * Choose directory of algs4 - * Confirm import + * Open menu: File-> Import-> Maven-> Existing Maven Projects... + * Choose directory of algs4. + * Confirm import. To complete dependencies resolution after import: - * do right click on the project, choose Maven -> Update Project... - * confirm project update. + * Right click on the project, choose Maven -> Update Project... + * Confirm project update. To build project in Eclipse: Eclipse automatically builds the project every time it saved. But if you want enforce build, do following: - * Right click on the project in Eclipse - * Choose Run as... Maven build + * Right click on the project in Eclipse. + * Choose Run as... Maven build. +Maven will put algs4-.jar in the directory /target. +You can use this jar as a dependency in your projects. Using Maven in IntelliJ IDEA @@ -109,3 +101,4 @@ mvn clean install Maven will put algs4-.jar in the directory /target. You can use this jar as a dependency in your projects. +