Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/btraceio/btrace-maven
https://github.com/btraceio/btrace-maven
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/btraceio/btrace-maven
- Owner: btraceio
- License: other
- Created: 2016-01-25T13:40:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T17:45:55.000Z (2 months ago)
- Last Synced: 2024-11-09T18:31:17.239Z (2 months ago)
- Language: Java
- Size: 60.5 KB
- Stars: 23
- Watchers: 6
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BTrace Maven Support
Provides Maven integration for [BTrace](https://github.com/btraceio/btrace)
__Version: 2.2.6__
## Components
### BTrace Maven Plugin (btrace-maven-plugin)
Allows compilation of BTrace scripts as a part of the Maven project lifecycle.
```
io.btrace
btrace-maven-plugin
2.2.6
btracec
/path/to/jar_or_folder
...
...```
The plugin configuration accepts the following parameters:
* __sourceDirectory__ - where the sources to compile are located (_default: ${project.build.sourceDirectory}_)
* __classPathElements__ - additional class path for compilation
* __outputDirectory__ - where to put the compiled binaries (_default: ${project.build.outputDirectory}_)### BTrace Project Archetype (btrace-project-archetype)
A simple archetype to generate a functional scaffolding for a project containing BTrace scripts.
To bootstrap a new project use
```
mvn archetype:generate
-DgroupId=[your project's group id]
-DartifactId=[your project's artifact id]
-DarchetypeGroupId=io.btrace
-DarchetypeArtifactId=btrace-project-archetype
-DarchetypeVersion=2.2.6
```## Usage
The artifacts are hosted by [Maven Central](https://mvnrepository.com/artifact/io.btrace/btrace-maven-plugin)
Modify your maven __settings.xml__ to include the following section:
```
...
false
central
ossrh-central
https://oss.sonatype.org
false
central
ossrh-central
https://oss.sonatype.org
ossrh
ossrh
...
```