github.com/kubeshop/testkube@v1.17.23/contrib/executor/maven/examples/hello-maven-settings/pom.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <project xmlns="http://maven.apache.org/POM/4.0.0"
     3           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     4           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
     5           http://maven.apache.org/xsd/maven-4.0.0.xsd">
     6      <modelVersion>4.0.0</modelVersion>
     7  
     8      <groupId>hello.maven</groupId>
     9      <artifactId>hello-maven</artifactId>
    10      <version>1.0</version>
    11  
    12      <properties>
    13          <java.version>${java-version}</java.version>
    14          <junit-jupiter.version>${junit-jupiter-version}</junit-jupiter.version>
    15          <project.build.sourceEncoding>${source-encoding}</project.build.sourceEncoding>
    16      </properties>
    17  
    18      <dependencies>
    19  
    20          <!-- junit 5 -->
    21          <dependency>
    22              <groupId>org.junit.jupiter</groupId>
    23              <artifactId>junit-jupiter-engine</artifactId>
    24              <version>${junit-jupiter.version}</version>
    25              <scope>test</scope>
    26          </dependency>
    27  
    28      </dependencies>
    29  
    30      <build>
    31          <plugins>
    32  
    33              <!-- Need at least 2.22.0 to support JUnit 5 -->
    34              <plugin>
    35                  <groupId>org.apache.maven.plugins</groupId>
    36                  <artifactId>maven-surefire-plugin</artifactId>
    37                  <version>3.0.0-M5</version>
    38              </plugin>
    39  
    40              <plugin>
    41                  <groupId>org.apache.maven.plugins</groupId>
    42                  <artifactId>maven-compiler-plugin</artifactId>
    43                  <version>3.8.1</version>
    44                  <configuration>
    45                      <source>11</source>
    46                      <target>11</target>
    47                  </configuration>
    48              </plugin>
    49  
    50          </plugins>
    51      </build>
    52  
    53  </project>