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> |
Matthias Andreas Benkard | 0754057 | 2021-02-27 07:11:36 +0100 | [diff] [blame^] | 76 | <dependency> |
| 77 | <groupId>org.jetbrains</groupId> |
| 78 | <artifactId>annotations</artifactId> |
| 79 | <version>RELEASE</version> |
| 80 | <scope>compile</scope> |
| 81 | </dependency> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 82 | </dependencies> |
| 83 | |
| 84 | <build> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>io.quarkus</groupId> |
| 88 | <artifactId>quarkus-maven-plugin</artifactId> |
| 89 | <version>${quarkus-plugin.version}</version> |
| 90 | <extensions>true</extensions> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <goals> |
| 94 | <goal>build</goal> |
| 95 | <goal>generate-code</goal> |
| 96 | <goal>generate-code-tests</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | |
| 102 | <plugin> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 103 | <artifactId>maven-surefire-plugin</artifactId> |
| 104 | <version>${surefire-plugin.version}</version> |
| 105 | <configuration> |
| 106 | <systemPropertyVariables> |
| 107 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 108 | <maven.home>${maven.home}</maven.home> |
| 109 | </systemPropertyVariables> |
| 110 | </configuration> |
| 111 | </plugin> |
Matthias Andreas Benkard | 0754057 | 2021-02-27 07:11:36 +0100 | [diff] [blame^] | 112 | |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame] | 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId>maven-compiler-plugin</artifactId> |
Matthias Andreas Benkard | 0754057 | 2021-02-27 07:11:36 +0100 | [diff] [blame^] | 116 | <version>${compiler-plugin.version}</version> |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame] | 117 | <configuration> |
| 118 | <source>15</source> |
| 119 | <target>15</target> |
| 120 | </configuration> |
| 121 | </plugin> |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 122 | </plugins> |
| 123 | </build> |
| 124 | |
| 125 | <profiles> |
| 126 | <profile> |
| 127 | <id>native</id> |
| 128 | <activation> |
| 129 | <property> |
| 130 | <name>native</name> |
| 131 | </property> |
| 132 | </activation> |
| 133 | <build> |
| 134 | <plugins> |
| 135 | <plugin> |
| 136 | <artifactId>maven-failsafe-plugin</artifactId> |
| 137 | <version>${surefire-plugin.version}</version> |
| 138 | <executions> |
| 139 | <execution> |
| 140 | <goals> |
| 141 | <goal>integration-test</goal> |
| 142 | <goal>verify</goal> |
| 143 | </goals> |
| 144 | <configuration> |
| 145 | <systemPropertyVariables> |
| 146 | <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
| 147 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 148 | <maven.home>${maven.home}</maven.home> |
| 149 | </systemPropertyVariables> |
| 150 | </configuration> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | </plugin> |
| 154 | </plugins> |
| 155 | </build> |
| 156 | <properties> |
| 157 | <quarkus.package.type>native</quarkus.package.type> |
| 158 | </properties> |
| 159 | </profile> |
| 160 | </profiles> |
| 161 | </project> |