-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
67 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
btrace-project-archetype/src/main/resources/META-INF/maven/archetype.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<archetype> | ||
<id>btrace-project-archetype</id> | ||
<sources> | ||
<source>src/main/java/AllMethods.java</source> | ||
</sources> | ||
<resources> | ||
<resource>src/main/btrace/AllMethods.java</resource> | ||
<resource>src/main/btrace/agent.properties</resource> | ||
</resources> | ||
</archetype> |
74 changes: 51 additions & 23 deletions
74
btrace-project-archetype/src/main/resources/archetype-resources/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,69 @@ | ||
<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"> | ||
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>${groupId}</groupId> | ||
<artifactId>${artifactId}</artifactId> | ||
<version>${version}</version> | ||
|
||
<properties> | ||
<btrace.plugin.version>1.3.6.1</btrace.plugin.version> | ||
<btrace.plugin.version>1.3.7.1</btrace.plugin.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<dependency> | ||
<groupId>io.btrace</groupId> | ||
<artifactId>btrace-maven-plugin</artifactId> | ||
<version>${btrace.plugin.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>3.8.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>3.8.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>io.btrace</groupId> | ||
<artifactId>btrace-maven-plugin</artifactId> | ||
<version>${btrace.plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>btracec</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<version>2.7</version> | ||
<executions> | ||
<execution> | ||
<id>copy-resources</id> | ||
<phase>validate</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.outputDirectory}/META-INF/btrace</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>\${basedir}/src/main/btrace</directory> | ||
<includes> | ||
<include>agent.properties</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.btrace</groupId> | ||
<artifactId>btrace-maven-plugin</artifactId> | ||
<version>${btrace.plugin.version}</version> | ||
<configuration> | ||
<sourceDirectory>\${basedir}/src/main/btrace</sourceDirectory> | ||
<outputDirectory>${project.build.outputDirectory}/META-INF/btrace</outputDirectory> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>btracec</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...project-archetype/src/main/resources/archetype-resources/src/main/btrace/agent.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debug = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters