test-collector Maven Plugin

CJAN.org Maven plug-in used to upload test results.

License

License

GroupId

GroupId

org.cjan
ArtifactId

ArtifactId

test-collector
Last Version

Last Version

0.4
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

test-collector Maven Plugin
CJAN.org Maven plug-in used to upload test results.
Project URL

Project URL

http://cjan.org
Source Code Management

Source Code Management

https://github.com/CjanOrg/test-collector-maven-plugin

Download test-collector

How to add to project

<plugin>
    <groupId>org.cjan</groupId>
    <artifactId>test-collector</artifactId>
    <version>0.4</version>
</plugin>

Dependencies

compile (6)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
org.codehaus.plexus : plexus-utils jar 3.0.8
org.apache.maven.surefire : surefire-report-parser jar 2.18
org.apache.maven : maven-project jar 2.0.11
org.apache.httpcomponents : httpclient jar 4.5
org.codehaus.jackson : jackson-mapper-asl jar 1.9.13

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

Test Collector Maven Plug-in

This project collects tests and uploads them to CJAN.org.

Building

In Eclipse, create a new execution with.

  • Base directory:

/home/kinow/Development/java/cjan/test-collector-maven-plugin/src/it/simple-it

  • Goal:

-e -X clean test org.cjan:test-collector:0.4-SNAPSHOT:upload -Dcjan.reports=./target0/surefire-reports -Dcjan.url=http://localhost:8000/upload/results

Set up your token in settings.xml, as explained in CJAN.org.

Set up

The plug-in is deployed to Apache Maven central repository. Edit your settings.xml to configure the user that will authenticate with CJAN.org.

<servers>
  <server>
    <id>cjan</id>
    <username>$TOKEN</username>
  </server>
</servers>

Usage

First generate test reports.

mvn clean test

Now you can upload your results to CJAN.org with the following command line:

mvn org.cjan:test-collector:upload

Other options that can be passed when using the plug-in include (with the default value):

License

MIT License

org.cjan

CJAN

Comprehensive Java Archive Network

Versions

Version
0.4
0.3