Skip to content

Commit

Permalink
chore: remove unused dependencies (#425)
Browse files Browse the repository at this point in the history
* fix: remove deprecated Mysql dialect

Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>

* fix: modify run one scan notification

Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>

* chore: remove unused plugin

Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>

---------

Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>
  • Loading branch information
m-rudyk committed Feb 7, 2024
1 parent 92f26aa commit 6b3112f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<dependencies>
<!-- The following enables the "thin jar" deployment option. -->
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>1.0.31.RELEASE</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/lpvs/service/LPVSDetectService.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ private void init() {
*/
@EventListener(ApplicationReadyEvent.class)
public void runOneScan() {
log.info("Triggered signle scan operation");
if (trigger != null && !HtmlUtils.htmlEscape(trigger).equals("")) {
log.info("Triggered signle scan operation");
try {
LPVSQueue webhookConfig =
gitHubService.getInternalQueueByPullRequest(HtmlUtils.htmlEscape(trigger));
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ spring.jpa.properties.hibernate.connection.CharSet=utf8
spring.jpa.properties.hibernate.connection.characterEncoding=utf8
spring.jpa.properties.hibernate.connection.useUnicode=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=false
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.show_sql=false
Expand Down

0 comments on commit 6b3112f

Please sign in to comment.