diff --git a/pom.xml b/pom.xml index 03a99ae..456a395 100644 --- a/pom.xml +++ b/pom.xml @@ -6,10 +6,10 @@ org.springframework.boot spring-boot-starter-parent - 2.7.11 + 2.7.18 - + br.ufrn.dct apf-bsi 0.0.1-SNAPSHOT @@ -151,7 +151,6 @@ org.apache.maven.plugins maven-compiler-plugin - 3.11.0 ${java.version} ${java.version} @@ -173,6 +172,15 @@ JAR + + org.apache.maven.plugins + maven-resources-plugin + + + UTF-8 + + + org.jacoco jacoco-maven-plugin diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index c8fcd45..a3285ca 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,28 +2,28 @@ # = DATA SOURCE # =============================== spring.datasource.url=jdbc:postgresql://localhost:5432/apf_db -# spring.datasource.name=apf_db +spring.datasource.name=apf_db spring.datasource.username=apf_user spring.datasource.password=12345 spring.datasource.driver-class-name=org.postgresql.Driver -spring.data.jpa.repositories.bootstrap-mode=default +#spring.data.jpa.repositories.bootstrap-mode=default # =============================== # = JPA / HIBERNATE # =============================== -# spring.jpa.properties.hibernate.default_schema=apf +spring.jpa.properties.hibernate.default_schema=apf spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.defer-datasource-initialization=true spring.sql.init.continue-on-error=true -spring.jpa.hibernate.ddl-auto=update +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +spring.jpa.hibernate.ddl-auto=none #spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy -spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl -spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy +#spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl +#spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy -spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +#spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true logging.level.br.ufrn.dct.apf=DEBUG #logging.level.org.hibernate.SQL=DEBUG @@ -49,15 +49,15 @@ spring.thymeleaf.cache=false # Context path of the application. server.servlet.context-path=/apf # Display name of the application. -server.servlet.application-display-name=Analisador de Pontos de Função +server.servlet.application-display-name=Analisador de Pontos de Fun��o # Define server port. server.port=8080 # ============================================================== # = Spring Security / Queries for AuthenticationManagerBuilder # ============================================================== -spring.queries.users-query=select email, password, active from users where email=? -spring.queries.roles-query=select u.email, r.role_name from users u inner join user_role ur on(u.user_id=ur.user_id) inner join role r on(ur.role_id=r.role_id) where u.email=? +#spring.queries.users-query=select email, password, active from users where email=? +#spring.queries.roles-query=select u.email, r.role_name from users u inner join user_role ur on(u.user_id=ur.user_id) inner join role r on(ur.role_id=r.role_id) where u.email=? # ============================================================= # = Spring General