180 lines
5.2 KiB
XML
180 lines
5.2 KiB
XML
<?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.1edtech</groupId>
|
|
<artifactId>vc-public-validator</artifactId>
|
|
<version>1.0.1</version>
|
|
</parent>
|
|
<artifactId>inspector-vc-web</artifactId>
|
|
<properties>
|
|
<mainClass>org.oneedtech.inspect.vc.web.ValidatorApplication</mainClass>
|
|
<spring-boot-starter-parent.version>2.6.7</spring-boot-starter-parent.version>
|
|
<spring-boot-maven-plugin.version>2.6.7</spring-boot-maven-plugin.version>
|
|
<imageName>gcr.io/staging-1edtech/ims/inspector-vc-public</imageName>
|
|
</properties>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>docker</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>0.40.2</version>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<name>${imageName}</name>
|
|
<build>
|
|
<dockerFile>${project.basedir}/Dockerfile</dockerFile>
|
|
<tags>
|
|
<tag>${project.version}</tag>
|
|
</tags>
|
|
<buildx>
|
|
<platforms>
|
|
<platform>linux/amd64</platform>
|
|
<platform>linux/arm64</platform>
|
|
<platform>windows/amd64</platform>
|
|
</platforms>
|
|
</buildx>
|
|
</build>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>build-docker.image</id>
|
|
<goals>
|
|
<goal>build</goal>
|
|
<goal>tag</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>push-docker-image</id>
|
|
<goals>
|
|
<goal>push</goal>
|
|
</goals>
|
|
<phase>install</phase>
|
|
<configuration>
|
|
<pushRegistry>gcr.io</pushRegistry>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.1edtech</groupId>
|
|
<artifactId>inspector-web-public</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.1edtech</groupId>
|
|
<artifactId>inspector-vc</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-actuator -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j2 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion> <!-- 20220227 bug: TestEngine with ID 'junit-jupiter' failed to discover
|
|
tests -->
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>${spring-boot-starter-parent.version}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot-maven-plugin.version}</version>
|
|
<configuration>
|
|
<mainClass>${mainClass}</mainClass>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|