2016-10-17 04:10:12 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-07-20 19:28:01 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-04-26 08:37:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>core-java</artifactId>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>core-java</name>
|
2017-12-19 01:37:35 -05: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>
|
2018-06-26 02:48:41 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-java</relativePath>
|
2018-04-26 08:37:47 -04:00
|
|
|
</parent>
|
2017-12-19 01:37:35 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<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.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>${bouncycastle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.unix4j</groupId>
|
|
|
|
<artifactId>unix4j-command</artifactId>
|
|
|
|
<version>${unix4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.grep4j</groupId>
|
|
|
|
<artifactId>grep4j</artifactId>
|
|
|
|
<version>${grep4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- web -->
|
|
|
|
<!-- marshalling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>${gson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- test scoped -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
2018-07-20 19:28:01 -04:00
|
|
|
<version>${assertj-core.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-07-20 19:28:01 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>${commons-codec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javamoney</groupId>
|
|
|
|
<artifactId>moneta</artifactId>
|
|
|
|
<version>${javamoney.moneta.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.owasp.esapi</groupId>
|
|
|
|
<artifactId>esapi</artifactId>
|
|
|
|
<version>${esapi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.messaging.mq</groupId>
|
|
|
|
<artifactId>fscontext</artifactId>
|
|
|
|
<version>${fscontext.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.codepoetics</groupId>
|
|
|
|
<artifactId>protonpack</artifactId>
|
|
|
|
<version>${protonpack.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>one.util</groupId>
|
|
|
|
<artifactId>streamex</artifactId>
|
|
|
|
<version>${streamex.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.vavr</groupId>
|
|
|
|
<artifactId>vavr</artifactId>
|
|
|
|
<version>${vavr.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-core</artifactId>
|
|
|
|
<version>${jmh-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
|
|
<version>${jmh-generator-annprocess.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<version>${springframework.spring-web.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2database.version}</version>
|
|
|
|
</dependency>
|
2018-04-25 10:52:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
2018-04-26 02:50:35 -04:00
|
|
|
<version>${javax.mail.version}</version>
|
2018-07-12 03:04:54 -04:00
|
|
|
</dependency>
|
2018-06-20 16:57:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.ibm.icu</groupId>
|
|
|
|
<artifactId>icu4j</artifactId>
|
|
|
|
<version>${icu4j.version}</version>
|
2018-04-26 02:50:35 -04:00
|
|
|
</dependency>
|
2018-07-21 11:52:23 -04:00
|
|
|
<!-- Mime Type Resolution Libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-core</artifactId>
|
|
|
|
<version>${tika.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.jmimemagic</groupId>
|
|
|
|
<artifactId>jmimemagic</artifactId>
|
|
|
|
<version>${jmime-magic.version}</version>
|
|
|
|
</dependency>
|
2018-07-21 17:11:46 -04:00
|
|
|
<!-- instrumentation -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<version>${javaassist.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun</groupId>
|
|
|
|
<artifactId>tools</artifactId>
|
|
|
|
<version>1.8.0</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
|
|
|
</dependency>
|
2018-04-26 08:37:47 -04:00
|
|
|
</dependencies>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<build>
|
|
|
|
<finalName>core-java</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-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
2018-06-22 07:09:57 -04:00
|
|
|
<exclude>**/*IntTest.java</exclude>
|
2018-04-26 08:37:47 -04:00
|
|
|
<exclude>**/*LongRunningUnitTest.java</exclude>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2018-06-26 02:48:41 -04:00
|
|
|
<version>${maven-jar-plugin.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>libs/</classpathPrefix>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2018-06-26 02:48:41 -04:00
|
|
|
<version>${maven-shade-plugin.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<transformers>
|
2018-07-12 03:04:54 -04:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
2018-04-26 08:37:47 -04:00
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.jolira</groupId>
|
|
|
|
<artifactId>onejar-maven-plugin</artifactId>
|
2018-06-26 02:48:41 -04:00
|
|
|
<version>${onejar-maven-plugin.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2018-06-26 02:48:41 -04:00
|
|
|
<version>${spring-boot-maven-plugin.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>spring-boot</classifier>
|
|
|
|
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<mainClass>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</mainClass>
|
|
|
|
<arguments>
|
|
|
|
<argument>-Xmx300m</argument>
|
|
|
|
<argument>-XX:+UseParallelGC</argument>
|
|
|
|
<argument>-classpath</argument>
|
2018-07-12 03:04:54 -04:00
|
|
|
<classpath />
|
2018-04-26 08:37:47 -04:00
|
|
|
<argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-07-20 19:28:01 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
2018-06-22 07:09:57 -04:00
|
|
|
<include>**/*IntTest.java</include>
|
2018-04-26 08:37:47 -04:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2018-07-20 19:28:01 -04:00
|
|
|
<version>${exec-maven-plugin.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>run-benchmarks</id>
|
|
|
|
<!-- <phase>integration-test</phase> -->
|
|
|
|
<phase>none</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
2018-07-12 03:04:54 -04:00
|
|
|
<classpath />
|
2018-04-26 08:37:47 -04:00
|
|
|
<argument>org.openjdk.jmh.Main</argument>
|
|
|
|
<argument>.*</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-07-21 17:11:46 -04:00
|
|
|
|
|
|
|
<!-- java instrumentation profiles to build jars -->
|
|
|
|
<profile>
|
|
|
|
<id>buildAgentLoader</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>agentLoader</classifier>
|
|
|
|
<classesDirectory>target/classes</classesDirectory>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
|
|
|
|
<includes>
|
|
|
|
<include>com/baeldung/instrumentation/application/AgentLoader.class</include>
|
|
|
|
<include>com/baeldung/instrumentation/application/Launcher.class</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>buildApplication</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>application</classifier>
|
|
|
|
<classesDirectory>target/classes</classesDirectory>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
|
|
|
|
<includes>
|
|
|
|
<include>com/baeldung/instrumentation/application/MyAtm.class</include>
|
|
|
|
<include>com/baeldung/instrumentation/application/MyAtmApplication.class</include>
|
|
|
|
<include>com/baeldung/instrumentation/application/Launcher.class</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>buildAgent</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classifier>agent</classifier>
|
|
|
|
<classesDirectory>target/classes</classesDirectory>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
|
|
|
|
<includes>
|
|
|
|
<include>com/baeldung/instrumentation/agent/AtmTransformer.class</include>
|
|
|
|
<include>com/baeldung/instrumentation/agent/MyInstrumentationAgent.class</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-04-26 08:37:47 -04:00
|
|
|
</profiles>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<properties>
|
2018-07-20 19:28:01 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- marshalling -->
|
|
|
|
<jackson.version>2.8.5</jackson.version>
|
|
|
|
<gson.version>2.8.2</gson.version>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- util -->
|
|
|
|
<commons-lang3.version>3.5</commons-lang3.version>
|
|
|
|
<bouncycastle.version>1.55</bouncycastle.version>
|
|
|
|
<commons-codec.version>1.10</commons-codec.version>
|
2018-07-14 09:00:37 -04:00
|
|
|
<commons-io.version>2.5</commons-io.version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<commons-math3.version>3.6.1</commons-math3.version>
|
|
|
|
<decimal4j.version>1.0.3</decimal4j.version>
|
|
|
|
<unix4j.version>0.4</unix4j.version>
|
|
|
|
<grep4j.version>1.8.7</grep4j.version>
|
|
|
|
<lombok.version>1.16.12</lombok.version>
|
|
|
|
<fscontext.version>4.6-b01</fscontext.version>
|
|
|
|
<protonpack.version>1.13</protonpack.version>
|
|
|
|
<streamex.version>0.6.5</streamex.version>
|
|
|
|
<vavr.version>0.9.0</vavr.version>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- testing -->
|
2018-07-20 19:28:01 -04:00
|
|
|
<assertj-core.version>3.10.0</assertj-core.version>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- maven plugins -->
|
2018-08-09 12:13:44 -04:00
|
|
|
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<springframework.spring-web.version>4.3.4.RELEASE</springframework.spring-web.version>
|
2018-07-20 19:28:01 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<javamoney.moneta.version>1.1</javamoney.moneta.version>
|
|
|
|
<h2database.version>1.4.197</h2database.version>
|
|
|
|
<esapi.version>2.1.0.1</esapi.version>
|
|
|
|
<jmh-core.version>1.19</jmh-core.version>
|
2018-07-20 19:28:01 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<jmh-generator-annprocess.version>1.19</jmh-generator-annprocess.version>
|
|
|
|
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
|
|
|
|
<javax.mail.version>1.5.0-b01</javax.mail.version>
|
2018-06-26 02:48:41 -04:00
|
|
|
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
|
|
|
|
<onejar-maven-plugin.version>1.4.4</onejar-maven-plugin.version>
|
|
|
|
<maven-shade-plugin.version>3.1.1</maven-shade-plugin.version>
|
|
|
|
<spring-boot-maven-plugin.version>2.0.3.RELEASE</spring-boot-maven-plugin.version>
|
2018-07-20 19:28:01 -04:00
|
|
|
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
|
2018-06-20 16:57:14 -04:00
|
|
|
<icu4j.version>61.1</icu4j.version>
|
2018-07-21 11:52:23 -04:00
|
|
|
<!-- Mime Type Libraries -->
|
|
|
|
<tika.version>1.18</tika.version>
|
|
|
|
<jmime-magic.version>0.1.5</jmime-magic.version>
|
2018-07-21 17:11:46 -04:00
|
|
|
<!-- instrumentation -->
|
|
|
|
<javaassist.version>3.21.0-GA</javaassist.version>
|
2017-12-19 01:37:35 -05:00
|
|
|
</properties>
|
2018-04-26 08:37:47 -04:00
|
|
|
|
2018-07-20 19:28:01 -04:00
|
|
|
</project>
|