Skip to content

Commit 6e4e1f8

Browse files
fix(read.me): #199 add Maven Wrapper, use ./mvnw is Readme uniformly, use java.version 18 in pom.xml uniformly,
1 parent 7c38b4f commit 6e4e1f8

File tree

5 files changed

+433
-6
lines changed

5 files changed

+433
-6
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ only required to manage documents on the server or validate against the
4242
To build the application run:
4343

4444
```shell
45-
./mvn package
45+
./mvnw package
4646
```
4747

4848
The resulting jar file in the `target` folder can then be run with
@@ -179,12 +179,12 @@ When hostnames are changed, this has to adapted.
179179

180180
### build and execute tests
181181

182-
./mvnw clean verify
182+
`` ./mvnw clean verify``
183183

184184

185185
### start application
186186

187-
./mvnw spring-boot:run
187+
`` ./mvnw spring-boot:run``
188188

189189
with main class: de.bsi.secvisogram.csaf_cms_backend.SecvisogramApplication
190190

@@ -222,10 +222,10 @@ You can find our guidelines here [CONTRIBUTING.md](https://github.com/secvisogra
222222

223223
### Check for Maven Plugin update
224224

225-
`` mvn versions:display-plugin-updates ``
225+
`` ./mvnw versions:display-plugin-updates ``
226226

227227
## Check for dependency update
228-
`` mvn versions:display-dependency-updates `
228+
`` ./mvnw versions:display-dependency-updates ``
229229

230230
### Spring Boot
231231

mvnw

Lines changed: 259 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)