-
Notifications
You must be signed in to change notification settings - Fork 937
revise mavenskeleton + try dependency check #9601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| # 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: NetBeans Dependency Checks MVN | ||
|
|
||
| on: | ||
| # pull_request: | ||
| # Allows you to run this workflow manually from the Actions tab in GitHub UI | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| # cancel other workflow run in the same head-base group if it exists | ||
| concurrency: | ||
| group: dep-checker-${{ github.head_ref || github.run_id }}-${{ github.base_ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| defaults: | ||
| run: | ||
| shell: bash | ||
|
|
||
| jobs: | ||
|
|
||
| base-build: | ||
| name: Check Dependencies | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 20 | ||
| steps: | ||
|
|
||
| - name: Checkout ${{ github.ref }} ( ${{ github.sha }} ) | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| persist-credentials: false | ||
| submodules: false | ||
| show-progress: false | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v6 | ||
| with: | ||
| java-version: 25 | ||
| distribution: 'zulu' | ||
|
|
||
| - name: Check Dependencies | ||
| run: | | ||
| ant -quiet bootstrap | ||
| ant -quiet verify-libs-and-license | ||
| cd nbbuild/build/mavenpoms/;mvn eu.maveniverse.maven.plugins:toolbox:0.15.17:dependency-versions | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: split line cd nbbuild/build/mavenpoms/
mvn -B eu.maveniverse.maven.plugins:toolbox:0.15.17:libyearbtw, how about running difference: it will print less (won't show "up to date" lines) and it calculates age too, which can be useful for prioritization. This is the most concice output I could come up with: mvn -B\
-Dorg.slf4j.simpleLogger.defaultLogLevel=warn\
-Dorg.slf4j.simpleLogger.log.eu.maveniverse.maven=info\
-DupToDate=true\
eu.maveniverse.maven.plugins:0.15.17:toolbox:libyeargenerates about 1200 lines. I am not sure what the github limit is. Would be cool if we could post it there like the other action. echo "<pre>" >> $GITHUB_STEP_SUMMARY
<command> | tee -a $GITHUB_STEP_SUMMARY
echo "</pre>" >> $GITHUB_STEP_SUMMARY
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh nice. apparently github limits at 1MB - this will fit without problems. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
licenses