Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appuio/s2i-maven-java
Simple S2I Builder Image for Maven and Java
https://github.com/appuio/s2i-maven-java
Last synced: 4 days ago
JSON representation
Simple S2I Builder Image for Maven and Java
- Host: GitHub
- URL: https://github.com/appuio/s2i-maven-java
- Owner: appuio
- Created: 2017-07-19T15:12:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:26:57.000Z (about 1 year ago)
- Last Synced: 2023-12-15T06:38:24.391Z (about 1 year ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 7
- Watchers: 16
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# S2I Builder with Maven and Java
A very simple S2I builder which builds Java applications with Maven.
The following environment vars can be used to configure the build:
| Name | Default | Description |
|------------------|-------------------|-------------------------------------|
| `MVN_GOALS` | `clean package` | Maven goals to execute |
| `MVN_SKIP_TESTS` | `true` | If tests should be skipped |
| `MVN_OPTS` | `None` | Additional options handed to Maven |For Information about how those vars can be configured see the [official docs on
Build Strategy Options][1]For a very similar S2I Java builder with some more options and flexibility, consider [fabric8io-images/s2i](https://github.com/fabric8io-images/s2i), AKA [fabric8/s2i-java on Docker Hub](https://hub.docker.com/r/fabric8/s2i-java/).
It [includes support for Gradle and Java 11 in addition to Maven and Java 8 as per this blog post](http://blog2.vorburger.ch/2018/11/s2i-with-java-11-gradle-builds-for.html).[1]: https://docs.openshift.com/container-platform/3.7/dev_guide/builds/build_strategies.html#configuring-the-source-environment