|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| 4 | + http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + |
| 6 | + <modelVersion>4.0.0</modelVersion> |
| 7 | + |
| 8 | + <groupId>com.example</groupId> |
| 9 | + <artifactId>employee-management-app</artifactId> |
| 10 | + <version>0.0.1-SNAPSHOT</version> |
| 11 | + <name>Employee Management Application</name> |
| 12 | + <description>Backend for Employee Management Application</description> |
| 13 | + |
| 14 | + <parent> |
| 15 | + <groupId>org.springframework.boot</groupId> |
| 16 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 17 | + <version>2.7.5</version> |
| 18 | + <relativePath/> |
| 19 | + </parent> |
| 20 | + |
| 21 | + <!-- Using Java 11 --> |
| 22 | + <properties> |
| 23 | + <java.version>11</java.version> |
| 24 | + </properties> |
| 25 | + |
| 26 | + <dependencies> |
| 27 | + <!-- Spring Boot Starter Web --> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-starter-web</artifactId> |
| 31 | + </dependency> |
| 32 | + |
| 33 | + <!-- Spring Boot Starter Data JPA --> |
| 34 | + <dependency> |
| 35 | + <groupId>org.springframework.boot</groupId> |
| 36 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 37 | + </dependency> |
| 38 | + |
| 39 | + <!-- Spring Boot Starter Data MongoDB --> |
| 40 | + <dependency> |
| 41 | + <groupId>org.springframework.boot</groupId> |
| 42 | + <artifactId>spring-boot-starter-data-mongodb</artifactId> |
| 43 | + </dependency> |
| 44 | + |
| 45 | + <!-- MySQL Connector --> |
| 46 | + <dependency> |
| 47 | + <groupId>com.mysql</groupId> |
| 48 | + <artifactId>mysql-connector-j</artifactId> |
| 49 | + <version>8.0.33</version> |
| 50 | + <scope>runtime</scope> |
| 51 | + </dependency> |
| 52 | + |
| 53 | + <!-- Lombok --> |
| 54 | + <dependency> |
| 55 | + <groupId>org.projectlombok</groupId> |
| 56 | + <artifactId>lombok</artifactId> |
| 57 | + <version>1.18.30</version> |
| 58 | + <scope>provided</scope> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <!-- Spring Boot Starter Security --> |
| 62 | + <dependency> |
| 63 | + <groupId>org.springframework.boot</groupId> |
| 64 | + <artifactId>spring-boot-starter-security</artifactId> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <!-- JWT Dependencies --> |
| 68 | + <dependency> |
| 69 | + <groupId>io.jsonwebtoken</groupId> |
| 70 | + <artifactId>jjwt</artifactId> |
| 71 | + <version>0.9.1</version> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <!-- Spring Boot Starter Test --> |
| 75 | + <dependency> |
| 76 | + <groupId>org.springframework.boot</groupId> |
| 77 | + <artifactId>spring-boot-starter-test</artifactId> |
| 78 | + <scope>test</scope> |
| 79 | + </dependency> |
| 80 | + |
| 81 | + <!-- Faker for fake data generation --> |
| 82 | + <dependency> |
| 83 | + <groupId>com.github.javafaker</groupId> |
| 84 | + <artifactId>javafaker</artifactId> |
| 85 | + <version>1.0.2</version> |
| 86 | + </dependency> |
| 87 | + |
| 88 | + <!-- Springdoc OpenAPI UI --> |
| 89 | + <dependency> |
| 90 | + <groupId>org.springdoc</groupId> |
| 91 | + <artifactId>springdoc-openapi-ui</artifactId> |
| 92 | + <version>1.7.0</version> |
| 93 | + </dependency> |
| 94 | + |
| 95 | + <!-- Spring Boot DevTools --> |
| 96 | + <dependency> |
| 97 | + <groupId>org.springframework.boot</groupId> |
| 98 | + <artifactId>spring-boot-devtools</artifactId> |
| 99 | + <optional>true</optional> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <!-- MongoDB Driver --> |
| 103 | + <dependency> |
| 104 | + <groupId>org.mongodb</groupId> |
| 105 | + <artifactId>mongodb-driver-sync</artifactId> |
| 106 | + </dependency> |
| 107 | + |
| 108 | + <!-- Password Encoder (BCrypt) --> |
| 109 | + <dependency> |
| 110 | + <groupId>org.springframework.security</groupId> |
| 111 | + <artifactId>spring-security-crypto</artifactId> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <!-- H2 Database for testing --> |
| 115 | + <dependency> |
| 116 | + <groupId>com.h2database</groupId> |
| 117 | + <artifactId>h2</artifactId> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + </dependencies> |
| 121 | + |
| 122 | + <build> |
| 123 | + <plugins> |
| 124 | + <!-- Plugin: Spring Boot Maven Plugin --> |
| 125 | + <plugin> |
| 126 | + <groupId>org.springframework.boot</groupId> |
| 127 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 128 | + </plugin> |
| 129 | + |
| 130 | + <!-- Plugin: Maven Compiler Plugin --> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-compiler-plugin</artifactId> |
| 134 | + <version>3.10.1</version> |
| 135 | + <configuration> |
| 136 | + <source>11</source> |
| 137 | + <target>11</target> |
| 138 | + <fork>true</fork> |
| 139 | + <compilerArgs> |
| 140 | + <arg>-parameters</arg> |
| 141 | + </compilerArgs> |
| 142 | + </configuration> |
| 143 | + </plugin> |
| 144 | + </plugins> |
| 145 | + </build> |
| 146 | + |
| 147 | + <distributionManagement> |
| 148 | + <repository> |
| 149 | + <id>github</id> |
| 150 | + <name>GitHub Packages</name> |
| 151 | + <url>https://maven.pkg.github.com/hoangsonww/Employee-Management-Fullstack-App</url> |
| 152 | + </repository> |
| 153 | + </distributionManagement> |
| 154 | +</project> |
0 commit comments