Skip to content
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

feat: add maven verification plugin #2380

Merged
merged 5 commits into from
Jul 21, 2023

Conversation

AdamKorcz
Copy link
Collaborator

Adds a Maven plugin that makes it easy to verify the provenance files of all dependencies of a Maven-based project.

The plugin can either run during the Maven build cycle, or users can invoke it manually from within a project directory.

The plugin checks whether the dependencies in a pom.xml file are released with provenance attestations, and invokes the slsa-verifier against the dependencies that have provenance files.

@loosebazooka @laurentsimon

@AdamKorcz AdamKorcz force-pushed the maven-verification-plugin branch 3 times, most recently from bcf909c to 36082fe Compare July 13, 2023 10:17
@AdamKorcz AdamKorcz force-pushed the maven-verification-plugin branch from 36082fe to fa59653 Compare July 13, 2023 10:19
AdamKorcz and others added 3 commits July 20, 2023 16:59
…ava/io/github/adamkorcz/SlsaVerificationMojo.java

Co-authored-by: Ian Lewis <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
@AdamKorcz
Copy link
Collaborator Author

The failing tests look unrelated to this PR.

@laurentsimon
Copy link
Collaborator

the failing pre-submits are due to the RC release @ianlewis is going to cut. We can merge after it's cut

@laurentsimon laurentsimon enabled auto-merge (squash) July 21, 2023 17:46
@laurentsimon laurentsimon merged commit 9d7a0ce into slsa-framework:main Jul 21, 2023
laurentsimon added a commit that referenced this pull request Jul 21, 2023
laurentsimon added a commit to laurentsimon/slsa-github-generator that referenced this pull request Jul 23, 2023
enteraga6 pushed a commit to enteraga6/slsa-github-generator that referenced this pull request Aug 8, 2023
Adds a Maven plugin that makes it easy to verify the provenance files of
all dependencies of a Maven-based project.

The plugin can either run during the Maven build cycle, or users can
invoke it manually from within a project directory.

The plugin checks whether the dependencies in a `pom.xml` file are
released with provenance attestations, and invokes the
[slsa-verifier](https://github.com/slsa-framework/slsa-verifier) against
the dependencies that have provenance files.

@loosebazooka @laurentsimon

---------

Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Co-authored-by: Ian Lewis <[email protected]>
Signed-off-by: Noah Elzner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants