diff --git a/.github/ci-prerequisites.sh b/.github/ci-prerequisites.sh old mode 100755 new mode 100644 diff --git a/.github/docker-prune.sh b/.github/docker-prune.sh old mode 100755 new mode 100644 diff --git a/.github/filter-native-tests-json.sh b/.github/filter-native-tests-json.sh old mode 100755 new mode 100644 diff --git a/.github/quarkusbuilditemdoc.java b/.github/quarkusbuilditemdoc.java old mode 100755 new mode 100644 diff --git a/coverage-report/prepare.sh b/coverage-report/prepare.sh old mode 100755 new mode 100644 diff --git a/devtools/gradle/gradlew b/devtools/gradle/gradlew old mode 100755 new mode 100644 diff --git a/devtools/gradle/gradlew.bat b/devtools/gradle/gradlew.bat index ac1b06f93825d..107acd32c4e68 100644 --- a/devtools/gradle/gradlew.bat +++ b/devtools/gradle/gradlew.bat @@ -1,89 +1,89 @@ -@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 +@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/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/host.json b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/host.json index a8fe8c4c8e513..d2059a46b515b 100644 --- a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/host.json +++ b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/host.json @@ -1,3 +1,3 @@ -{ - "version": "2.0" -} +{ + "version": "2.0" +} diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/local.settings.json b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/local.settings.json index 8804ca029cf22..359101f1f57b2 100644 --- a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/local.settings.json +++ b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/azure-functions-http-example/base/azure-config/local.settings.json @@ -1,7 +1,7 @@ -{ - "IsEncrypted": false, - "Values": { - "AzureWebJobsStorage": "", - "FUNCTIONS_WORKER_RUNTIME": "java" - } -} +{ + "IsEncrypted": false, + "Values": { + "AzureWebJobsStorage": "", + "FUNCTIONS_WORKER_RUNTIME": "java" + } +} diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/base/README.tpl.qute.md b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/base/README.tpl.qute.md old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/codestart.yml b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/codestart.yml old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/java/src/main/java/org/acme/googlecloudfunctions/HelloWorldBackgroundFunction.java b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/java/src/main/java/org/acme/googlecloudfunctions/HelloWorldBackgroundFunction.java old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/java/src/main/java/org/acme/googlecloudfunctions/HelloWorldHttpFunction.java b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-example/java/src/main/java/org/acme/googlecloudfunctions/HelloWorldHttpFunction.java old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/config-yaml-codestart/base/src/main/resources/application.yml b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/config-yaml-codestart/base/src/main/resources/application.yml old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/config-yaml-codestart/kotlin/src/main/kotlin/org/acme/GreetingConfig.kt b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/config-yaml-codestart/kotlin/src/main/kotlin/org/acme/GreetingConfig.kt old mode 100755 new mode 100644 diff --git a/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/smallrye-health-codestart/kotlin/src/main/kotlin/org/acme/MyLivenessCheck.kt b/devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/smallrye-health-codestart/kotlin/src/main/kotlin/org/acme/MyLivenessCheck.kt old mode 100755 new mode 100644 diff --git a/docs/sync-web-site.sh b/docs/sync-web-site.sh old mode 100755 new mode 100644 diff --git a/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/host.json b/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/host.json index a8fe8c4c8e513..d2059a46b515b 100644 --- a/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/host.json +++ b/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/host.json @@ -1,3 +1,3 @@ -{ - "version": "2.0" -} +{ + "version": "2.0" +} diff --git a/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/local.settings.json b/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/local.settings.json index 8804ca029cf22..359101f1f57b2 100644 --- a/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/local.settings.json +++ b/extensions/azure-functions-http/maven-archetype/src/main/resources/archetype-resources/azure-config/local.settings.json @@ -1,7 +1,7 @@ -{ - "IsEncrypted": false, - "Values": { - "AzureWebJobsStorage": "", - "FUNCTIONS_WORKER_RUNTIME": "java" - } -} +{ + "IsEncrypted": false, + "Values": { + "AzureWebJobsStorage": "", + "FUNCTIONS_WORKER_RUNTIME": "java" + } +} diff --git a/extensions/container-image/container-image-jib/deployment/src/main/java/io/quarkus/container/image/jib/deployment/PlatformHelper.java b/extensions/container-image/container-image-jib/deployment/src/main/java/io/quarkus/container/image/jib/deployment/PlatformHelper.java old mode 100755 new mode 100644 diff --git a/extensions/google-cloud-functions/deployment/pom.xml b/extensions/google-cloud-functions/deployment/pom.xml old mode 100755 new mode 100644 diff --git a/extensions/google-cloud-functions/deployment/src/main/java/io/quarkus/gcp/functions/deployment/GoogleCloudFunctionsProcessor.java b/extensions/google-cloud-functions/deployment/src/main/java/io/quarkus/gcp/functions/deployment/GoogleCloudFunctionsProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/google-cloud-functions/pom.xml b/extensions/google-cloud-functions/pom.xml old mode 100755 new mode 100644 diff --git a/extensions/google-cloud-functions/runtime/pom.xml b/extensions/google-cloud-functions/runtime/pom.xml old mode 100755 new mode 100644 diff --git a/extensions/google-cloud-functions/runtime/src/main/java/io/quarkus/gcp/functions/QuarkusHttpFunction.java b/extensions/google-cloud-functions/runtime/src/main/java/io/quarkus/gcp/functions/QuarkusHttpFunction.java old mode 100755 new mode 100644 diff --git a/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/sql_load_script/ImportMultipleSqlLoadScriptsFileAbsentTestCase.java b/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/sql_load_script/ImportMultipleSqlLoadScriptsFileAbsentTestCase.java old mode 100755 new mode 100644 diff --git a/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/sql_load_script/ImportMultipleSqlLoadScriptsTestCase.java b/extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/sql_load_script/ImportMultipleSqlLoadScriptsTestCase.java old mode 100755 new mode 100644 diff --git a/extensions/hibernate-orm/deployment/src/test/resources/application-import-multiple-load-scripts-test.properties b/extensions/hibernate-orm/deployment/src/test/resources/application-import-multiple-load-scripts-test.properties old mode 100755 new mode 100644 diff --git a/extensions/hibernate-orm/deployment/src/test/resources/import-multiple-load-scripts-1.sql b/extensions/hibernate-orm/deployment/src/test/resources/import-multiple-load-scripts-1.sql old mode 100755 new mode 100644 diff --git a/extensions/hibernate-orm/deployment/src/test/resources/import-multiple-load-scripts-2.sql b/extensions/hibernate-orm/deployment/src/test/resources/import-multiple-load-scripts-2.sql old mode 100755 new mode 100644 diff --git a/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java b/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/jsonb/deployment/src/main/java/io/quarkus/jsonb/deployment/JsonbProcessor.java b/extensions/jsonb/deployment/src/main/java/io/quarkus/jsonb/deployment/JsonbProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/jsonp/deployment/src/main/java/io/quarkus/jsonp/deployment/JsonpProcessor.java b/extensions/jsonp/deployment/src/main/java/io/quarkus/jsonp/deployment/JsonpProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir deleted file mode 120000 index bc3e42406cdad..0000000000000 --- a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir +++ /dev/null @@ -1 +0,0 @@ -.hidden-dir/ \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir new file mode 100644 index 0000000000000..bc3e42406cdad --- /dev/null +++ b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/.hidden-symlink-dir @@ -0,0 +1 @@ +.hidden-dir/ \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider deleted file mode 120000 index d093f1987eb5c..0000000000000 --- a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider +++ /dev/null @@ -1 +0,0 @@ -.hidden-symlink-dir/provider \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider new file mode 100644 index 0000000000000..d093f1987eb5c --- /dev/null +++ b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/provider @@ -0,0 +1 @@ +.hidden-symlink-dir/provider \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key deleted file mode 120000 index 49eda851c572d..0000000000000 --- a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key +++ /dev/null @@ -1 +0,0 @@ -.hidden-symlink-dir/test-secret-key \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key new file mode 100644 index 0000000000000..49eda851c572d --- /dev/null +++ b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/test-secret-key @@ -0,0 +1 @@ +.hidden-symlink-dir/test-secret-key \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type deleted file mode 120000 index 2df1652a93900..0000000000000 --- a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type +++ /dev/null @@ -1 +0,0 @@ -.hidden-symlink-dir/type \ No newline at end of file diff --git a/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type new file mode 100644 index 0000000000000..2df1652a93900 --- /dev/null +++ b/extensions/kubernetes-service-binding/runtime/src/test/resources/k8s/test-k8s/type @@ -0,0 +1 @@ +.hidden-symlink-dir/type \ No newline at end of file diff --git a/extensions/mailer/runtime/src/test/resources/certs/generate-certs.sh b/extensions/mailer/runtime/src/test/resources/certs/generate-certs.sh old mode 100755 new mode 100644 diff --git a/extensions/oidc-client/deployment/src/test/resources/exportedCertificate.pem b/extensions/oidc-client/deployment/src/test/resources/exportedCertificate.pem index e69e9fe5bd1d1..a969fc12a8fd1 100644 --- a/extensions/oidc-client/deployment/src/test/resources/exportedCertificate.pem +++ b/extensions/oidc-client/deployment/src/test/resources/exportedCertificate.pem @@ -1,21 +1,21 @@ -----BEGIN CERTIFICATE----- -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 d5T2ko9LWvozen0sN9+L5OLVE82q3NHwJNm3 -----END CERTIFICATE----- diff --git a/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoEntity.kt b/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoEntity.kt old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoEntityBase.kt b/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoEntityBase.kt old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoRepository.kt b/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoRepository.kt old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoRepositoryBase.kt b/extensions/panache/mongodb-panache-kotlin/runtime/src/main/kotlin/io/quarkus/mongodb/panache/kotlin/PanacheMongoRepositoryBase.kt old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntity.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntity.java old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepository.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepository.java old mode 100755 new mode 100644 diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java old mode 100755 new mode 100644 diff --git a/extensions/resteasy-classic/rest-client-jaxb/deployment/src/main/java/io/quarkus/restclient/jaxb/deployment/RestClientJaxbProcessor.java b/extensions/resteasy-classic/rest-client-jaxb/deployment/src/main/java/io/quarkus/restclient/jaxb/deployment/RestClientJaxbProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/resteasy-classic/rest-client-jsonb/deployment/src/main/java/io/quarkus/restclient/jsonb/deployment/RestClientJsonbProcessor.java b/extensions/resteasy-classic/rest-client-jsonb/deployment/src/main/java/io/quarkus/restclient/jsonb/deployment/RestClientJsonbProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java b/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/resteasy-classic/resteasy-jsonb/deployment/src/main/java/io/quarkus/resteasy/jsonb/deployment/ResteasyJsonbProcessor.java b/extensions/resteasy-classic/resteasy-jsonb/deployment/src/main/java/io/quarkus/resteasy/jsonb/deployment/ResteasyJsonbProcessor.java old mode 100755 new mode 100644 diff --git a/extensions/resteasy-classic/resteasy-server-common/deployment/src/main/java/io/quarkus/resteasy/server/common/deployment/ResteasyServerCommonProcessor.java b/extensions/resteasy-classic/resteasy-server-common/deployment/src/main/java/io/quarkus/resteasy/server/common/deployment/ResteasyServerCommonProcessor.java old mode 100755 new mode 100644 diff --git a/independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/matching/GeneralResource.java b/independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/matching/GeneralResource.java old mode 100755 new mode 100644 diff --git a/independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/matching/SpecificResource.java b/independent-projects/resteasy-reactive/server/vertx/src/test/java/org/jboss/resteasy/reactive/server/vertx/test/matching/SpecificResource.java old mode 100755 new mode 100644 diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java deleted file mode 100644 index d331a251a1666..0000000000000 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-extension/code/integration-tests/java/integration-tests/src/test/java/{package-name.dir}/it/Native{class-name-base}ResourceIT.tpl.qute.java +++ /dev/null @@ -1,7 +0,0 @@ -package {package-name}.it; - -import io.quarkus.test.junit.NativeImageTest; - -@NativeImageTest -public class Native{class-name-base}ResourceIT extends {class-name-base}ResourceTest { -} diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-jbang/tooling/jbang-wrapper/base/jbang b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus-jbang/tooling/jbang-wrapper/base/jbang old mode 100755 new mode 100644 diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/gradle-wrapper/base/gradlew.bat b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/gradle-wrapper/base/gradlew.bat old mode 100755 new mode 100644 index a9f778a7a964b..5093609d512a9 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/gradle-wrapper/base/gradlew.bat +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/gradle-wrapper/base/gradlew.bat @@ -1,104 +1,104 @@ -@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 init - -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 init - -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 - -:init -@rem Get command-line arguments, handling Windows variants - -if not "%OS%" == "Windows_NT" goto win9xME_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* - -: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 %CMD_LINE_ARGS% - -: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 +@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 init + +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 init + +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 + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +: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 %CMD_LINE_ARGS% + +: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/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/maven-wrapper/base/mvnw.tpl.qute b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/tooling/maven-wrapper/base/mvnw.tpl.qute old mode 100755 new mode 100644 diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/commands/CreateProject.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/commands/CreateProject.java index 87b383ec65b82..35378317d65a5 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/commands/CreateProject.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/commands/CreateProject.java @@ -43,7 +43,7 @@ public class CreateProject { public static final String EXTRA_CODESTARTS = "quarkus.create-project.extra-codestarts"; private QuarkusProject quarkusProject; - private String javaTarget; + private String javaVersion; private Set extensions = new HashSet<>(); private Map values = new HashMap<>(); @@ -98,8 +98,8 @@ public CreateProject extraCodestarts(Set extraCodestarts) { return this; } - public CreateProject javaTarget(String javaTarget) { - this.javaTarget = javaTarget; + public CreateProject javaVersion(String javaVersion) { + this.javaVersion = javaVersion; return this; } @@ -199,7 +199,7 @@ public boolean doCreateProject(final Map context) throws Quarkus } public QuarkusCommandOutcome execute() throws QuarkusCommandException { - CreateProjectHelper.setJavaVersion(values, javaTarget); + CreateProjectHelper.setJavaVersion(values, javaVersion); CreateProjectHelper.handleSpringConfiguration(values, extensions); // TODO: sanitize? handle language extensions? diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/CreateProjectHelper.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/CreateProjectHelper.java index 33e670544c398..5f0edc334d866 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/CreateProjectHelper.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/CreateProjectHelper.java @@ -76,18 +76,18 @@ public static SourceType determineSourceType(Set extensions) { return sourceType.orElse(SourceType.JAVA); } - public static void setJavaVersion(Map values, String javaTarget) { + public static void setJavaVersion(Map values, String javaVersion) { requireNonNull(values, "Must provide values"); Matcher matcher = JAVA_VERSION_PATTERN - .matcher(javaTarget != null ? javaTarget : System.getProperty("java.version", "")); + .matcher(javaVersion != null ? javaVersion : System.getProperty("java.version", "")); if (matcher.matches()) { String versionExtracted = matcher.group(1); String version = JAVA_VERSIONS_LTS.contains(versionExtracted) ? versionExtracted : DEFAULT_JAVA_VERSION; - values.put(ProjectGenerator.JAVA_TARGET, version); + values.put(ProjectGenerator.JAVA_VERSION, version); } else { - values.put(ProjectGenerator.JAVA_TARGET, DEFAULT_JAVA_VERSION); + values.put(ProjectGenerator.JAVA_VERSION, DEFAULT_JAVA_VERSION); } } diff --git a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/ProjectGenerator.java b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/ProjectGenerator.java index 3fa899fcf0432..e871b83edbd2d 100644 --- a/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/ProjectGenerator.java +++ b/independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/project/codegen/ProjectGenerator.java @@ -24,7 +24,7 @@ public interface ProjectGenerator { String EXTENSIONS = "extensions"; String IS_SPRING = "is_spring"; String RESOURCE_PATH = "path"; - String JAVA_TARGET = "java_target"; + String JAVA_VERSION = "java_version"; String APP_CONFIG = "app-config"; // codestart uses dashes String getName(); diff --git a/integration-tests/gradle/gradlew b/integration-tests/gradle/gradlew old mode 100755 new mode 100644 diff --git a/integration-tests/gradle/gradlew.bat b/integration-tests/gradle/gradlew.bat index ac1b06f93825d..107acd32c4e68 100644 --- a/integration-tests/gradle/gradlew.bat +++ b/integration-tests/gradle/gradlew.bat @@ -1,89 +1,89 @@ -@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 +@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/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/Product.java b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/Product.java index 55fdacfa21b9c..6f72b747c73d1 100644 --- a/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/Product.java +++ b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/Product.java @@ -1,35 +1,35 @@ -package org.acme.gradle.multi.dao; - -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.NamedQuery; - -@Entity -@NamedQuery(name = "Product.findAll", query = "SELECT p FROM Product p ORDER BY p.name") -public class Product { - @Id - private Integer id; - - @Column - private String name; - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - - -} +package org.acme.gradle.multi.dao; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.NamedQuery; + +@Entity +@NamedQuery(name = "Product.findAll", query = "SELECT p FROM Product p ORDER BY p.name") +public class Product { + @Id + private Integer id; + + @Column + private String name; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + + +} diff --git a/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/ProductService.java b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/ProductService.java index bdc27e414f890..2526dcbded5ca 100644 --- a/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/ProductService.java +++ b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/java/org/acme/gradle/multi/dao/ProductService.java @@ -1,18 +1,18 @@ -package org.acme.gradle.multi.dao; - -import java.util.List; - -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.persistence.EntityManager; - -@ApplicationScoped -public class ProductService { - - @Inject - EntityManager em; - - public List getProducts() { - return em.createNamedQuery("Product.findAll", Product.class).getResultList(); - } -} +package org.acme.gradle.multi.dao; + +import java.util.List; + +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Inject; +import javax.persistence.EntityManager; + +@ApplicationScoped +public class ProductService { + + @Inject + EntityManager em; + + public List getProducts() { + return em.createNamedQuery("Product.findAll", Product.class).getResultList(); + } +} diff --git a/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/resources/application.properties b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/resources/application.properties index 2baaa7afab00d..e9ac29e0c1a09 100644 --- a/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/resources/application.properties +++ b/integration-tests/gradle/src/main/resources/composite-project-with-dependencies/gradle-dao/src/main/resources/application.properties @@ -1,5 +1,5 @@ -quarkus.datasource.db-kind = h2 -quarkus.datasource.username = hibernate -quarkus.datasource.password = hibernate -quarkus.datasource.jdbc.url = jdbc:h2:mem:myDB +quarkus.datasource.db-kind = h2 +quarkus.datasource.username = hibernate +quarkus.datasource.password = hibernate +quarkus.datasource.jdbc.url = jdbc:h2:mem:myDB quarkus.hibernate-orm.database.generation=drop-and-create \ No newline at end of file diff --git a/integration-tests/gradle/src/main/resources/multi-module-included-build/external-library/src/main/java/org/acme/lib/LibService.java b/integration-tests/gradle/src/main/resources/multi-module-included-build/external-library/src/main/java/org/acme/lib/LibService.java deleted file mode 100644 index 5f872ecd6a32f..0000000000000 --- a/integration-tests/gradle/src/main/resources/multi-module-included-build/external-library/src/main/java/org/acme/lib/LibService.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.acme.lib; - -import javax.inject.Singleton; - -@Singleton -public class LibService { - public String bar() { - return "bar"; - } -} diff --git a/integration-tests/gradle/update-dependencies.sh b/integration-tests/gradle/update-dependencies.sh old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/NamedQueryWith2QueriesEntity.java b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/NamedQueryWith2QueriesEntity.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/NamedQueryWith2QueriesRepository.java b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/NamedQueryWith2QueriesRepository.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/ObjectWithCompositeId.java b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/ObjectWithCompositeId.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/ObjectWithEmbeddableId.java b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/ObjectWithEmbeddableId.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/NamedQueryWith2QueriesEntity.java b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/NamedQueryWith2QueriesEntity.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/NamedQueryWith2QueriesRepository.java b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/NamedQueryWith2QueriesRepository.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/ObjectWithCompositeId.java b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/ObjectWithCompositeId.java old mode 100755 new mode 100644 diff --git a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/ObjectWithEmbeddableId.java b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/ObjectWithEmbeddableId.java old mode 100755 new mode 100644 diff --git a/integration-tests/kafka-oauth-keycloak/src/test/resources/certificates/gen-ca.sh b/integration-tests/kafka-oauth-keycloak/src/test/resources/certificates/gen-ca.sh old mode 100755 new mode 100644 diff --git a/integration-tests/kafka-oauth-keycloak/src/test/resources/certificates/gen-keycloak-certs.sh b/integration-tests/kafka-oauth-keycloak/src/test/resources/certificates/gen-keycloak-certs.sh old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/AbstractCustomUserType.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/AbstractCustomUserType.java old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/AnimalType.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/AnimalType.java old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/BigIntType.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/BigIntType.java old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/CustomEnum.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/CustomEnum.java old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/CustomTypeEntity.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/CustomTypeEntity.java old mode 100755 new mode 100644 diff --git a/integration-tests/main/src/main/java/io/quarkus/it/jpa/LowerCaseCustomEnumType.java b/integration-tests/main/src/main/java/io/quarkus/it/jpa/LowerCaseCustomEnumType.java old mode 100755 new mode 100644 diff --git a/integration-tests/mongodb-panache-kotlin/pom.xml b/integration-tests/mongodb-panache-kotlin/pom.xml old mode 100755 new mode 100644 diff --git a/integration-tests/mongodb-panache/pom.xml b/integration-tests/mongodb-panache/pom.xml old mode 100755 new mode 100644 diff --git a/integration-tests/rest-client/generate-trust-store-for-bad-ssl.sh b/integration-tests/rest-client/generate-trust-store-for-bad-ssl.sh old mode 100755 new mode 100644 diff --git a/integration-tests/smallrye-config/src/main/resources/META-INF/services/io.smallrye.config.ConfigSourceInterceptorFactory b/integration-tests/smallrye-config/src/main/resources/META-INF/services/io.smallrye.config.ConfigSourceInterceptorFactory old mode 100755 new mode 100644 diff --git a/mvnw b/mvnw old mode 100755 new mode 100644 diff --git a/tcks/resteasy-reactive/update-dependencies.sh b/tcks/resteasy-reactive/update-dependencies.sh old mode 100755 new mode 100644 diff --git a/tcks/resteasy-reactive/update-ref.sh b/tcks/resteasy-reactive/update-ref.sh old mode 100755 new mode 100644 diff --git a/update-extension-dependencies.sh b/update-extension-dependencies.sh old mode 100755 new mode 100644