Skip to content

Commit

Permalink
new maven based build
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t committed Nov 11, 2024
1 parent 0a45354 commit d451764
Showing 1 changed file with 27 additions and 35 deletions.
62 changes: 27 additions & 35 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<lombok.version>1.18.34</lombok.version>
<mockito.version>5.11.0</mockito.version>
<delombok.output>${project.build.directory}/generated-sources/delombok</delombok.output>
<testcontainer.version>1.20.3</testcontainer.version>
</properties>

<dependencyManagement>
Expand All @@ -74,16 +75,7 @@
<artifactId>jakarta.persistence-api</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${springboot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
<version>${springboot.version}</version>
</dependency>

<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
Expand All @@ -95,15 +87,29 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<!-- <type>pom</type>-->
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${springboot.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
<version>${springboot.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockito.version}</version>
<scope>import</scope>
<!-- <type>pom</type>-->
<type>pom</type>
</dependency>


Expand Down Expand Up @@ -134,6 +140,14 @@
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.20.3</version>
<scope>import</scope>
<type>pom</type>
</dependency>

<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
Expand All @@ -145,13 +159,6 @@
<artifactId>postgresql</artifactId>
<version>42.7.4</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.20.3</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-testcontainers</artifactId>
Expand Down Expand Up @@ -276,24 +283,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${springboot.version}</version>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>central</id>
<name>Sonartype Central</name>
<url>https://central.sonatype.com/api/v1/</url>
</repository>
</repositories>

<profiles>
<profile>
<id>RELEASE_BUILD</id>
<distributionManagement>

</distributionManagement>
</profile>
</profiles>
</project>

0 comments on commit d451764

Please sign in to comment.