Skip to content

Commit 497d382

Browse files
committed
new versions
1 parent 2cb9080 commit 497d382

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
MicroService:
1313

14-
[//]: # (- Spring Sleuth based tracing)
14+
[//]: # (- Spring Micrometer based tracing)
1515
- Exposing and implementing Open Feign clients
1616
- Spring Cloud Contract (WIP)
1717

@@ -120,21 +120,21 @@ Option 3 - run from IDE
120120
- Update run configuration to run maven goal `wro4j:run` Before Launch. It should be after 'Build'
121121

122122

123-
## Run Tests
123+
## Run Tests (use ./mvnw instead of mvn if you want to use maven wrapper)
124124

125125
## It uses TestContainers, which requires Docker to be installed locally.
126126

127127
##### Running full tests
128128

129-
`./mvnw clean verify`
129+
`mvn clean verify`
130130

131131
##### Running unit tests only (it uses maven surefire plugin)
132132

133-
`./mvnw compiler:testCompile resources:testResources surefire:test`
133+
`mvn compiler:testCompile resources:testResources surefire:test`
134134

135135
##### Running integration tests only (it uses maven-failsafe-plugin)
136136

137-
`./mvnw compiler:testCompile resources:testResources failsafe:integration-test`
137+
`mvn compiler:testCompile resources:testResources failsafe:integration-test`
138138

139139
## Code Quality
140140

@@ -148,8 +148,8 @@ Run sonarqube server using docker
148148
`docker run -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest`
149149

150150
Perform scan:
151-
`./mvnw sonar:sonar`
152-
./mvnw sonar:sonar -Dsonar.login=admin -Dsonar.password=admin
151+
`mvn sonar:sonar`
152+
mvn sonar:sonar -Dsonar.login=admin -Dsonar.password=admin
153153

154154
View Reports in SonarQube web ui:
155155

@@ -162,13 +162,12 @@ View Reports in SonarQube web ui:
162162

163163
### Dependency vulnerability scan
164164

165-
Owasp dependency check plugin is configured. Run `./mvnw dependency-check:check` to run scan and
165+
Owasp dependency check plugin is configured. Run `mvn dependency-check:check` to run scan and
166166
open `dependency-check-report.html` from target to see the report.
167167

168168

169-
## Run Tests Faster using Maven Daemon + parallel run
170-
171-
`mvnd test -Dparallel=all -DperCoreThreadCount=false -DthreadCount=4 -o`
169+
## Run Tests Faster by using parallel maven build
170+
`mvn -T 5 clean package`
172171

173172

174173
Once the application starts, open `http://localhost:8081` on your browser. The default username/passwords are listed on : gt.app.Application.initData, which are:

0 commit comments

Comments
 (0)