Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <groupId>eu.mulk.demos</groupId> |
| 6 | <artifactId>blog</artifactId> |
| 7 | <version>1.0.0-SNAPSHOT</version> |
| 8 | <properties> |
| 9 | <compiler-plugin.version>3.8.1</compiler-plugin.version> |
| 10 | <maven.compiler.parameters>true</maven.compiler.parameters> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 11 | <maven.compiler.source>15</maven.compiler.source> |
| 12 | <maven.compiler.target>15</maven.compiler.target> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 15 | <quarkus-plugin.version>1.12.0.Final</quarkus-plugin.version> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 16 | <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> |
| 17 | <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 18 | <quarkus.platform.version>1.12.0.Final</quarkus.platform.version> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 19 | <surefire-plugin.version>3.0.0-M5</surefire-plugin.version> |
| 20 | <hibernate-types.version>2.10.2</hibernate-types.version> |
| 21 | </properties> |
| 22 | |
| 23 | <dependencyManagement> |
| 24 | <dependencies> |
| 25 | <dependency> |
| 26 | <groupId>${quarkus.platform.group-id}</groupId> |
| 27 | <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| 28 | <version>${quarkus.platform.version}</version> |
| 29 | <type>pom</type> |
| 30 | <scope>import</scope> |
| 31 | </dependency> |
| 32 | |
| 33 | <dependency> |
| 34 | <groupId>com.vladmihalcea</groupId> |
| 35 | <artifactId>hibernate-types-52</artifactId> |
| 36 | <version>${hibernate-types.version}</version> |
| 37 | </dependency> |
| 38 | </dependencies> |
| 39 | </dependencyManagement> |
| 40 | |
| 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 44 | <artifactId>quarkus-resteasy-jsonb</artifactId> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>io.quarkus</groupId> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 48 | <artifactId>quarkus-resteasy</artifactId> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>io.quarkus</groupId> |
| 52 | <artifactId>quarkus-hibernate-orm-panache</artifactId> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>io.quarkus</groupId> |
| 56 | <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>io.quarkus</groupId> |
| 60 | <artifactId>quarkus-arc</artifactId> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>com.vladmihalcea</groupId> |
| 64 | <artifactId>hibernate-types-52</artifactId> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>io.quarkus</groupId> |
| 68 | <artifactId>quarkus-junit5</artifactId> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>io.rest-assured</groupId> |
| 73 | <artifactId>rest-assured</artifactId> |
| 74 | <scope>test</scope> |
| 75 | </dependency> |
| 76 | </dependencies> |
| 77 | |
| 78 | <build> |
| 79 | <plugins> |
| 80 | <plugin> |
| 81 | <groupId>io.quarkus</groupId> |
| 82 | <artifactId>quarkus-maven-plugin</artifactId> |
| 83 | <version>${quarkus-plugin.version}</version> |
| 84 | <extensions>true</extensions> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <goals> |
| 88 | <goal>build</goal> |
| 89 | <goal>generate-code</goal> |
| 90 | <goal>generate-code-tests</goal> |
| 91 | </goals> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | </plugin> |
| 95 | |
| 96 | <plugin> |
| 97 | <artifactId>maven-compiler-plugin</artifactId> |
| 98 | <version>${compiler-plugin.version}</version> |
| 99 | </plugin> |
| 100 | |
| 101 | <plugin> |
| 102 | <artifactId>maven-surefire-plugin</artifactId> |
| 103 | <version>${surefire-plugin.version}</version> |
| 104 | <configuration> |
| 105 | <systemPropertyVariables> |
| 106 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 107 | <maven.home>${maven.home}</maven.home> |
| 108 | </systemPropertyVariables> |
| 109 | </configuration> |
| 110 | </plugin> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame^] | 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-compiler-plugin</artifactId> |
| 114 | <configuration> |
| 115 | <source>15</source> |
| 116 | <target>15</target> |
| 117 | </configuration> |
| 118 | </plugin> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 119 | </plugins> |
| 120 | </build> |
| 121 | |
| 122 | <profiles> |
| 123 | <profile> |
| 124 | <id>native</id> |
| 125 | <activation> |
| 126 | <property> |
| 127 | <name>native</name> |
| 128 | </property> |
| 129 | </activation> |
| 130 | <build> |
| 131 | <plugins> |
| 132 | <plugin> |
| 133 | <artifactId>maven-failsafe-plugin</artifactId> |
| 134 | <version>${surefire-plugin.version}</version> |
| 135 | <executions> |
| 136 | <execution> |
| 137 | <goals> |
| 138 | <goal>integration-test</goal> |
| 139 | <goal>verify</goal> |
| 140 | </goals> |
| 141 | <configuration> |
| 142 | <systemPropertyVariables> |
| 143 | <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
| 144 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 145 | <maven.home>${maven.home}</maven.home> |
| 146 | </systemPropertyVariables> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | </plugins> |
| 152 | </build> |
| 153 | <properties> |
| 154 | <quarkus.package.type>native</quarkus.package.type> |
| 155 | </properties> |
| 156 | </profile> |
| 157 | </profiles> |
| 158 | </project> |