| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c8c2799 commit e9dd9fe
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,8 +11,8 @@ | |||
| 11 | 11 | See the License for the specific language governing permissions and | |
| 12 | 12 | limitations under the License. | |
| 13 | 13 | --> | |
| 14 | - <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
| 15 | - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 14 | + <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 15 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 16 | 16 | <modelVersion>4.0.0</modelVersion> | |
| 17 | 17 | <groupId>com.example.appengine.quarkus</groupId> | |
| 18 | 18 | <artifactId>quarkus-helloworld</artifactId> | |
@@ -29,8 +29,10 @@ | |||
| 29 | 29 | </parent> | |
| 30 | 30 | ||
| 31 | 31 | <properties> | |
| 32 | + <surefire-plugin.version>2.22.0</surefire-plugin.version> | ||
| 32 | 33 | <maven.compiler.target>11</maven.compiler.target> | |
| 33 | 34 | <maven.compiler.source>11</maven.compiler.source> | |
| 35 | + <quarkus.version>1.2.0.Final</quarkus.version> | ||
| 34 | 36 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 35 | 37 | </properties> | |
| 36 | 38 | ||
@@ -39,7 +41,7 @@ | |||
| 39 | 41 | <dependency> | |
| 40 | 42 | <groupId>io.quarkus</groupId> | |
| 41 | 43 | <artifactId>quarkus-bom</artifactId> | |
| 42 | - <version>1.1.1.Final</version> | ||
| 44 | + <version>${quarkus.version}</version> | ||
| 43 | 45 | <type>pom</type> | |
| 44 | 46 | <scope>import</scope> | |
| 45 | 47 | </dependency> | |
@@ -51,13 +53,10 @@ | |||
| 51 | 53 | <groupId>io.quarkus</groupId> | |
| 52 | 54 | <artifactId>quarkus-resteasy</artifactId> | |
| 53 | 55 | </dependency> | |
| 54 | - <dependency> | ||
| 55 | - <groupId>io.quarkus</groupId> | ||
| 56 | - <artifactId>quarkus-arc</artifactId> | ||
| 57 | - </dependency> | ||
| 58 | 56 | <dependency> | |
| 59 | 57 | <groupId>io.quarkus</groupId> | |
| 60 | 58 | <artifactId>quarkus-junit5</artifactId> | |
| 59 | + <scope>test</scope> | ||
| 61 | 60 | </dependency> | |
| 62 | 61 | <dependency> | |
| 63 | 62 | <groupId>io.rest-assured</groupId> | |
@@ -71,6 +70,7 @@ | |||
| 71 | 70 | <plugin> | |
| 72 | 71 | <groupId>io.quarkus</groupId> | |
| 73 | 72 | <artifactId>quarkus-maven-plugin</artifactId> | |
| 73 | + <version>${quarkus.version}</version> | ||
| 74 | 74 | <executions> | |
| 75 | 75 | <execution> | |
| 76 | 76 | <goals> | |
@@ -79,6 +79,15 @@ | |||
| 79 | 79 | </execution> | |
| 80 | 80 | </executions> | |
| 81 | 81 | </plugin> | |
| 82 | + <plugin> | ||
| 83 | + <artifactId>maven-surefire-plugin</artifactId> | ||
| 84 | + <version>${surefire-plugin.version}</version> | ||
| 85 | + <configuration> | ||
| 86 | + <systemProperties> | ||
| 87 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> | ||
| 88 | + </systemProperties> | ||
| 89 | + </configuration> | ||
| 90 | + </plugin> | ||
| 82 | 91 | <!-- Plugin needed to use `mvn appengine:deploy` command --> | |
| 83 | 92 | <plugin> | |
| 84 | 93 | <groupId>com.google.cloud.tools</groupId> | |
@@ -91,4 +100,51 @@ | |||
| 91 | 100 | </plugin> | |
| 92 | 101 | </plugins> | |
| 93 | 102 | </build> | |
| 103 | + | ||
| 104 | + <profiles> | ||
| 105 | + <profile> | ||
| 106 | + <id>native</id> | ||
| 107 | + <activation> | ||
| 108 | + <property> | ||
| 109 | + <name>native</name> | ||
| 110 | + </property> | ||
| 111 | + </activation> | ||
| 112 | + <build> | ||
| 113 | + <plugins> | ||
| 114 | + <plugin> | ||
| 115 | + <groupId>io.quarkus</groupId> | ||
| 116 | + <artifactId>quarkus-maven-plugin</artifactId> | ||
| 117 | + <version>${quarkus.version}</version> | ||
| 118 | + <executions> | ||
| 119 | + <execution> | ||
| 120 | + <goals> | ||
| 121 | + <goal>native-image</goal> | ||
| 122 | + </goals> | ||
| 123 | + <configuration> | ||
| 124 | + <enableHttpUrlHandler>true</enableHttpUrlHandler> | ||
| 125 | + </configuration> | ||
| 126 | + </execution> | ||
| 127 | + </executions> | ||
| 128 | + </plugin> | ||
| 129 | + <plugin> | ||
| 130 | + <artifactId>maven-failsafe-plugin</artifactId> | ||
| 131 | + <version>${surefire-plugin.version}</version> | ||
| 132 | + <executions> | ||
| 133 | + <execution> | ||
| 134 | + <goals> | ||
| 135 | + <goal>integration-test</goal> | ||
| 136 | + <goal>verify</goal> | ||
| 137 | + </goals> | ||
| 138 | + <configuration> | ||
| 139 | + <systemProperties> | ||
| 140 | + <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> | ||
| 141 | + </systemProperties> | ||
| 142 | + </configuration> | ||
| 143 | + </execution> | ||
| 144 | + </executions> | ||
| 145 | + </plugin> | ||
| 146 | + </plugins> | ||
| 147 | + </build> | ||
| 148 | + </profile> | ||
| 149 | + </profiles> | ||
| 94 | 150 | </project> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,4 +13,4 @@ | |||
| 13 | 13 | # limitations under the License. | |
| 14 | 14 | ||
| 15 | 15 | # Set the port to the PORT environment variable | |
| 16 | - quarkus.http.port=${PORT:8080} | ||
| 16 | + quarkus.http.port=${PORT:8080} | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments