Skip to content

Commit

Permalink
Rename apm-agent-java.jar to elastic-apm-agent.jar (#91)
Browse files Browse the repository at this point in the history
A jar implies Java and when looking just at the JVM flags,
it's more interesting to see at a glance that this is indeed the
Elastic APM agent and not just some random Java APM agent.
  • Loading branch information
felixbarny authored May 25, 2018
1 parent 4b0f24a commit 27cf213
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion apm-agent-java/pom.xml → elastic-apm-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</parent>
<packaging>jar</packaging>

<artifactId>apm-agent-java</artifactId>
<artifactId>elastic-apm-agent</artifactId>
<name>${project.groupId}:${project.artifactId}</name>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public abstract class AbstractTomcatIntegrationTest {
}

private static String getPathToJavaagent() {
File agentBuildDir = new File("../../apm-agent-java/target/");
FileFilter fileFilter = new WildcardFileFilter("apm-agent-java-*.jar");
File agentBuildDir = new File("../../elastic-apm-agent/target/");
FileFilter fileFilter = new WildcardFileFilter("elastic-apm-agent-*.jar");
for (File file : agentBuildDir.listFiles(fileFilter)) {
if (!file.getAbsolutePath().endsWith("javadoc.jar") && !file.getAbsolutePath().endsWith("sources.jar")) {
return file.getAbsolutePath();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

<modules>
<module>apm-agent-core</module>
<module>apm-agent-java</module>
<module>elastic-apm-agent</module>
<module>apm-agent-benchmarks</module>
<module>apm-agent-plugins</module>
<module>apm-agent-api</module>
Expand Down

0 comments on commit 27cf213

Please sign in to comment.