| <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> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>integration-test-kubernetes-api-java</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <name>${project.artifactId}</name> |
| <description>Pekko Cluster Bootstrap Integration Test: Kubernetes API</description> |
| <inceptionYear>2022</inceptionYear> |
| <licenses> |
| <license> |
| <name>Apache2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <properties> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <encoding>UTF-8</encoding> |
| <pekko.version>1.2.1</pekko.version> |
| <pekko.http.version>1.2.0</pekko.http.version> |
| <pekko-management.version>0.0.0</pekko-management.version> <!-- set by build --> |
| <scala.binary.version>2.13</scala.binary.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-stream_${scala.binary.version}</artifactId> |
| <version>${pekko.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-cluster_${scala.binary.version}</artifactId> |
| <version>${pekko.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-slf4j_${scala.binary.version}</artifactId> |
| <version>${pekko.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.5.32</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-management-cluster-bootstrap_${scala.binary.version}</artifactId> |
| <version>${pekko-management.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-discovery-kubernetes-api_${scala.binary.version}</artifactId> |
| <version>${pekko-management.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-http-core_${scala.binary.version}</artifactId> |
| <version>${pekko.http.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-http_${scala.binary.version}</artifactId> |
| <version>${pekko.http.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pekko</groupId> |
| <artifactId>pekko-http-spray-json_${scala.binary.version}</artifactId> |
| <version>${pekko.http.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.6.0</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>allinone</shadedClassifierName> |
| <artifactSet> |
| <includes> |
| <include>*:*</include> |
| </includes> |
| </artifactSet> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
| <resource>reference.conf</resource> |
| </transformer> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Main-Class>org.apache.pekko.cluster.bootstrap.demo.DemoApp</Main-Class> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- see http://davidb.github.com/scala-maven-plugin --> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>4.9.5</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <goal>testCompile</goal> |
| </goals> |
| <configuration> |
| <args> |
| <arg>-dependencyfile</arg> |
| <arg>${project.build.directory}/.scala_dependencies</arg> |
| </args> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.46.0</version> |
| <configuration> |
| <images> |
| <image> |
| <name>integration-test-kubernetes-api:1.3.3.7</name> |
| <build> |
| <from>eclipse-temurin:17-jre-alpine</from> |
| <ports> |
| <port>8080</port> |
| <port>7626</port> |
| <port>7355</port> |
| </ports> |
| <entryPoint> |
| <exec> |
| <args>/bin/sh</args> |
| <args>-c</args> |
| <args>java -jar /maven/integration-test-kubernetes-api-java-allinone.jar</args> |
| </exec> |
| </entryPoint> |
| <assembly> |
| <inline> |
| <dependencySets> |
| <dependencySet> |
| <useProjectAttachments>true</useProjectAttachments> |
| <includes> |
| <include>org.apache.pekko:integration-test-kubernetes-api-java:jar:allinone</include> |
| </includes> |
| <outputFileNameMapping>integration-test-kubernetes-api-java-allinone.jar</outputFileNameMapping> |
| </dependencySet> |
| </dependencySets> |
| </inline> |
| </assembly> |
| </build> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |