dumper
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.greencheek.jvmtools</groupId> <artifactId>dumper</artifactId> <version>0.0.3</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.greencheek.jvmtools</groupId> <artifactId>dumper</artifactId> <version>0.0.3</version> <packaging>jar</packaging> <name>dumper</name> <description>Java Class to perform a heap dump on another jvm process that is running</description> <url>https://github.com/tootedom/dumper</url> <!-- Required: license information: --> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <!-- Required: developer information: --> <developers> <developer> <id>tootedom</id> <name>Dominic Tootell</name> <email>dominic.tootell@gmail.com</email> <organization>greencheek.org</organization> <organizationUrl>https://github.com/tootedom</organizationUrl> <url>https://github.com/tootedom</url> </developer> </developers> <scm> <connection>scm:git:git@github.com:tootedom/dumper.git</connection> <url>scm:git:git@github.com:tootedom/dumper.git</url> <developerConnection>scm:git:git@github.com:tootedom/dumper.git</developerConnection> <tag>dumper-0.0.3</tag> </scm> <properties> <jvmargs /> <toolsjar>${java.home}/../lib/tools.jar</toolsjar> </properties> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <scope>system</scope> <systemPath>${toolsjar}</systemPath> <version>1.8.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.7</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.2</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <compilerVersion>1.8</compilerVersion> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-io</artifactId> <version>1.0.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <configuration> <useStandardDocletOptions>true</useStandardDocletOptions> <show>public</show> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <breakiterator>true</breakiterator> <version>true</version> <author>true</author> <keywords>true</keywords> <links> <link>http://docs.oracle.com/javase/6/docs/api/</link> </links> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.6</version> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <createDependencyReducedPom>true</createDependencyReducedPom> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>org.greencheek.jvmtools.HeapDumper</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.4.1</version> <configuration> <!-- Automated passphrase entry: --> <!-- To pass your passphrase to the build automatically, so avoiding manual interaction, you'll need to put the passphrase into settings.xml. You don't really want that to be in plain text, so you'll want to follow: http://maven.apache.org/guides/mini/guide-encryption.html --> <!-- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> --> <!-- Manual passphrase entry: --> <!-- This is the simplest secure solution, but requires you to type your key passphrase in manually when performing a release. No biggie unless you want your CI server to decide when to release for you. --> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.1</version> </plugin> </plugins> </build> <distributionManagement> <!-- You'll probably want to test this out with a local copy of Nexus OSS. --> <!-- Remove these entries and uncomment the Sonatype Nexus repositories below when you actually want to release. --> <!-- <snapshotRepository> <id>localhost-nexus-snapshots</id> <name>Local Nexus snapshot repository</name> <url>http://localhost:8081/nexus/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>localhost-nexus-staging</id> <name>Local Nexus release repository</name> <url>http://localhost:8081/nexus/content/repositories/releases/</url> </repository> --> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus snapshot repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Sonatype Nexus release repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> <profiles> <!-- GPG Signature on release --> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.4</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>nocoverage</id> <properties> <surefireArgLine /> </properties> </profile> <profile> <id>default-profile</id> <activation> <activeByDefault>true</activeByDefault> <file> <exists>${java.home}/../lib/tools.jar</exists> </file> </activation> <properties> <toolsjar>${java.home}/../lib/tools.jar</toolsjar> <toolsjarname>tools.jar</toolsjarname> <toolsjarlib>${java.home}/../lib/</toolsjarlib> </properties> </profile> <profile> <id>mac-profile</id> <activation> <activeByDefault>false</activeByDefault> <file> <exists>${java.home}/../Classes/classes.jar</exists> </file> </activation> <properties> <toolsjar>${java.home}/../Classes/classes.jar</toolsjar> <toolsjarname>classes.jar</toolsjarname> <toolsjarlib>${java.home}/../Classes/</toolsjarlib> </properties> </profile> </profiles> </project>