pom.xml (2888B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <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"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>xyz.kebigon</groupId> 5 <artifactId>secure-files</artifactId> 6 <version>0.1.1</version> 7 8 <parent> 9 <groupId>org.springframework.boot</groupId> 10 <artifactId>spring-boot-starter-parent</artifactId> 11 <version>2.7.5</version> 12 <relativePath /> <!-- lookup parent from repository --> 13 </parent> 14 15 <name>Secure files</name> 16 <description>Demo project for Spring Boot</description> 17 18 <properties> 19 <java.version>8</java.version> 20 </properties> 21 22 <dependencies> 23 <dependency> 24 <groupId>org.springframework.boot</groupId> 25 <artifactId>spring-boot-starter</artifactId> 26 </dependency> 27 28 <dependency> 29 <groupId>org.springframework.boot</groupId> 30 <artifactId>spring-boot-starter-jdbc</artifactId> 31 </dependency> 32 <dependency> 33 <groupId>org.springframework.boot</groupId> 34 <artifactId>spring-boot-starter-mustache</artifactId> 35 </dependency> 36 <dependency> 37 <groupId>org.springframework.boot</groupId> 38 <artifactId>spring-boot-starter-security</artifactId> 39 </dependency> 40 <dependency> 41 <groupId>org.springframework.boot</groupId> 42 <artifactId>spring-boot-starter-web</artifactId> 43 </dependency> 44 45 <!-- SQLite JDBC --> 46 <dependency> 47 <groupId>org.xerial</groupId> 48 <artifactId>sqlite-jdbc</artifactId> 49 </dependency> 50 <!-- Flyway Core --> 51 <dependency> 52 <groupId>org.flywaydb</groupId> 53 <artifactId>flyway-core</artifactId> 54 </dependency> 55 56 57 <!-- Project Lombok --> 58 <dependency> 59 <groupId>org.projectlombok</groupId> 60 <artifactId>lombok</artifactId> 61 <scope>provided</scope> 62 </dependency> 63 64 <dependency> 65 <groupId>org.springframework.boot</groupId> 66 <artifactId>spring-boot-starter-test</artifactId> 67 <scope>test</scope> 68 </dependency> 69 </dependencies> 70 71 <build> 72 <plugins> 73 <plugin> 74 <groupId>org.apache.maven.plugins</groupId> 75 <artifactId>maven-surefire-plugin</artifactId> 76 <configuration> 77 <useSystemClassLoader>false</useSystemClassLoader> 78 <additionalClasspathElements> 79 <additionalClasspathElement>src/main/packaged-resources/cfg</additionalClasspathElement> 80 </additionalClasspathElements> 81 </configuration> 82 </plugin> 83 84 <plugin> 85 <artifactId>maven-assembly-plugin</artifactId> 86 <configuration> 87 <descriptors> 88 <descriptor>src/assembly/assembly.xml</descriptor> 89 </descriptors> 90 <appendAssemblyId>false</appendAssemblyId> 91 </configuration> 92 <executions> 93 <execution> 94 <id>make-assembly</id> 95 <phase>package</phase> 96 <goals> 97 <goal>single</goal> 98 </goals> 99 </execution> 100 </executions> 101 </plugin> 102 </plugins> 103 </build> 104 105 </project>