File tree 4 files changed +40
-12
lines changed
24.0.0.12/kernel/helpers/build
24.0.0.9/kernel/helpers/build
25.0.0.2/kernel/helpers/build
latest/kernel/helpers/build
4 files changed +40
-12
lines changed Original file line number Diff line number Diff line change 18
18
19
19
set -Eeox pipefail
20
20
21
- yum update -y
22
- yum install -y maven
21
+ pkgcmd=yum
22
+ if ! command $pkgcmd
23
+ then
24
+ pkgcmd=microdnf
25
+ fi
26
+
27
+ $pkgcmd update -y
28
+ $pkgcmd install -y maven
23
29
mkdir -p /opt/ibm/wlp/usr/shared/resources/infinispan
24
30
echo ' <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.openliberty</groupId> <artifactId>openliberty-infinispan-client</artifactId> <version>1.0</version> <!-- https://mvnrepository.com/artifact/org.infinispan/infinispan-jcache-remote --> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <version>10.1.3.Final</version> </dependency> </dependencies></project>' > /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
25
31
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml versions:use-latest-releases -DallowMajorUpdates=false
26
32
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml dependency:copy-dependencies -DoutputDirectory=/opt/ibm/wlp/usr/shared/resources/infinispan
27
- yum remove -y maven
33
+ # This fails with dependency errors using microdnf on ubi-minimal, but it is okay to let it fail
34
+ yum remove -y maven || true
28
35
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
29
36
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/jboss-transaction-api* .jar
30
37
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/reactive-streams-* .jar
Original file line number Diff line number Diff line change 18
18
19
19
set -Eeox pipefail
20
20
21
- yum update -y
22
- yum install -y maven
21
+ pkgcmd=yum
22
+ if ! command $pkgcmd
23
+ then
24
+ pkgcmd=microdnf
25
+ fi
26
+
27
+ $pkgcmd update -y
28
+ $pkgcmd install -y maven
23
29
mkdir -p /opt/ibm/wlp/usr/shared/resources/infinispan
24
30
echo ' <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.openliberty</groupId> <artifactId>openliberty-infinispan-client</artifactId> <version>1.0</version> <!-- https://mvnrepository.com/artifact/org.infinispan/infinispan-jcache-remote --> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <version>10.1.3.Final</version> </dependency> </dependencies></project>' > /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
25
31
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml versions:use-latest-releases -DallowMajorUpdates=false
26
32
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml dependency:copy-dependencies -DoutputDirectory=/opt/ibm/wlp/usr/shared/resources/infinispan
27
- yum remove -y maven
33
+ # This fails with dependency errors using microdnf on ubi-minimal, but it is okay to let it fail
34
+ yum remove -y maven || true
28
35
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
29
36
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/jboss-transaction-api* .jar
30
37
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/reactive-streams-* .jar
Original file line number Diff line number Diff line change 16
16
17
17
set -Eeox pipefail
18
18
19
- yum update -y
20
- yum install -y maven
19
+ pkgcmd=yum
20
+ if ! command $pkgcmd
21
+ then
22
+ pkgcmd=microdnf
23
+ fi
24
+
25
+ $pkgcmd update -y
26
+ $pkgcmd install -y maven
21
27
mkdir -p /opt/ibm/wlp/usr/shared/resources/infinispan
22
28
echo ' <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.openliberty</groupId> <artifactId>openliberty-infinispan-client</artifactId> <version>1.0</version> <!-- https://mvnrepository.com/artifact/org.infinispan/infinispan-jcache-remote --> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <version>10.1.3.Final</version> </dependency> </dependencies></project>' > /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
23
29
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml versions:use-latest-releases -DallowMajorUpdates=false
24
30
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml dependency:copy-dependencies -DoutputDirectory=/opt/ibm/wlp/usr/shared/resources/infinispan
25
- yum remove -y maven
31
+ # This fails with dependency errors using microdnf on ubi-minimal, but it is okay to let it fail
32
+ yum remove -y maven || true
26
33
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
27
34
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/jboss-transaction-api* .jar
28
35
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/reactive-streams-* .jar
Original file line number Diff line number Diff line change 16
16
17
17
set -Eeox pipefail
18
18
19
- yum update -y
20
- yum install -y maven
19
+ pkgcmd=yum
20
+ if ! command $pkgcmd
21
+ then
22
+ pkgcmd=microdnf
23
+ fi
24
+
25
+ $pkgcmd update -y
26
+ $pkgcmd install -y maven
21
27
mkdir -p /opt/ibm/wlp/usr/shared/resources/infinispan
22
28
echo ' <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.openliberty</groupId> <artifactId>openliberty-infinispan-client</artifactId> <version>1.0</version> <!-- https://mvnrepository.com/artifact/org.infinispan/infinispan-jcache-remote --> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <version>10.1.3.Final</version> </dependency> </dependencies></project>' > /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
23
29
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml versions:use-latest-releases -DallowMajorUpdates=false
24
30
mvn -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml dependency:copy-dependencies -DoutputDirectory=/opt/ibm/wlp/usr/shared/resources/infinispan
25
- yum remove -y maven
31
+ # This fails with dependency errors using microdnf on ubi-minimal, but it is okay to let it fail
32
+ yum remove -y maven || true
26
33
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/pom.xml
27
34
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/jboss-transaction-api* .jar
28
35
rm -f /opt/ibm/wlp/usr/shared/resources/infinispan/reactive-streams-* .jar
You can’t perform that action at this time.
0 commit comments