-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommonDescriptor.txt
50 lines (33 loc) · 1.6 KB
/
CommonDescriptor.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# AMBIENTE
JDK 21
<quarkus.platform.version>3.10.2</quarkus.platform.version>
# Environment Variable
QUARKUS_PROFILE=PROFILE_NAME
"A profile aware file is only loaded if the unprofiled application.properties is also available in the same location and the file extension matches between the files.
This is required to keep a consistent loading order and pair all the resources together."
# JUnit
"src\test\resources\application.properties"
# COMANDOS SONARQUBE
# Installing the SonarQube server from the ZIP file
# Edit <sonarqubeHome>/conf/sonar.properties to configure the database settings.
sonar.jdbc.username=postgres
sonar.jdbc.password=postgres
sonar.jdbc.url=jdbc:postgresql://localhost:5432/sonarqube
# Adjust the Java executable path (Não necessário)
setx SONAR_JAVA_PATH "C:\Program Files\java_home\bin\java.exe"
# Start the web server (Falhou no JDK 21)
"You can now browse SonarQube at http://localhost:9000 (the default system administrator credentials are admin/admin)."
<sonarqubeHome>/bin/windows-x86-64/StartSonar.bat
# Usando o JDK 17
jdk-17.0.11\bin\java.exe -jar <sonarqubeHome>\lib\sonar-application-9.9.5.90363.jar
# COMANDOS DEV
mvnw quarkus:list-extensions
mvnw quarkus:update
mvnw clean test ### Use "-Dtest=ClassName" or Add "Test" to the Class Name.
mvnw clean compile quarkus:dev
mvnw clean compile quarkus:dev -Dquarkus.profile=PROFILE_NAME
# COMANDOS PROD
"Empacota sem testes."
mvn clean package -DskipTests
mvnw clean package -DskipTests
java -jar target\quarkus-app\quarkus-run.jar ### Executa pacote de PRODUÇÃO.