Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
CTF
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grzegorz
CTF
Commits
30d6adb0
Commit
30d6adb0
authored
Mar 01, 2016
by
Dominik Rosiek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Maven tutorial + gitignore for maven build
parent
92c99e64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
.gitignore
.gitignore
+1
-0
no_intellij.txt
tutorials/no_intellij.txt
+23
-0
No files found.
.gitignore
View file @
30d6adb0
# Created by .ignore support plugin (hsz.mobi)
service/target
tutorials/no_intellij.txt
0 → 100644
View file @
30d6adb0
# Ponizej instrukcja
# Instalujemy mvn i jave 8
# sudo aptitude install mvn openjdk-8-jdk czy cos w ten desen
# jak mamy zainstalowane to ustawiamy jave na 1.8:
sudo update-java-alternatives --list
# example output
## java-1.7.0-openjdk-amd64 1071 /usr/lib/jvm/java-1.7.0-openjdk-amd64
## java-1.8.0-openjdk-amd64 1069 /usr/lib/jvm/java-1.8.0-openjdk-amd64
## java-gcj-5 /usr/lib/jvm/java-gcj-5
# ustawiamy jave ze sciezka na 1.8
sudo update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64
# Przechodzimy do folderu z projektem
cd service
# Kompilujemy
mvn compile
#Odpalamy i patrzymy co sie dzieje :)
mvn exec:java -Dexec.mainClass="CTFApplication" -Dexec.args="server configuration.yml"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment