Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/btraceio/btrace-maven


https://github.com/btraceio/btrace-maven

Last synced: about 2 months ago
JSON representation

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

...
```