@ -14,7 +14,9 @@
@@ -14,7 +14,9 @@
the License.
-->
<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 http://maven.apache.org/maven-v4_0_0.xsd" >
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion > 4.0.0</modelVersion>
<parent >
@ -23,15 +25,13 @@
@@ -23,15 +25,13 @@
<version > 12.4-SNAPSHOT</version>
</parent>
<groupId > io.github.openfeign</groupId>
<artifactId > feign-example-wikipedia-with-springboot</artifactId>
<packaging > jar</packaging>
<name > Wikipedia Example</name>
<name > Wikipedia Example with Spring Boot </name>
<properties >
<main.basedir > ${project.basedir}/..</main.basedir>
<main.java.version > 17</main.java.version>
<moditect.skip > true</moditect.skip>
</properties>
@ -68,53 +68,63 @@
@@ -68,53 +68,63 @@
</dependency>
</dependencies>
<build >
<defaultGoal > package</defaultGoal>
<plugins >
<plugin >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-maven-plugin</artifactId>
<configuration >
<mainClass > example.wikipedia.WikipediaApplication</mainClass>
<layout > ZIP</layout>
</configuration>
<executions >
<execution >
<goals >
<goal > repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<profiles >
<profile >
<id > active-on-jdk17</id>
<activation >
<jdk > 17</jdk>
</activation>
<build >
<defaultGoal > package</defaultGoal>
<plugins >
<plugin >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-maven-plugin</artifactId>
<configuration >
<mainClass > example.wikipedia.WikipediaApplication</mainClass>
<layout > ZIP</layout>
</configuration>
<executions >
<execution >
<goals >
<goal > repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.skife.maven</groupId>
<artifactId > really-executable-jar-maven-plugin</artifactId>
<version > 2.1.1</version>
<configuration >
<programFile > wikipedia</programFile>
</configuration>
<executions >
<execution >
<phase > package</phase>
<goals >
<goal > really-executable-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-failsafe-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > integration-test</goal>
<goal > verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<plugin >
<groupId > org.skife.maven</groupId>
<artifactId > really-executable-jar-maven-plugin</artifactId>
<version > 2.1.1</version>
<configuration >
<programFile > wikipedia</programFile>
</configuration>
<executions >
<execution >
<phase > package</phase>
<goals >
<goal > really-executable-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-failsafe-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > integration-test</goal>
<goal > verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>