java-algo-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.hkube</groupId>
<artifactId>java-algo-parent</artifactId>
<version>v2.3.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>io.hkube</groupId>
<artifactId>java-algo-parent</artifactId>
<version>v2.3.1</version>
<packaging>pom</packaging>
<name>Hkube Java Algorithm parent pom</name>
<description>Pom to be used as parent of any java written algorithm maven project pom</description>
<url>hkube.io</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Golan Hallel</name>
<email>golanlia@gmail.com</email>
<organization>hkube</organization>
<organizationUrl>https://github.com/kube-HPC</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/kube-HPC/java-wrapper.hkube.git</connection>
<developerConnection>scm:git:ssh://github.com:kube-HPC/java-wrapper.hkube.git</developerConnection>
<url>https://github.com/kube-HPC/java-wrapper.hkube/tree/master</url>
</scm>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<revision>2.0-SNAPSHOT</revision>
</properties>
<dependencies>
<dependency>
<groupId>io.hkube</groupId>
<artifactId>interfaces</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.hkube</groupId>
<artifactId>algorithm-deployment-descriptor</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>Algorithm</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<finalName>encapsulated-algorithm</finalName>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>with-dependencies</shadedClassifierName>
<outputDirectory>${session.executionRootDirectory}</outputDirectory>
<minimizeJar>false</minimizeJar>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/LICENSE</exclude>
<exclude>LICENSE</exclude>
<exclude>/*.png</exclude>
<exclude>/*.html</exclude>
<exclude>/*.jpeg</exclude>
</excludes>
</filter>
<filter>
<artifact>com.myproject.auto:*</artifact>
<excludes>
<exclude>com/myproject/auto/**</exclude>
</excludes>
</filter>
<filter>
<artifact>org:*</artifact>
<excludes>
<exclude>org/**</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.common:**</artifact>
<excludes>
<exclude>com/google/common/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>