Coder Social home page Coder Social logo

Comments (6)

sparsick avatar sparsick commented on July 23, 2024

3rd party jars are collected by P2 mechanism. Therefore, jarsigner:sign will not work here.

from p2-maven-plugin.

reinsch82 avatar reinsch82 commented on July 23, 2024

ok, yes, what I meant I tried to sign them after creating the p2 repository with p2:site
I guess what would be required is a way to execute this step before the artifacts and contents files are created.
To my understanding they contain hashes for the jar files and therefore it breaks when using the created p2 repo because the hashes don't match.
any Idea how we could do that?

from p2-maven-plugin.

sparsick avatar sparsick commented on July 23, 2024

BND Tool has a sign parameter. Maybe this could work for jars that are modified by bnd. But that means the p2 maven plugin has to be extended.

from p2-maven-plugin.

reinsch82 avatar reinsch82 commented on July 23, 2024

is there a way to recalculate the hashes after the repository creation?

I guess that would be enough for my case. although it might be less handy overall. but it also wouldn't impact the "normal" usage.

from p2-maven-plugin.

sparsick avatar sparsick commented on July 23, 2024

Sorry, I have no idea whether is possible. But I found a similar issue in eclipse collection repository eclipse/eclipse-collections#287 . Maybe this helps you find a solution for you

from p2-maven-plugin.

sparsick avatar sparsick commented on July 23, 2024

Relates to #80

from p2-maven-plugin.

Related Issues (20)

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.