| <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"> |
| <!-- Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with this |
| work for additional information regarding copyright ownership. The ASF licenses |
| this file to you under the Apache License, Version 2.0 (the "License"); you |
| may not use this file except in compliance with the License. You may obtain |
| a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless |
| required by applicable law or agreed to in writing, software distributed |
| under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| the specific language governing permissions and limitations under the License. --> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.submarine</groupId> |
| <artifactId>submarine-server-submitter</artifactId> |
| <version>0.8.0-RC0</version> |
| </parent> |
| |
| <artifactId>submarine-k8s-agent</artifactId> |
| <name>Submarine: K8S Agent</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.javaoperatorsdk</groupId> |
| <artifactId>operator-framework</artifactId> |
| <version>4.3.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>io.fabric8</groupId> |
| <artifactId>kubernetes-server-mock</artifactId> |
| <version>${k8s.fabric8.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson-databind.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.submarine</groupId> |
| <artifactId>submarine-server-database</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.takes</groupId> |
| <artifactId>takes</artifactId> |
| <version>1.24.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>${mysql-connector-java.version}</version> |
| <!-- mysql-connector-java uses the GPL license. When we release the version in Submarine-dist, we exclude mysql-connector-java jar --> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.reflections</groupId> |
| <artifactId>reflections</artifactId> |
| <version>0.10.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.submarine</groupId> |
| <artifactId>submarine-k8s-utils</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Unit Tests --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>${h2-connector-java.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>${plugin.shade.version}</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Main-Class>org.apache.submarine.server.k8s.agent.SubmarineAgentListener</Main-Class> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| <filters> |
| <filter> |
| <artifact>io.fabric8:openshift-client</artifact> |
| <excludes> |
| <exclude>io/fabric8/kubernetes/client/Config*</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |