diff --git a/.github/actions/java-build/action.yml b/.github/actions/java-build/action.yml deleted file mode 100644 index fbaf7e09a6..0000000000 --- a/.github/actions/java-build/action.yml +++ /dev/null @@ -1,45 +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. -# --------------------------------------------------------------------------- - -name: java-builder -description: "Build java modules" -inputs: - javaVersion: - description: "Java version" - required: true - javaDistribution: - description: "Java distribution" - required: true - -runs: - using: "composite" - steps: - - name: Set up JDK ${{ inputs.javaVersion }} - uses: actions/setup-java@v4 - with: - distribution: ${{ inputs.javaDistribution }} - java-version: ${{ inputs.javaVersion }} - - name: Build java/crds - working-directory: java/crds - shell: bash - run: | - mvn clean install - - name: Build java/maven-logging - working-directory: java/maven-logging - shell: bash - run: | - mvn clean install diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml index e10bc3c62e..38dbc1cb2e 100644 --- a/.github/actions/release-nightly/action.yml +++ b/.github/actions/release-nightly/action.yml @@ -84,7 +84,7 @@ runs: echo "UPD_DATE=$D" >> $GITHUB_ENV IMAGE_NAME=docker.io/${TEST_DOCKER_HUB_USERNAME:-testcamelk}/camel-k echo "Using IMAGE_NAME=$IMAGE_NAME" - echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV + echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV - name: Login to staging container registry uses: docker/login-action@v3 @@ -154,10 +154,3 @@ runs: replacesArtifacts: true tag: v${{ env.VERSION }} commit: ${{ env.COMMIT_ID }} - - # If release was okey, we can also release the java extensions - - name: Deploy Camel-K-CRDs to ASF Snapshots Repository - working-directory: java/crds - shell: bash - run: | - mvn clean deploy --settings ../../.github/asf-deploy-settings.xml -q diff --git a/.github/asf-deploy-settings.xml b/.github/asf-deploy-settings.xml deleted file mode 100644 index 388277f62b..0000000000 --- a/.github/asf-deploy-settings.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - apache.snapshots.https - ${env.NEXUS_DEPLOY_USERNAME} - ${env.NEXUS_DEPLOY_PASSWORD} - - - - diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml deleted file mode 100644 index b322a0cf7e..0000000000 --- a/.github/workflows/java.yml +++ /dev/null @@ -1,57 +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. -# --------------------------------------------------------------------------- - -name: java - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -on: - pull_request: - branches: - - main - - "release-*" - paths: - - "java/**" - - "pkg/resources/config/crd/**" - push: - branches: - - main - - "release-*" - paths: - - "java/**" - - "pkg/resources/config/crd/**" - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Build java modules ${{ matrix.ref-branch }} branch - uses: ./.github/actions/java-build - with: - javaVersion: "17" - javaDistribution: "temurin" diff --git a/java/crds/LICENSE b/java/crds/LICENSE deleted file mode 120000 index 30cff7403d..0000000000 --- a/java/crds/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE \ No newline at end of file diff --git a/java/crds/NOTICE b/java/crds/NOTICE deleted file mode 120000 index fb376cfaa4..0000000000 --- a/java/crds/NOTICE +++ /dev/null @@ -1 +0,0 @@ -../../NOTICE \ No newline at end of file diff --git a/java/crds/pom.xml b/java/crds/pom.xml deleted file mode 100644 index d5741cbb04..0000000000 --- a/java/crds/pom.xml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - org.apache - apache - 33 - - - 4.0.0 - org.apache.camel.k - camel-k-crds - 2.6.0-SNAPSHOT - jar - - - UTF-8 - - 17 - 17 - 17 - - 7.0.1 - 3.5.2 - - - - - The Apache Camel Team - dev@camel.apache.org - http://camel.apache.org - Apache Software Foundation - http://apache.org/ - - http://camel.apache.org/banner.data/apache-camel-7.png - - - - - - github - https://github.com/apache/camel-k/issues - - - - scm:git:http://gitbox.apache.org/repos/asf/camel-k.git - scm:git:https://gitbox.apache.org/repos/asf/camel-k.git - https://gitbox.apache.org/repos/asf?p=camel-k.git;a=summary - camel-k-project-1.10.0 - - - - - - io.fabric8 - kubernetes-client-bom-with-deps - ${fabric8-version} - pom - import - - - - - - - io.fabric8 - kubernetes-client - - - io.fabric8 - generator-annotations - - - io.sundr - builder-annotations - provided - - - org.projectlombok - lombok - provided - - - - - - - io.fabric8 - java-generator-maven-plugin - ${fabric8-version} - - - - generate - - - - - ../../pkg/resources/config/crd/bases - true - - - - - - - - release - - - release - - - - - - - true - org.apache.maven.plugins - maven-deploy-plugin - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - ${javadoc.opts} - 8 - - - - - org.apache.maven.plugins - maven-gpg-plugin - - ${gpg.passphrase} - ${gpg.useagent} - - - - - sign - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin-version} - - false - false - - - - - - - doclint-java8-disable - - [1.8,) - - - -Xdoclint:none - - - - - diff --git a/java/crds/src/main/resources b/java/crds/src/main/resources deleted file mode 120000 index b583165c42..0000000000 --- a/java/crds/src/main/resources +++ /dev/null @@ -1 +0,0 @@ -../../../../pkg/resources/config/crd/bases \ No newline at end of file