Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Maven, add maven-openjdk8 module #372

Merged
merged 4 commits into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jboss-maven/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description: Legacy Maven module

modules:
install:
- name: jboss.container.maven.default.bash
- name: jboss.container.maven.default

2 changes: 1 addition & 1 deletion jboss/container/java/s2i/bash/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ execute:

modules:
install:
- name: jboss.container.maven.s2i.bash
- name: jboss.container.maven.s2i
- name: jboss.container.java.run.bash
- name: jboss.container.jolokia
- name: jboss.container.prometheus
Expand Down
2 changes: 1 addition & 1 deletion jboss/container/jws/s2i/bash/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ execute:

modules:
install:
- name: jboss.container.maven.s2i.bash
- name: jboss.container.maven.s2i
- name: jboss.container.util.logging.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: jboss.container.maven.35.bash
version: '3.5scl'
name: jboss.container.maven
version: '7.0.3.5'
description: Provides Maven v3.5 capabilities to an image via SCL

labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: jboss.container.maven.36.bash
version: '3.6scl'
name: jboss.container.maven
version: '7.0.3.6'
description: Provides Maven v3.6 capabilities to an image via SCL

labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: jboss.container.maven.35.bash
version: '3.5'
name: jboss.container.maven
version: '8.0.3.5'
description: Provides Maven v3.5 capabilities to an image.

labels:
Expand Down
6 changes: 6 additions & 0 deletions jboss/container/maven/8.2.3.6.8/configure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -e

dnf module enable -y maven:3.6
dnf install -y --setopt=tsflags=nodocs maven-openjdk8
dnf clean all
18 changes: 18 additions & 0 deletions jboss/container/maven/8.2.3.6.8/module.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
schema_version: 1
name: jboss.container.maven
# Version scheme: RHEL major . RHEL minor . Maven major . Maven minor . JDK version
version: '8.2.3.6.8'
description: Provides Maven v3.6 capabilities to an image.

labels:
- name: io.fabric8.s2i.version.maven
value: "3.6"

envs:
- name: JBOSS_CONTAINER_MAVEN_36_MODULE
value: /opt/jboss/container/maven/36/
- name: MAVEN_VERSION
value: "3.6"

execute:
- script: configure.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: jboss.container.maven.36.bash
version: '3.6'
name: jboss.container.maven
version: '8.2.3.6'
description: Provides Maven v3.6 capabilities to an image.

labels:
Expand Down
File renamed without changes.

This file was deleted.

Loading