codeguru-profiler-for-spark
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>software.amazon.profiler</groupId> <artifactId>codeguru-profiler-for-spark</artifactId> <version>1.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"> <modelVersion>4.0.0</modelVersion> <groupId>software.amazon.profiler</groupId> <artifactId>codeguru-profiler-for-spark</artifactId> <name>${project.groupId}:${project.artifactId}</name> <version>1.0</version> <description>A Spark plugin for CPU and memory profiling based on AWS CodeGuru.</description> <url>https://github.com/amzn/amazon-codeguru-profiler-for-spark</url> <developers> <developer> <name>Bo Xiong</name> <email>codeguru-profiler-for-spark@amazon.com</email> <organization>Amazon</organization> <organizationUrl>https://github.com/amzn</organizationUrl> </developer> </developers> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <scm> <connection>scm:git:git@github.com/amzn/amazon-codeguru-profiler-for-spark.git</connection> <developerConnection>scm:git:git@github.com/amzn/amazon-codeguru-profiler-for-spark.git</developerConnection> <url>https://github.com/amzn/amazon-codeguru-profiler-for-spark.git</url> </scm> <build> <resources> <resource> <directory>src/main/resources/</directory> </resource> </resources> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>${maven-clean-plugin.version}</version> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin.version}</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>${maven-site-plugin.version}</version> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> </plugin> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${maven-project-info-reports-plugin.version}</version> </plugin> <plugin> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala-maven-plugin.version}</version> <executions> <execution> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <args> <arg>-dependencyfile</arg> <arg>${project.build.directory}/.scala_dependencies</arg> <arg>-nobootcp</arg> </args> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <useFile>false</useFile> <disableXmlReport>true</disableXmlReport> <includes> <include>**/*Test.*</include> <include>**/*Suite.*</include> </includes> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <mainClass>software.amazon.profiler.AmazonProfilerPlugin</mainClass> </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <excludes> <exclude>io.netty:netty-all</exclude> </excludes> <includes> <include>com.amazonaws:codeguru-profiler-java-agent</include> <include>com.amazon.ion:ion-java</include> <include>org.apache.httpcomponents:httpcore</include> <include>org.apache.httpcomponents:httpclient</include> <include>commons-logging:commons-logging</include> <include>org.reactivestreams:reactive-streams</include> <include>software.amazon.eventstream:eventstream</include> <include>org.jetbrains.kotlin:kotlin-stdlib</include> <include>org.jetbrains.kotlin:kotlin-stdlib-common</include> <include>org.jetbrains:annotations</include> <include>software.amazon.awssdk:*</include> <include>io.netty:*</include> <include>com.typesafe.netty:*</include> </includes> </artifactSet> <relocations> <relocation> <pattern>com.amazon.ion</pattern> <shadedPattern>software.amazon.profiler.shaded.com.amazon.ion</shadedPattern> </relocation> <relocation> <pattern>org.apache.http</pattern> <shadedPattern>software.amazon.profiler.shaded.org.apache.http</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.logging</pattern> <shadedPattern>software.amazon.profiler.shaded.org.apache.commons.logging</shadedPattern> </relocation> <relocation> <pattern>org.reactivestreams</pattern> <shadedPattern>software.amazon.profiler.shaded.org.reactivestreams</shadedPattern> </relocation> <relocation> <pattern>software.amazon.eventstream</pattern> <shadedPattern>software.amazon.profiler.shaded.software.amazon.eventstream</shadedPattern> </relocation> <relocation> <pattern>kotlin</pattern> <shadedPattern>software.amazon.profiler.shaded.kotlin</shadedPattern> </relocation> <relocation> <pattern>org.intellij.lang.annotations</pattern> <shadedPattern>software.amazon.profiler.shaded.org.intellij.lang.annotations</shadedPattern> </relocation> <relocation> <pattern>org.jetbrains.annotations</pattern> <shadedPattern>software.amazon.profiler.shaded.org.jetbrains.annotations</shadedPattern> </relocation> <relocation> <pattern>software.amazon.awssdk</pattern> <shadedPattern>software.amazon.profiler.shaded.software.amazon.awssdk</shadedPattern> </relocation> <relocation> <pattern>io.netty</pattern> <shadedPattern>software.amazon.profiler.shaded.io.netty</shadedPattern> </relocation> <relocation> <pattern>com.typesafe.netty</pattern> <shadedPattern>software.amazon.profiler.shaded.com.typesafe.netty</shadedPattern> </relocation> </relocations> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>codegurushadow/**/*</exclude> <exclude>META-INF/**/*</exclude> <exclude>**/*.java</exclude> <exclude>**/*.txt</exclude> <exclude>**/*.json</exclude> <exclude>**/mime.types</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>copy-dependencies</id> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}</outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>false</overWriteSnapshots> <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${build-helper.version}</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/main/java</source> <source>src/main/scala</source> </sources> </configuration> </execution> <execution> <id>add-test-source</id> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>src/test/java</source> <source>src/it/java</source> <source>src/test/scala</source> <source>src/it/scala</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <version>${scalatest.plugin.version}</version> <executions> <execution> <id>test</id> <goals> <goal>test</goal> </goals> </execution> </executions> <configuration> <skipTests>false</skipTests> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> </configuration> </plugin> <plugin> <groupId>org.scoverage</groupId> <artifactId>scoverage-maven-plugin</artifactId> <version>${scoverage.plugin.version}</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <scalaVersion>${scala.version}</scalaVersion> <aggregate>true</aggregate> <highlighting>true</highlighting> <minimumCoverage>90</minimumCoverage> <failOnMinimumCoverage>true</failOnMinimumCoverage> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <doclint>none</doclint> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.9.0</version> <executions> <execution> <id>default-site</id> <phase>site</phase> <goals> <goal>site</goal> </goals> <configuration> <outputDirectory>/Users/xiongbo/localbox/work/amazon-codeguru-profiler-for-spark/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </reportPlugin> </reportPlugins> </configuration> </execution> <execution> <id>default-deploy</id> <phase>site-deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <outputDirectory>/Users/xiongbo/localbox/work/amazon-codeguru-profiler-for-spark/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </reportPlugin> </reportPlugins> </configuration> </execution> </executions> <configuration> <outputDirectory>/Users/xiongbo/localbox/work/amazon-codeguru-profiler-for-spark/target/site</outputDirectory> <reportPlugins> <reportPlugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </reportPlugin> </reportPlugins> </configuration> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <executions> <execution> <id>injected-nexus-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://aws.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </execution> </executions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://aws.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> </plugins> </reporting> <properties> <jdkVersion>${java.version}</jdkVersion> </properties> </profile> </profiles> <repositories> <repository> <id>codeguru-profiler</id> <url>https://d1osg35nybn3tt.cloudfront.net</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>2.12.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.12</artifactId> <version>3.0.0</version> <scope>compile</scope> <exclusions> <exclusion> <artifactId>scala-library</artifactId> <groupId>org.scala-lang</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.32</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.22</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.12</artifactId> <version>3.0.8</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>scalactic_2.12</artifactId> <groupId>org.scalactic</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>2.21.0</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>byte-buddy</artifactId> <groupId>net.bytebuddy</groupId> </exclusion> <exclusion> <artifactId>byte-buddy-agent</artifactId> <groupId>net.bytebuddy</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.8.1</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>junit-platform-engine</artifactId> <groupId>org.junit.platform</groupId> </exclusion> <exclusion> <artifactId>junit-jupiter-api</artifactId> <groupId>org.junit.jupiter</groupId> </exclusion> <exclusion> <artifactId>apiguardian-api</artifactId> <groupId>org.apiguardian</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.github.stefanbirkner</groupId> <artifactId>system-lambda</artifactId> <version>1.2.0</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>ossrh</id> <url>https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>ossrh</id> <url>https://aws.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <lombok.version>1.18.22</lombok.version> <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <spark.version>3.0.0</spark.version> <scala.version>${scala-binary.version}.8</scala.version> <scala-maven-plugin.version>3.2.2</scala-maven-plugin.version> <maven-dependency-plugin.version>3.0.0</maven-dependency-plugin.version> <mockito.version>2.21.0</mockito.version> <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> <scala-binary.version>2.12</scala-binary.version> <maven-source-plugin.version>3.2.1</maven-source-plugin.version> <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> <maven-project-info-reports-plugin.version>3.0.0</maven-project-info-reports-plugin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <profiler.version>1.2.1</profiler.version> <junit.version>5.8.1</junit.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <maven-site-plugin.version>3.9.0</maven-site-plugin.version> <java.version>1.8</java.version> <slf4j.version>1.7.32</slf4j.version> <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version> <scalatest.version>3.0.8</scalatest.version> <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> <build-helper.version>1.9.1</build-helper.version> <system-lambda.version>1.2.0</system-lambda.version> <scalatest.plugin.version>1.0</scalatest.plugin.version> <scoverage.plugin.version>1.4.0</scoverage.plugin.version> </properties> </project>