This is an automated email from the ASF dual-hosted git repository. porcelli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/main by this push: new 92d957078f [incubator-kie-issues#1534] Remove gradle IT tests (#3724) 92d957078f is described below commit 92d957078fc4e345b52ea885685986537690b7ee Author: Matheus Cruz <56329339+mcruz...@users.noreply.github.com> AuthorDate: Fri Nov 1 22:19:58 2024 -0300 [incubator-kie-issues#1534] Remove gradle IT tests (#3724) --- .mvn/maven.config | 3 - .mvn/wrapper/MavenWrapperDownloader.java | 117 ----------- .mvn/wrapper/maven-wrapper.jar | Bin 50710 -> 0 bytes .mvn/wrapper/maven-wrapper.properties | 21 -- .../integration-tests-quarkus-gradle/README.md | 26 --- .../.gitignore | 56 ----- .../build.gradle | 58 ----- .../gradle/wrapper/gradle-wrapper.jar | Bin 59821 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 24 --- .../gradlew | 234 --------------------- .../gradlew.bat | 89 -------- .../settings.gradle | 30 --- .../main/resources/org/acme/travels/scripts.bpmn | 180 ---------------- .../src/main/resources/gradle.properties | 27 --- quarkus/integration-tests/pom.xml | 1 - 15 files changed, 866 deletions(-) diff --git a/.mvn/maven.config b/.mvn/maven.config deleted file mode 100644 index 0ea53cd508..0000000000 --- a/.mvn/maven.config +++ /dev/null @@ -1,3 +0,0 @@ --Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --Dmaven.wagon.http.retryHandler.requestSentEnabled=true --Dmaven.wagon.http.retryHandler.count=10 \ No newline at end of file diff --git a/.mvn/wrapper/MavenWrapperDownloader.java b/.mvn/wrapper/MavenWrapperDownloader.java deleted file mode 100644 index b901097f2d..0000000000 --- a/.mvn/wrapper/MavenWrapperDownloader.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2007-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import java.net.*; -import java.io.*; -import java.nio.channels.*; -import java.util.Properties; - -public class MavenWrapperDownloader { - - private static final String WRAPPER_VERSION = "0.5.6"; - /** - * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. - */ - private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" - + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; - - /** - * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to - * use instead of the default one. - */ - private static final String MAVEN_WRAPPER_PROPERTIES_PATH = - ".mvn/wrapper/maven-wrapper.properties"; - - /** - * Path where the maven-wrapper.jar will be saved to. - */ - private static final String MAVEN_WRAPPER_JAR_PATH = - ".mvn/wrapper/maven-wrapper.jar"; - - /** - * Name of the property which should be used to override the default download url for the wrapper. - */ - private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; - - public static void main(String args[]) { - System.out.println("- Downloader started"); - File baseDirectory = new File(args[0]); - System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); - - // If the maven-wrapper.properties exists, read it and check if it contains a custom - // wrapperUrl parameter. - File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); - String url = DEFAULT_DOWNLOAD_URL; - if(mavenWrapperPropertyFile.exists()) { - FileInputStream mavenWrapperPropertyFileInputStream = null; - try { - mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); - Properties mavenWrapperProperties = new Properties(); - mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); - url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); - } catch (IOException e) { - System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); - } finally { - try { - if(mavenWrapperPropertyFileInputStream != null) { - mavenWrapperPropertyFileInputStream.close(); - } - } catch (IOException e) { - // Ignore ... - } - } - } - System.out.println("- Downloading from: " + url); - - File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); - if(!outputFile.getParentFile().exists()) { - if(!outputFile.getParentFile().mkdirs()) { - System.out.println( - "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); - } - } - System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); - try { - downloadFileFromURL(url, outputFile); - System.out.println("Done"); - System.exit(0); - } catch (Throwable e) { - System.out.println("- Error downloading"); - e.printStackTrace(); - System.exit(1); - } - } - - private static void downloadFileFromURL(String urlString, File destination) throws Exception { - if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { - String username = System.getenv("MVNW_USERNAME"); - char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(username, password); - } - }); - } - URL website = new URL(urlString); - ReadableByteChannel rbc; - rbc = Channels.newChannel(website.openStream()); - FileOutputStream fos = new FileOutputStream(destination); - fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); - fos.close(); - rbc.close(); - } - -} diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 2cc7d4a55c..0000000000 Binary files a/.mvn/wrapper/maven-wrapper.jar and /dev/null differ diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index 661b1c5244..0000000000 --- a/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/README.md b/quarkus/integration-tests/integration-tests-quarkus-gradle/README.md deleted file mode 100644 index 8b75c6300e..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/README.md +++ /dev/null @@ -1,26 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - --> - -Quarkus Gradle Integration Test -=============================== - -This project will run `./gradlew --no-daemon quarkusBuild` in a specific subdirectory, -configured in the Maven property `${gradle.project.dir}` using the Maven exec plugin. - -You may duplicate this project to add more test cases. diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/.gitignore b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/.gitignore deleted file mode 100644 index 91886e2401..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/.gitignore +++ /dev/null @@ -1,56 +0,0 @@ -### -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -### - -# Gradle -.gradle/ -build/ -gradle.properties - -# Eclipse -.project -.classpath -.settings/ -bin/ - -# IntelliJ -.idea -*.ipr -*.iml -*.iws - -# NetBeans -nb-configuration.xml - -# Visual Studio Code -.vscode -.factorypath - -# OSX -.DS_Store - -# Vim -*.swp -*.swo - -# patch -*.orig -*.rej - -# Local environment -.env diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/build.gradle b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/build.gradle deleted file mode 100644 index 7aba25d985..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/build.gradle +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -plugins { - id 'java' - id 'io.quarkus' -} - -repositories { - mavenCentral() - mavenLocal() -} - -dependencies { - implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") - implementation "org.kie.kogito:kogito-bom:${kogitoVersion}" - - implementation "org.jbpm:jbpm-quarkus:${kogitoVersion}" - implementation 'io.quarkus:quarkus-arc' - implementation 'io.quarkus:quarkus-resteasy' - implementation 'io.quarkus:quarkus-resteasy-jackson' - implementation 'org.eclipse.microprofile.openapi:microprofile-openapi-api' - testImplementation 'io.quarkus:quarkus-junit5' - testImplementation 'io.rest-assured:rest-assured' -} - -group 'org.kie.kogito.examples' -version '1.0.0-SNAPSHOT' - -java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 -} - -compileJava { - options.encoding = 'UTF-8' - options.compilerArgs << '-parameters' -} - -compileTestJava { - options.encoding = 'UTF-8' -} diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.jar b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 41d9927a4d..0000000000 Binary files a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.properties b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index a6a3d0f425..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew deleted file mode 100755 index 1b6c787337..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew +++ /dev/null @@ -1,234 +0,0 @@ -#!/bin/sh - -# -# Copyright © 2015-2021 the original authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -# -# Gradle start up script for POSIX generated by Gradle. -# -# Important for running: -# -# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is -# noncompliant, but you have some other compliant shell such as ksh or -# bash, then to run this script, type that shell name before the whole -# command line, like: -# -# ksh Gradle -# -# Busybox and similar reduced shells will NOT work, because this script -# requires all of these POSIX shell features: -# * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». -# -# Important for patching: -# -# (2) This script targets any POSIX shell, so it avoids extensions provided -# by Bash, Ksh, etc; in particular arrays are avoided. -# -# The "traditional" practice of packing multiple parameters into a -# space-separated string is a well documented source of bugs and security -# problems, so this is (mostly) avoided, by progressively accumulating -# options in "$@", and eventually passing that to Java. -# -# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, -# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; -# see the in-line comments for details. -# -# There are tweaks for specific operating systems such as AIX, CygWin, -# Darwin, MinGW, and NonStop. -# -# (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt -# within the Gradle project. -# -# You can find Gradle at https://github.com/gradle/gradle/. -# -############################################################################## - -# Attempt to set APP_HOME - -# Resolve links: $0 may be a link -app_path=$0 - -# Need this for daisy-chained symlinks. -while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] -do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac -done - -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" -APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD=maximum - -warn () { - echo "$*" -} >&2 - -die () { - echo - echo "$*" - echo - exit 1 -} >&2 - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac -fi - -# Collect all arguments for the java command, stacking in reverse order: -# * args from the command line -# * the main class name -# * -classpath -# * -D...appname settings -# * --module-path (only if needed) -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. - -# For Cygwin or MSYS, switch paths to Windows format before running java -if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done -fi - -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. - -set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" - -# Use "xargs" to parse quoted args. -# -# With -n1 it outputs one arg per line, with the quotes and backslashes removed. -# -# In Bash we could simply go: -# -# readarray ARGS < <( xargs -n1 <<<"$var" ) && -# set -- "${ARGS[@]}" "$@" -# -# but POSIX shell has neither arrays nor command substitution, so instead we -# post-process each arg (as a line of input to sed) to backslash-escape any -# character that might be a shell metacharacter, then use eval to reverse -# that process (while maintaining the separation between arguments), and wrap -# the whole thing up as a single "set" statement. -# -# This will of course break if any of these variables contains a newline or -# an unmatched quote. -# - -eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' - -exec "$JAVACMD" "$@" diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew.bat b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew.bat deleted file mode 100755 index ac1b06f938..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/settings.gradle b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/settings.gradle deleted file mode 100644 index 003e9b8fb8..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/settings.gradle +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -pluginManagement { - repositories { - mavenLocal() - mavenCentral() - gradlePluginPortal() - } - plugins { - id "${quarkusPluginId}" version "${quarkusPluginVersion}" - } -} -rootProject.name='integration-tests-quarkus-gradle-project' diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/src/main/resources/org/acme/travels/scripts.bpmn b/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/src/main/resources/org/acme/travels/scripts.bpmn deleted file mode 100644 index 9b546ebf67..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-quarkus-gradle-project/src/main/resources/org/acme/travels/scripts.bpmn +++ /dev/null @@ -1,180 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> - -<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_xvWdMEemEeq1Q5UMtA4RFA" xsi:schemaLocation="http://www.omg.org/spec/BPMN/201 [...] - <bpmn2:itemDefinition id="_nameItem" structureRef="String"/> - <bpmn2:itemDefinition id="_messageItem" structureRef="String"/> - <bpmn2:process id="scripts" drools:packageName="org.acme.travels" drools:version="1.0" drools:adHoc="false" name="scripts" isExecutable="true"> - <bpmn2:property id="name" itemSubjectRef="_nameItem" name="name"/> - <bpmn2:property id="message" itemSubjectRef="_messageItem" name="message"/> - <bpmn2:sequenceFlow id="_80DA9F1E-743F-4BAF-BFF3-67DDC905E3B7" sourceRef="_D02D169A-0CF1-4276-93FC-96FD33057A83" targetRef="_8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC"> - <bpmn2:extensionElements> - <drools:metaData name="isAutoConnection.source"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - <drools:metaData name="isAutoConnection.target"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - </bpmn2:sequenceFlow> - <bpmn2:sequenceFlow id="_FEBCC225-139C-47B0-BA16-7878EEE3532D" sourceRef="_E96920FB-69BF-4C28-9F65-FC3EFAF29AD9" targetRef="_CFA059DC-2FC1-4151-A3EC-990F0B4E3236"> - <bpmn2:extensionElements> - <drools:metaData name="isAutoConnection.source"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - <drools:metaData name="isAutoConnection.target"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - </bpmn2:sequenceFlow> - <bpmn2:sequenceFlow id="_B4A85C14-EA42-43CA-9BA2-CB92E32FACF5" sourceRef="_8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC" targetRef="_E96920FB-69BF-4C28-9F65-FC3EFAF29AD9"> - <bpmn2:extensionElements> - <drools:metaData name="isAutoConnection.source"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - <drools:metaData name="isAutoConnection.target"> - <drools:metaValue><![CDATA[true]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - </bpmn2:sequenceFlow> - <bpmn2:endEvent id="_CFA059DC-2FC1-4151-A3EC-990F0B4E3236" name="End Process"> - <bpmn2:extensionElements> - <drools:metaData name="elementname"> - <drools:metaValue><![CDATA[End Process]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - <bpmn2:incoming>_FEBCC225-139C-47B0-BA16-7878EEE3532D</bpmn2:incoming> - </bpmn2:endEvent> - <bpmn2:startEvent id="_D02D169A-0CF1-4276-93FC-96FD33057A83" name="StartProcess"> - <bpmn2:extensionElements> - <drools:metaData name="elementname"> - <drools:metaValue><![CDATA[StartProcess]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - <bpmn2:outgoing>_80DA9F1E-743F-4BAF-BFF3-67DDC905E3B7</bpmn2:outgoing> - </bpmn2:startEvent> - <bpmn2:scriptTask id="_8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC" name="Say Hello" scriptFormat="http://www.java.com/java"> - <bpmn2:extensionElements> - <drools:metaData name="elementname"> - <drools:metaValue><![CDATA[Say Hello]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - <bpmn2:incoming>_80DA9F1E-743F-4BAF-BFF3-67DDC905E3B7</bpmn2:incoming> - <bpmn2:outgoing>_B4A85C14-EA42-43CA-9BA2-CB92E32FACF5</bpmn2:outgoing> - <bpmn2:script><![CDATA[System.out.println("Hello " + name);]]></bpmn2:script> - </bpmn2:scriptTask> - <bpmn2:scriptTask id="_E96920FB-69BF-4C28-9F65-FC3EFAF29AD9" name="Update Message" scriptFormat="http://www.java.com/java"> - <bpmn2:extensionElements> - <drools:metaData name="elementname"> - <drools:metaValue><![CDATA[Update Message]]></drools:metaValue> - </drools:metaData> - </bpmn2:extensionElements> - <bpmn2:incoming>_B4A85C14-EA42-43CA-9BA2-CB92E32FACF5</bpmn2:incoming> - <bpmn2:outgoing>_FEBCC225-139C-47B0-BA16-7878EEE3532D</bpmn2:outgoing> - <bpmn2:script><![CDATA[kcontext.setVariable("message", "Hello " + name);]]></bpmn2:script> - </bpmn2:scriptTask> - </bpmn2:process> - <bpmndi:BPMNDiagram id="_xvXEQEemEeq1Q5UMtA4RFA"> - <bpmndi:BPMNPlane id="_xvXEQUemEeq1Q5UMtA4RFA" bpmnElement="scripts"> - <bpmndi:BPMNShape id="shape__E96920FB-69BF-4C28-9F65-FC3EFAF29AD9" bpmnElement="_E96920FB-69BF-4C28-9F65-FC3EFAF29AD9"> - <dc:Bounds height="102.0" width="154.0" x="733.0" y="141.0"/> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="shape__8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC" bpmnElement="_8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC"> - <dc:Bounds height="102.0" width="154.0" x="499.0" y="141.0"/> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="shape__D02D169A-0CF1-4276-93FC-96FD33057A83" bpmnElement="_D02D169A-0CF1-4276-93FC-96FD33057A83"> - <dc:Bounds height="56.0" width="56.0" x="363.0" y="164.0"/> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="shape__CFA059DC-2FC1-4151-A3EC-990F0B4E3236" bpmnElement="_CFA059DC-2FC1-4151-A3EC-990F0B4E3236"> - <dc:Bounds height="56.0" width="56.0" x="967.0" y="164.0"/> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="edge_shape__8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC_to_shape__E96920FB-69BF-4C28-9F65-FC3EFAF29AD9" bpmnElement="_B4A85C14-EA42-43CA-9BA2-CB92E32FACF5"> - <di:waypoint xsi:type="dc:Point" x="653.0" y="192.0"/> - <di:waypoint xsi:type="dc:Point" x="733.0" y="192.0"/> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="edge_shape__E96920FB-69BF-4C28-9F65-FC3EFAF29AD9_to_shape__CFA059DC-2FC1-4151-A3EC-990F0B4E3236" bpmnElement="_FEBCC225-139C-47B0-BA16-7878EEE3532D"> - <di:waypoint xsi:type="dc:Point" x="887.0" y="192.0"/> - <di:waypoint xsi:type="dc:Point" x="967.0" y="192.0"/> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="edge_shape__D02D169A-0CF1-4276-93FC-96FD33057A83_to_shape__8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC" bpmnElement="_80DA9F1E-743F-4BAF-BFF3-67DDC905E3B7"> - <di:waypoint xsi:type="dc:Point" x="419.0" y="192.0"/> - <di:waypoint xsi:type="dc:Point" x="499.0" y="192.0"/> - </bpmndi:BPMNEdge> - </bpmndi:BPMNPlane> - </bpmndi:BPMNDiagram> - <bpmn2:relationship id="_xvXEQkemEeq1Q5UMtA4RFA" type="BPSimData"> - <bpmn2:extensionElements> - <bpsim:BPSimData> - <bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario"> - <bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters"/> - <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_E96920FB-69BF-4C28-9F65-FC3EFAF29AD9" id="_xvXEQ0emEeq1Q5UMtA4RFA"> - <bpsim:TimeParameters xsi:type="bpsim:TimeParameters"> - <bpsim:ProcessingTime xsi:type="bpsim:Parameter"> - <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/> - </bpsim:ProcessingTime> - </bpsim:TimeParameters> - <bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters"> - <bpsim:Availability xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:Availability> - <bpsim:Quantity xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:Quantity> - </bpsim:ResourceParameters> - <bpsim:CostParameters xsi:type="bpsim:CostParameters"> - <bpsim:UnitCost xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:UnitCost> - </bpsim:CostParameters> - </bpsim:ElementParameters> - <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_8E2E0452-86B3-4B86-B8A1-CE3B78B0B2EC" id="_xvXEREemEeq1Q5UMtA4RFA"> - <bpsim:TimeParameters xsi:type="bpsim:TimeParameters"> - <bpsim:ProcessingTime xsi:type="bpsim:Parameter"> - <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/> - </bpsim:ProcessingTime> - </bpsim:TimeParameters> - <bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters"> - <bpsim:Availability xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:Availability> - <bpsim:Quantity xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:Quantity> - </bpsim:ResourceParameters> - <bpsim:CostParameters xsi:type="bpsim:CostParameters"> - <bpsim:UnitCost xsi:type="bpsim:Parameter"> - <bpsim:FloatingParameter value="0.0"/> - </bpsim:UnitCost> - </bpsim:CostParameters> - </bpsim:ElementParameters> - <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_D02D169A-0CF1-4276-93FC-96FD33057A83" id="_xvXERUemEeq1Q5UMtA4RFA"> - <bpsim:TimeParameters xsi:type="bpsim:TimeParameters"> - <bpsim:ProcessingTime xsi:type="bpsim:Parameter"> - <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/> - </bpsim:ProcessingTime> - </bpsim:TimeParameters> - </bpsim:ElementParameters> - </bpsim:Scenario> - </bpsim:BPSimData> - </bpmn2:extensionElements> - <bpmn2:source>_xvWdMEemEeq1Q5UMtA4RFA</bpmn2:source> - <bpmn2:target>_xvWdMEemEeq1Q5UMtA4RFA</bpmn2:target> - </bpmn2:relationship> -</bpmn2:definitions> diff --git a/quarkus/integration-tests/integration-tests-quarkus-gradle/src/main/resources/gradle.properties b/quarkus/integration-tests/integration-tests-quarkus-gradle/src/main/resources/gradle.properties deleted file mode 100644 index 5f93ba51cb..0000000000 --- a/quarkus/integration-tests/integration-tests-quarkus-gradle/src/main/resources/gradle.properties +++ /dev/null @@ -1,27 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# Gradle properties -quarkusPluginId=io.quarkus -quarkusPluginVersion=${version.io.quarkus} -quarkusPlatformGroupId=io.quarkus -quarkusPlatformArtifactId=quarkus-bom -quarkusPlatformVersion=${version.io.quarkus} -kogitoVersion=${project.version} -org.gradle.jvmargs=-Xmx512m -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true diff --git a/quarkus/integration-tests/pom.xml b/quarkus/integration-tests/pom.xml index 48ba322a8b..bd9d50e860 100644 --- a/quarkus/integration-tests/pom.xml +++ b/quarkus/integration-tests/pom.xml @@ -50,7 +50,6 @@ <module>integration-tests-quarkus-processes-persistence</module> <module>integration-tests-quarkus-usertasks</module> <module>integration-tests-quarkus-source-files</module> - <module>integration-tests-quarkus-gradle</module> </modules> </project> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@kie.apache.org For additional commands, e-mail: commits-h...@kie.apache.org