Skip to content

Commit

Permalink
task-maven: Auto-update tekton pipelines resources\n\nURL: https://gi…
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and openshift-merge-bot[bot] committed May 13, 2024
1 parent 081f0db commit 7cefe47
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tasks/task-maven/0.2.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# `maven` Tekton Task

The `maven` Task can be used to run a Maven goal on a simple or multi-module maven project.

## Workspaces

### `source`

The `source` workspace is required. It contains the source of the "maven" project to build. It should contain a `pom.xml`.

## `server_secret` (optional)

The `server_secret` is optional. It should contain two *files* : `username` and `password`. It is possible to bind a `ConfigMap` or a `Secret` to this workspace ; in that case, the `ConfigMap` or `Secret` should have a `username` and a `password` key.

## Parameters

| Parameter | Type | Default | Description |
|:-------------------|:---------|:-----------|:-----------------------------------------------------------------------------------|
| `GOALS` | `string` | `package` | The `maven` goal(s) to run |
| `MAVEN_MIRROR_URL` | `string` | "" (empty) | The maven repository mirror URL to use |
| `SUBDIRECTORY` | `string` | `.` | The subdirectory of the `source` workspace on which we want to execute maven goals |

0 comments on commit 7cefe47

Please sign in to comment.