scouter-agent-batch
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.scouter-project</groupId>
<artifactId>scouter-agent-batch</artifactId>
<version>2.20.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>scouter-parent</artifactId>
<groupId>io.github.scouter-project</groupId>
<version>2.20.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>scouter-agent-batch</artifactId>
<name>scouter.agent.batch</name>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerVersion>1.6</compilerVersion>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifestEntries>
<Premain-Class>scouter.agent.batch.JavaAgent</Premain-Class>
<Agent-Class>scouter.agent.batch.JavaAgent</Agent-Class>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
<Boot-Class-Path>${project.build.finalName}.jar</Boot-Class-Path>
</manifestEntries>
</archive>
<excludes>
<exclude>**/scouter/xtra/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>true</createDependencyReducedPom>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>scouter.org.objectweb.asm</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>make-ext-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<jar>
<fileset>
<include />
</fileset>
</jar>
</target>
</configuration>
</execution>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<jar>
<fileset>
<include />
</fileset>
<zipfileset />
<manifest>
<attribute />
<attribute />
<attribute />
<attribute />
<attribute />
</manifest>
</jar>
<mkdir />
<copy>
<fileset>
<include />
</fileset>
</copy>
<fixcrlf />
<copy />
<delete />
<tar>
<tarfileset>
<include />
</tarfileset>
<tarfileset>
<exclude />
</tarfileset>
<tarfileset>
<include />
</tarfileset>
<tarfileset>
<include />
<include />
</tarfileset>
</tar>
<mkdir />
<copy />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>2.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>tools-0.0.0</version>
<scope>system</scope>
<systemPath>${provided.tools.jar}</systemPath>
</dependency>
</dependencies>
<properties>
<final.jar.name>${project.build.directory}/${project.build.finalName}.jar</final.jar.name>
<provided.tools.jar>${project.basedir}/lib/provided/tools.jar</provided.tools.jar>
<scouter.assembly.working.dir>${project.build.directory}/assembly-working</scouter.assembly.working.dir>
<scouter.tools.jar>scouter.tools.jar</scouter.tools.jar>
<scouter.agent.file.name>scouter.agent.batch.jar</scouter.agent.file.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<build.datetime>${maven.build.timestamp} GMT</build.datetime>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
</properties>
</project>