Skip to content

Commit

Permalink
arquillian jetty 2.0.0 final
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Aug 21, 2023
1 parent f4caba0 commit 434e9da
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 33 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,27 @@ jobs:

steps:

- name: Checkout Arquillian
# - name: Checkout Arquillian
# uses: actions/checkout@v3
# with:
# repository: 'arquillian/arquillian-container-jetty'
# ref: 'master'
#
# - name: Set up JDK
# uses: actions/setup-java@v3
# with:
# java-version: 17
# distribution: 'temurin'
# cache: 'maven'
#
# - name: Build Arquillian with Maven
# run: mvn install -B -U

- name: Checkout Servlet TCK
uses: actions/checkout@v3
with:
repository: 'arquillian/arquillian-container-jetty'
ref: 'master'
repository: 'olamy/jakartaee-tck'
ref: 'tckrefactor'

- name: Set up JDK
uses: actions/setup-java@v3
Expand All @@ -50,15 +66,6 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- name: Build Arquillian with Maven
run: mvn install -B -U

- name: Checkout Servlet TCK
uses: actions/checkout@v3
with:
repository: 'olamy/jakartaee-tck'
ref: 'tckrefactor'

- name: Install legacy javatest jar
run: mvn -ntp install:install-file -Dfile=./lib/javatest.jar -DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar

Expand Down
40 changes: 20 additions & 20 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,26 @@ pipeline {
}
}
}
stage("Checkout Build Arquillian Jetty") {
steps {
ws('arquillian') {
deleteDir()
checkout([$class: 'GitSCM',
branches: [[name: "*/$ARQUILLIAN_JETTY_BRANCH"]],
extensions: [[$class: 'CloneOption', depth: 1, noTags: true, shallow: true]],
userRemoteConfigs: [[url: 'https://github.com/${GITHUB_ORG_ARQUILLIAN}/arquillian-container-jetty']]])
timeout(time: 30, unit: 'MINUTES') {
withEnv(["JAVA_HOME=${tool "$JDKBUILD"}",
"PATH+MAVEN=${env.JAVA_HOME}/bin:${tool "maven3"}/bin",
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
configFileProvider([configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) {
sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -V -B -U clean install -DskipTests -T3 -e -Denforcer.skip=true"
}
}
}
}
}
}
// stage("Checkout Build Arquillian Jetty") {
// steps {
// ws('arquillian') {
// deleteDir()
// checkout([$class: 'GitSCM',
// branches: [[name: "*/$ARQUILLIAN_JETTY_BRANCH"]],
// extensions: [[$class: 'CloneOption', depth: 1, noTags: true, shallow: true]],
// userRemoteConfigs: [[url: 'https://github.com/${GITHUB_ORG_ARQUILLIAN}/arquillian-container-jetty']]])
// timeout(time: 30, unit: 'MINUTES') {
// withEnv(["JAVA_HOME=${tool "$JDKBUILD"}",
// "PATH+MAVEN=${env.JAVA_HOME}/bin:${tool "maven3"}/bin",
// "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
// configFileProvider([configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) {
// sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -V -B -U clean install -DskipTests -T3 -e -Denforcer.skip=true"
// }
// }
// }
// }
// }
// }

//}
//}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<junit.version>5.10.0</junit.version>
<slf4j.version>2.0.7</slf4j.version>
<arquillian.core.version>1.7.0.Alpha14</arquillian.core.version> <!-- 1.7.0.Final-SNAPSHOT -->
<arquillian.jetty.version>2.0.0.Final-SNAPSHOT</arquillian.jetty.version>
<arquillian.jetty.version>2.0.0.Final</arquillian.jetty.version>
<arquillian.jetty.artifactId>arquillian-jetty-embedded-12-ee9</arquillian.jetty.artifactId>
<jetty.version>12.0.0</jetty.version> <!-- 11.0.9-SNAPSHOT -->
<surefire.version>3.1.0</surefire.version> <!-- 3.0.0-M7-SNAPSHOT -->
Expand Down

0 comments on commit 434e9da

Please sign in to comment.