Skip to content

Commit

Permalink
Revert "Update pom.xml"
Browse files Browse the repository at this point in the history
This reverts commit 52c250c.
  • Loading branch information
nhkhai committed May 3, 2024
1 parent 307b373 commit db778a6
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 110 deletions.
289 changes: 184 additions & 105 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,134 +1,213 @@
<?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.2.4</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>sg.com.smartinventory</groupId>
<artifactId>smart-inventory</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>smart-inventory</name>
<description>Smart Inventory System</description>
<properties>
<java.version>21</java.version>
<start-class>sg.com.smartinventory.SmartInventoryApplication</start-class>
</properties>
<artifactId>
smart-inventory
</artifactId>
<build>
<!-- </pluginManagement> -->
<!-- <pluginManagement> -->
<plugins>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin> -->
<plugin>
<!-- <configuration>
<image>
<builder>paketobuildpacks/builder-jammy-base:latest</builder>
</image>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration> -->
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<layout>
JAR
</layout>
<mainClass>
sg.com.smartinventory.SmartInventoryApplication
</mainClass>
</configuration>
<groupId>
org.springframework.boot
</groupId>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Spring Boot Migration Tool. -->
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-properties-migrator</artifactId>
<scope>runtime</scope>
</dependency> -->
<!-- Comment out when not using. -->
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency> -->
<!-- <dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency> -->
<!-- <dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.2</version>
</dependency> -->
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
<artifactId>
assertj-core
</artifactId>
<groupId>
org.assertj
</groupId>
<scope>
test
</scope>
<version>
3.25.3
</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<artifactId>
junit-jupiter-api
</artifactId>
<groupId>
org.junit.jupiter
</groupId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<artifactId>
lombok
</artifactId>
<groupId>
org.projectlombok
</groupId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<artifactId>
maven-surefire-plugin
</artifactId>
<groupId>
org.apache.maven.plugins
</groupId>
<version>
3.2.5
</version>
</dependency>
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<artifactId>
postgresql
</artifactId>
<groupId>
org.postgresql
</groupId>
</dependency>
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency> -->
<!-- <dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency> -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<artifactId>
spring-boot-devtools
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<optional>
true
</optional>
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
<groupId>
org.springframework.boot
</groupId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
<artifactId>
spring-boot-starter-test
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<artifactId>
spring-boot-starter-validation
</artifactId>
<groupId>
org.springframework.boot
</groupId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.5.0</version>
<artifactId>
spring-boot-starter-web
</artifactId>
<groupId>
org.springframework.boot
</groupId>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.25.3</version>
<scope>test</scope>
<artifactId>
springdoc-openapi-starter-webmvc-ui
</artifactId>
<groupId>
org.springdoc
</groupId>
<version>
2.5.0
</version>
</dependency>
<!-- <dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency> -->
<!-- <dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.2</version>
</dependency> -->
</dependencies>
<build>
<!-- <pluginManagement> -->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>sg.com.smartinventory.SmartInventoryApplication</mainClass>
<layout>JAR</layout>
</configuration>
<!-- <configuration>
<image>
<builder>paketobuildpacks/builder-jammy-base:latest</builder>
</image>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration> -->
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin> -->
</plugins>
<!-- </pluginManagement> -->
</build>
<description>
Smart Inventory System
</description>
<groupId>
sg.com.smartinventory
</groupId>
<modelVersion>
4.0.0
</modelVersion>
<name>
smart-inventory
</name>
<parent>
<!-- lookup parent from repository -->
<artifactId>
spring-boot-starter-parent
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<relativePath/>
<version>
3.2.4
</version>
</parent>
<properties>
<java.version>
21
</java.version>
<start-class>
sg.com.smartinventory.SmartInventoryApplication
</start-class>
</properties>
<version>
0.0.1-SNAPSHOT
</version>
</project>
5 changes: 0 additions & 5 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ springdoc.swagger-ui.path=/swagger-ui.html
# https://medium.com/code-with-farhan/spring-security-jwt-authentication-authorization-a2c6860be3cf
# jwt.session.period=60000

# Enable Actuator Endpoints.
# management.endpoints.web.exposure.include= "*"
# management.endpoints.web.exposure.include=health
# management.endpoint.health.show-details=always

# Profile management.
# Spring Boot will always read the application.properties file.
# Other's profile files, such as application-development.properties only will complement and replace the properties defined before.
Expand Down

0 comments on commit db778a6

Please sign in to comment.