Skip to content

Commit 44380f6

Browse files
Dassi orleandomaibin
authored andcommitted
BAEL-1318: Quick Guide to Setting up the Maven Wrapper on an Application (eugenp#3371)
* BAEL-1216: improve tests * BAEL-1448: Update Spring 5 articles to use the release version * Setting up the Maven Wrapper on a maven project
1 parent 477e8cf commit 44380f6

10 files changed

Lines changed: 476 additions & 0 deletions

File tree

‎mvn-wrapper/.gitignore‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
12+
### IntelliJ IDEA ###
13+
.idea
14+
*.iws
15+
*.iml
16+
*.ipr
17+
18+
### NetBeans ###
19+
nbproject/private/
20+
build/
21+
nbbuild/
22+
dist/
23+
nbdist/
24+
.nb-gradle/
47.2 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip

‎mvn-wrapper/README.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Setting up the Maven Wrapper on an Application
2+
==============================================
3+
4+
This is the code that shows the configurations of maven wrapper on a SpringBoot project.
5+
6+
### Requirements
7+
8+
- Maven
9+
- JDK 7
10+
11+
### Running
12+
13+
To build and start the server simply type
14+
15+
```bash
16+
$ ./mvn clean install
17+
$ ./mvn spring-boot:run
18+
```
19+
20+
Now with default configurations it will be available at: [http://localhost:8080](http://localhost:8080)
21+
22+
Enjoy it :)

‎mvn-wrapper/mvnw‎

Lines changed: 227 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)