Giter Club home page Giter Club logo

Comments (5)

vandmo avatar vandmo commented on July 25, 2024

I agree, I looked at that but IIRC Maven API didn't have any support for that so I would need to calculate the checksums myself which would have some performance penalty. It would be a really good feature and I might implement it when I find the time.

from dependency-lock-maven-plugin.

ioggstream avatar ioggstream commented on July 25, 2024

Maven API didn't have any support for that

:( it's quite a pity...

I might implement it when I find the time.

Maybe we should file an issue on Maven first, then.

Thanks for your reply, R!

from dependency-lock-maven-plugin.

vandmo avatar vandmo commented on July 25, 2024

Sorry for late reply.

I don't think they will implement that considering that they haven't implemented support for locking dependencies at all.
I have started to look into how to add checksums to the lock files now.

from dependency-lock-maven-plugin.

danielhodder avatar danielhodder commented on July 25, 2024

In the latest RC integrity checking works, but it's not possible to disable it for a dependency set. The configuration exists but is currently un-used. When depending on a snapshot we are seeing the following:

INFO] --- dependency-lock-maven-plugin:0.0.0fcba43c95c016556b4ef8d51d8aee999a0c51b3:check (default-cli) @ --**REDACTED**-- ---
[DEBUG] Configuring mojo se.vandmo:dependency-lock-maven-plugin:0.0.0fcba43c95c016556b4ef8d51d8aee999a0c51b3:check from plugin realm ClassRealm[plugin>se.vandmo:dependency-lock-maven-plugin:0.0.0fcba43c95c016556b4ef8d51d8aee999a0c51b3, parent: java.net.URLClassLoader@5caf905d]
[DEBUG] Configuring mojo 'se.vandmo:dependency-lock-maven-plugin:0.0.0fcba43c95c016556b4ef8d51d8aee999a0c51b3:check' with basic configurator -->
[DEBUG]   (f) basedir = /Users/--**REDACTED**--
[DEBUG]   (f) includes = [--**REDACTED GROUP ID**--:*]
[DEBUG]   (f) integrity = ignore
[DEBUG]   (f) version = ignore
[DEBUG]   (f) dependencySets = [se.vandmo.dependencylock.maven.mojos.DependencySet@58294867]
[DEBUG]   (f) format = pom
[DEBUG]   (f) project = MavenProject: --**REDACTED GROUP ID**--:--**REDACTED**--:6.0.0-SNAPSHOT @ /Users/--**REDACTED**--/pom.xml
[DEBUG] -- end configuration --
[INFO] Ignoring version for --**REDACTED GROUP ID**--:--**REDACTED ARTIFACT ID**--jar:6.0.0-20221006.002140-44:compile:optional=false@sha512:joXzInzWmGPCHZXZxG8RlzrbkzT9rYs2jHKSw7Oz1wQ2AHh8BhAdvc2YEIiUZae1Jzr/ZQC18OAIZoqph+29lg==
[ERROR] The following dependencies differ:
[ERROR]   Expected --**REDACTED GROUP ID**--:--**REDACTED ARTIFACT ID**--jar:6.0.0-20221006.002140-44:compile:optional=false@sha512:joXzInzWmGPCHZXZxG8RlzrbkzT9rYs2jHKSw7Oz1wQ2AHh8BhAdvc2YEIiUZae1Jzr/ZQC18OAIZoqph+29lg== with any version but found --**REDACTED GROUP ID**--:--**REDACTED ARTIFACT ID**--jar:6.0.0-20221031.212118-45:compile:optional=false@sha512:Hk9cFGkce5kzhJH259RaIOf0UnU8kpmjACXX88yPmyWtiH1re1VecUtNq998g6TUOSneoTD/uWOq0twu78DfLA==

Seems this functionality got lost as part of the major refactor when this was added to the 1.x branch.

from dependency-lock-maven-plugin.

vandmo avatar vandmo commented on July 25, 2024

This is implemented in the master branch which will be released within days.

from dependency-lock-maven-plugin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.