-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathMaven
More file actions
33 lines (25 loc) · 814 Bytes
/
Maven
File metadata and controls
33 lines (25 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
https://maven.apache.org/
https://jenkov.com/tutorials/maven/maven-tutorial.html
Installation
https://maven.apache.org/download.cgi
wget https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz
https://maven.apache.org/install.html
cd /
wget https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz
45 ls -l
46 tar xzvf apache-maven-3.9.4-bin.tar.gz
47 ls -l
48 mv apache-maven-3.9.4 /maven
49 ls -l
50 pwd
51 M3_HOME='/maven'
53 PATH="$M3_HOME/bin:$PATH"
54 export PATH
55 mvn -version
Install the Maven Plugin
Manage Jenkins --> Tools
Maven-Job
https://github.com/jenkins-docs/simple-java-maven-app.git
Goals
clean package
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html