Blackwater Git Tasks

Provides Git related tasks.

License

License

Categories

Categories

Git Development Tools Version Controls
GroupId

GroupId

org.basinmc.blackwater.tasks
ArtifactId

ArtifactId

git
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Blackwater Git Tasks
Provides Git related tasks.
Project Organization

Project Organization

Basin

Download git

How to add to project

<!-- https://jarcasting.com/artifacts/org.basinmc.blackwater.tasks/git/ -->
<dependency>
    <groupId>org.basinmc.blackwater.tasks</groupId>
    <artifactId>git</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.basinmc.blackwater.tasks/git/
implementation 'org.basinmc.blackwater.tasks:git:1.0'
// https://jarcasting.com/artifacts/org.basinmc.blackwater.tasks/git/
implementation ("org.basinmc.blackwater.tasks:git:1.0")
'org.basinmc.blackwater.tasks:git:jar:1.0'
<dependency org="org.basinmc.blackwater.tasks" name="git" rev="1.0">
  <artifact name="git" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.basinmc.blackwater.tasks', module='git', version='1.0')
)
libraryDependencies += "org.basinmc.blackwater.tasks" % "git" % "1.0"
[org.basinmc.blackwater.tasks/git "1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.basinmc.blackwater : pipeline jar 1.0
org.eclipse.jgit : org.eclipse.jgit jar 4.10.0.201712302008-r
org.slf4j : slf4j-api jar 1.7.25

provided (1)

Group / Artifact Type Version
com.github.spotbugs : spotbugs-annotations jar 3.1.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.15.0
org.slf4j : slf4j-simple jar 1.7.25

Project Modules

There are no modules declared in this project.

License Maven Central GitHub Release CircleCI

Blackwater

A generic framework for chaining build tasks in various build systems.

Table of Contents

Features

  • Chaining of tasks
  • Support for custom task implementations
  • Caching (and thus reusing) of task results
  • Simple integration with third party tools

Usage

Artifact Coordinates: org.basinmc:blackwater:1.0
JavaDoc: Pipeline | Maven Artifact Cache | Git Tasks | Maven Tasks

<dependency>
  <groupId>org.basinmc.blackwater</groupId>
  <artifactId>pipeline</artifactId>
  <version>1.0</version>
</dependency>

<!-- For unstable releases: -->
<repository>
  <id>ossrh</id>
  <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

<dependency>
  <groupId>org.basinmc.blackwater</groupId>
  <artifactId>pipeline</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>
ArtifactManager manager = ...;
ArtifactReference reference = ...;
Task task = ...;
Path outputPath = ...;

Pipeline pipeline = Pipeline.builder()
  .withArtifactManager(manager) // optional
  .withTask(task)
    .withInputArtifact(reference) // optional
    .withOutputFile(outputPath) // optional
    .register()
  .build();

pipeline.execute();

Note that either an input/output artifact or file may be specified for each task (the exact limitations and additional parameters are specified by the task implementation).

Building

  1. Clone this repository via git clone https://github.com/BasinMC/Blackwater.git or download a zip
  2. Build the library by running mvn clean install
  3. The resulting jars can be found in their respective target directories as well as your local maven repository

Contact

Issues

You encountered problems with the library or have a suggestion? Create an issue!

  1. Make sure your issue has not been fixed in a newer version (check the list of closed issues
  2. Create a new issue from the issues page
  3. Enter your issue's title (something that summarizes your issue) and create a detailed description containing:
    • What is the expected result?
    • What problem occurs?
    • How to reproduce the problem?
    • Crash Log (Please use a Pastebin service)
  4. Click "Submit" and wait for further instructions

Contributing

Before you add any major changes to the library you may want to discuss them with us (see Contact) as we may choose to reject your changes for various reasons. All contributions are applied via Pull-Requests. Patches will not be accepted. Also be aware that all of your contributions are made available under the terms of the Apache License 2.0. Please read the Contribution Guidelines for more information.

License

This project is released under the terms of the Apache License, Version 2.0.

The following note shall be replicated by all contributors within their respective newly created files (variables are to be replaced; E-Mail address or URL are optional):

Copyright <year> <first name> <surname <[email address/url]>
and other copyright owners as documented in the project's IP log.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
org.basinmc.blackwater.tasks

Basin

Versions

Version
1.0