* build(deps-dev): bump eslint-plugin-jsdoc in /client Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 50.5.0 to 50.6.1. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.5.0...v50.6.1) --- updated-dependencies: - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps-dev): bump typescript-eslint from 8.19.0 to 8.19.1 in /client Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.19.0 to 8.19.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.19.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump react, react-dom and @types/react in /client Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react), [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `react-dom` from 18.3.1 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom) Updates `@types/react` from 18.3.12 to 19.0.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: react-dom dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump @types/node from 22.10.2 to 22.10.5 in /client Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.2 to 22.10.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump i18next from 23.16.8 to 24.2.1 in /client Bumps [i18next](https://github.com/i18next/i18next) from 23.16.8 to 24.2.1. - [Release notes](https://github.com/i18next/i18next/releases) - [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md) - [Commits](https://github.com/i18next/i18next/compare/v23.16.8...v24.2.1) --- updated-dependencies: - dependency-name: i18next dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: upgrade @types/react-dom from 18.3.3 to 18.3.5 Snyk has created this PR to upgrade @types/react-dom from 18.3.3 to 18.3.5. See this package in npm: @types/react-dom See this project in Snyk: https://app.snyk.io/org/ricardocampos-dcn/project/4d31651d-a849-4b8a-83a3-f8aaba677c53?utm_source=github&utm_medium=referral&page=upgrade-pr * fix: upgrade react-i18next from 15.1.4 to 15.2.0 Snyk has created this PR to upgrade react-i18next from 15.1.4 to 15.2.0. See this package in npm: react-i18next See this project in Snyk: https://app.snyk.io/org/ricardocampos-dcn/project/4d31651d-a849-4b8a-83a3-f8aaba677c53?utm_source=github&utm_medium=referral&page=upgrade-pr * build(deps): bump org.springdoc:springdoc-openapi-starter-webmvc-ui Bumps [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://github.com/springdoc/springdoc-openapi) from 2.7.0 to 2.8.3. - [Release notes](https://github.com/springdoc/springdoc-openapi/releases) - [Changelog](https://github.com/springdoc/springdoc-openapi/blob/main/CHANGELOG.md) - [Commits](https://github.com/springdoc/springdoc-openapi/compare/v2.7.0...v2.8.3) --- updated-dependencies: - dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-ui dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix build and react-dom type version --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
451 lines
14 KiB
XML
451 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.4.1</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<groupId>br.com.tasknoteapp</groupId>
|
|
<artifactId>server</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>tasknote-api</name>
|
|
<description>Java backend REST API to serve TaskNote frontend client</description>
|
|
|
|
<!-- URL -->
|
|
<url/>
|
|
|
|
<!-- License -->
|
|
<licenses>
|
|
<license/>
|
|
</licenses>
|
|
|
|
<!-- Developers -->
|
|
<developers>
|
|
<developer/>
|
|
</developers>
|
|
|
|
<!-- Properties -->
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<skip.integration.tests>true</skip.integration.tests>
|
|
<skip.unit.tests>true</skip.unit.tests>
|
|
<jacoco.skip>true</jacoco.skip>
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
<checkstyle.failsOnError>true</checkstyle.failsOnError>
|
|
<checkstyle.includeTestSourceDirectory>true</checkstyle.includeTestSourceDirectory>
|
|
<jacoco.output.data>${project.build.directory}/coverage-reports</jacoco.output.data>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
|
<hibernate.version>6.6.4.Final</hibernate.version>
|
|
<sonar.organization>ricardo-campos-org</sonar.organization>
|
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
|
</properties>
|
|
|
|
<!-- Profiles -->
|
|
<profiles>
|
|
<!-- All tests -->
|
|
<profile>
|
|
<id>tests</id>
|
|
<properties>
|
|
<build.profile.id>tests</build.profile.id>
|
|
<skip.integration.tests>false</skip.integration.tests>
|
|
<skip.unit.tests>false</skip.unit.tests>
|
|
<jacoco.skip>false</jacoco.skip>
|
|
<checkstyle.skip>false</checkstyle.skip>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- Prod -->
|
|
<profile>
|
|
<id>prod</id>
|
|
<properties>
|
|
<build.profile.id>prod</build.profile.id>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- Native -->
|
|
<profile>
|
|
<id>native</id>
|
|
<properties>
|
|
<build.profile.id>native</build.profile.id>
|
|
<skip.integration.tests>true</skip.integration.tests>
|
|
<skip.unit.tests>true</skip.unit.tests>
|
|
<jacoco.skip>true</jacoco.skip>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.graalvm.buildtools</groupId>
|
|
<artifactId>native-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>build-native</id>
|
|
<goals>
|
|
<goal>compile-no-fork</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<!-- Dependencies -->
|
|
<dependencies>
|
|
|
|
<!-- Spring -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- OPs & Tools -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Database -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-database-postgresql</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Documentation -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>2.8.3</version>
|
|
</dependency>
|
|
|
|
<!-- Authentication -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>0.12.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>0.12.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>0.12.6</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.hibernate.orm.tooling</groupId>
|
|
<artifactId>hibernate-enhance-maven-plugin</artifactId>
|
|
<version>${hibernate.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enhance</id>
|
|
<goals>
|
|
<goal>enhance</goal>
|
|
</goals>
|
|
<configuration>
|
|
<enableLazyInitialization>true</enableLazyInitialization>
|
|
<enableDirtyTracking>true</enableDirtyTracking>
|
|
<enableAssociationManagement>true</enableAssociationManagement>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>integration-tests</id>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
<configuration>
|
|
<argLine>@{argLine} -Xmx1024m</argLine>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<skipTests>${skip.integration.tests}</skipTests>
|
|
<includes>
|
|
<include>**/*IntegrationTest.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.5.2</version>
|
|
<configuration>
|
|
<argLine>@{argLine} -Xmx1024m</argLine>
|
|
<skipTests>${skip.unit.tests}</skipTests>
|
|
<excludes>
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.12</version>
|
|
<configuration>
|
|
<skip>${jacoco.skip}</skip>
|
|
<excludes>
|
|
<exclude>**/config/**</exclude>
|
|
<exclude>**/entity/**</exclude>
|
|
<exclude>**/exception/**</exclude>
|
|
<exclude>**/filter/**</exclude>
|
|
<exclude>**/*$*Builder*</exclude>
|
|
<exclude>**/RestExceptionEndpoint.*</exclude>
|
|
<exclude>**/JavaApiApiApplication.*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>pre-unit-test</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
<configuration>
|
|
<destFile>${jacoco.output.data}/jacoco-ut.exec</destFile>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>post-unit-test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dataFile>${jacoco.output.data}/jacoco-ut.exec</dataFile>
|
|
<outputDirectory>${jacoco.output.data}/jacoco-ut</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>pre-integration-test</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>prepare-agent-integration</goal>
|
|
</goals>
|
|
<configuration>
|
|
<destFile>${jacoco.output.data}/jacoco-it.exec</destFile>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>post-integration-test</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>report-integration</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dataFile>${jacoco.output.data}/jacoco-it.exec</dataFile>
|
|
<outputDirectory>${jacoco.output.data}/jacoco-it</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>merge-unit-and-integration</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>merge</goal>
|
|
</goals>
|
|
<configuration>
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>${jacoco.output.data}</directory>
|
|
<includes>
|
|
<include>*.exec</include>
|
|
</includes>
|
|
</fileSet>
|
|
</fileSets>
|
|
<destFile>${project.build.directory}/jacoco.exec</destFile>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>merged-reports</id>
|
|
<phase>post-integration-test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
|
|
<outputDirectory>${jacoco.output.data}/merged-test-report</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>coverage-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<element>BUNDLE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>LINE</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>45%</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.11.2</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<doctitle>Javadoc Documentation for ${project.name} ${project.version}</doctitle>
|
|
<windowtitle>${project.name} ${project.version}</windowtitle>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-cli</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<dependencyConvergence/>
|
|
<requireMavenVersion>
|
|
<version>[3.2,)</version>
|
|
<message>Invalid Maven version. It should be at least 3.2</message>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>17</version>
|
|
<message>Invalid Java Version. It should be at least 1.8</message>
|
|
</requireJavaVersion>
|
|
<requireNoRepositories>
|
|
<allowedRepositories>
|
|
<id>central</id>
|
|
</allowedRepositories>
|
|
<allowedPluginRepositories>
|
|
<id>central</id>
|
|
</allowedPluginRepositories>
|
|
</requireNoRepositories>
|
|
<requireReleaseDeps>
|
|
<message>No Snapshots Allowed in releases!</message>
|
|
<onlyWhenRelease>true</onlyWhenRelease>
|
|
</requireReleaseDeps>
|
|
<banDuplicatePomDependencyVersions/>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>10.21.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<skip>${checkstyle.skip}</skip>
|
|
<failsOnError>${checkstyle.failsOnError}</failsOnError>
|
|
<includeTestSourceDirectory>
|
|
${checkstyle.includeTestSourceDirectory}
|
|
</includeTestSourceDirectory>
|
|
<configLocation>.mvn/google_checks.xml</configLocation>
|
|
<consoleOutput>true</consoleOutput>
|
|
<linkXRef>false</linkXRef>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>checkstyle</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<finalName>tasknote-api</finalName>
|
|
</build>
|
|
|
|
</project>
|