123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.4.4</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>io.agilehandy</groupId>
- <artifactId>blog-spring-cloud-gateway</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>blog-spring-cloud-gateway</name>
- <description>Blog Spring Cloud Gateway :: Parent</description>
- <properties>
- <java.version>11</java.version>
- <spring-cloud.version>2020.0.2</spring-cloud.version>
- <asciidoctor.maven.plugin.version>2.1.0</asciidoctor.maven.plugin.version>
- <spring-asciidoctor-backends.version>0.0.1-M1</spring-asciidoctor-backends.version>
- <builder>docker.io/paketobuildpacks/builder:base</builder>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration> <!-- build container image -->
- <image>
- <builder>${builder}</builder>
- <publish>true</publish>
- <name>localhost:5000/${project.artifactId}</name>
- </image>
- <docker>
- <publishRegistry>
- <username>registryIsNoSecured</username> <!-- registry is not secured, I put any thing for the plugin to work -->
- <password>registryIsNoSecured</password> <!-- registry is not secured, I put any thing for the plugin to work -->
- <url>http://localhost:5000</url> <!-- local registry on Kind -->
- <email>fake@somewhere.com</email> <!-- no needed for my local registry, I put any thing for the plugin to work -->
- </publishRegistry>
- </docker>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- formatting -->
- <plugin>
- <groupId>io.spring.javaformat</groupId>
- <artifactId>spring-javaformat-maven-plugin</artifactId>
- <version>0.0.27</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <inherited>true</inherited>
- <goals>
- <goal>validate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <repositories>
- <repository>
- <id>spring-milestones</id>
- <name>Spring Milestones</name>
- <url>https://repo.spring.io/milestone</url>
- </repository>
- <repository>
- <id>spring-snapshots</id>
- <name>Spring Snapshots</name>
- <url>https://repo.spring.io/snapshot</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>spring-milestones</id>
- <name>Spring Milestones</name>
- <url>https://repo.spring.io/milestone</url>
- </pluginRepository>
- <pluginRepository>
- <id>spring-snapshots</id>
- <name>Spring Snapshots</name>
- <url>https://repo.spring.io/snapshot</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- <modules>
- <module>backend-service</module>
- <module>frontend-service</module>
- <module>gateway</module>
- <module>documentation</module>
- </modules>
- </project>
|