2017-08-27 06:14:26 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-04-26 08:37:47 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>core-java-concurrency</artifactId>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>core-java-concurrency</name>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2018-05-05 16:30:00 -04:00
|
|
|
<artifactId>parent-java</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-java</relativePath>
|
2018-04-26 08:37:47 -04:00
|
|
|
</parent>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
|
|
|
<version>${commons-collections4.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-math3</artifactId>
|
|
|
|
<version>${commons-math3.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.awaitility</groupId>
|
|
|
|
<artifactId>awaitility</artifactId>
|
|
|
|
<version>${avaitility.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<build>
|
|
|
|
<finalName>core-java-concurrency</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/libs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>libs/</classpathPrefix>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archiveBaseDirectory>${project.basedir}</archiveBaseDirectory>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<transformers>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.jolira</groupId>
|
|
|
|
<artifactId>onejar-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
<attachToBuild>true</attachToBuild>
|
|
|
|
<filename>${project.build.finalName}-onejar.${project.packaging}</filename>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>one-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>spring-boot</classifier>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<properties>
|
|
|
|
<!-- util -->
|
|
|
|
<guava.version>21.0</guava.version>
|
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
|
|
<commons-math3.version>3.6.1</commons-math3.version>
|
|
|
|
<commons-io.version>2.5</commons-io.version>
|
|
|
|
<commons-collections4.version>4.1</commons-collections4.version>
|
|
|
|
<collections-generic.version>4.01</collections-generic.version>
|
|
|
|
<!-- testing -->
|
|
|
|
<assertj.version>3.6.1</assertj.version>
|
|
|
|
<avaitility.version>1.7.0</avaitility.version>
|
|
|
|
</properties>
|
2017-08-27 06:14:26 -04:00
|
|
|
|
|
|
|
</project>
|