For working with project you should have installed on you machine:
- Make (for installation instructions - see below)
- Maven (for installation instructions - see below)
- JEnv - for *nix/Mac only!
- XMLStarlet Toolkit
- XsltProc
In Makefile:
- Comment or delete the JEnv block in "init" task
- Delete "./" substring in some commands, like ./mvnw verify - it should looks like "mvnw verify"
- Replace "ln" with "mklink" command (see https://stackoverflow.com/questions/17246558/what-is-the-windows-equivalent-to-the-ln-s-target-folder-link-folder-unix-s)
in {project.basedir} run
$ make init
Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency
<dependency>
<groupId>com.github.Vyacheslav-Lapin</groupId>
<artifactId>java-fundamentals-epam</artifactId>
<version>MASTER</version>
</dependency>
Before install, you may need to check if it's already installed
For check, please write in terminal:
$ make -v
output should looks like this:
GNU Make 4.2.1
Built for x86_64-apple-darwin18.2.0
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ brew install make
$ apt install make
$ cinst make
Before install, you may need to check if it''s already installed
For check, please write in terminal:
$ mvn -v
output should looks like this:
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T18:06:16+03:00)
Maven home: /usr/local/Cellar/maven/3.6.2/libexec
Java version: 12.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
$ brew install maven
$ apt install mvn
$ cinst mvn