Coder Social home page Coder Social logo

Corrupted Signed Jars about p2-maven-plugin HOT 5 CLOSED

reficio avatar reficio commented on July 3, 2024
Corrupted Signed Jars

from p2-maven-plugin.

Comments (5)

tombujok avatar tombujok commented on July 3, 2024

Did it work in the previous version?

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Yes worked in previous versions. The current version is throwing the following when the jar is tried to be used by p2.

"Problems downloading artifact: osgi.bundle,org.eclipse.jdt.core,3.6.2.v_A76_R36x.": ["Error reading signed content:/tmp/signatureFile8776746352424056156.jar"

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Can you attach a pom.xml with a minimal set of artifacts, so that I can reproduce the problem?

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

I have checked the code and the snippet regarding the unsiging of jars has not changed.
If the jar is a bundle and the 'override' switch is not set the artifact will not be unsigned.
The artifact will be only unsigned if the jar is not a bundle or if the 'override' switch is set to true.

I have checked with the following example (override set to true):

<artifact>
    <id>org.bouncycastle:bcprov-ext-jdk15:1.46</id>
    <source>false</source>
    <override>true</override>
</artifact>
</code>

as well as without the 'override' option:

<artifact>
    <id>org.bouncycastle:bcprov-ext-jdk15:1.46</id>
    <source>false</source>
    <override>false</override>
</artifact>
</code>

In both cases I managed to import the site to my target platform.

Finally, your error looks like a problem with the resolution of the Eclipse JDT - this is most likely downloaded from the standard eclipse update site and has nothing to do with the p2 and the generated site.

Please, either recheck and provide me with a pom.xml that I can use to reproduce the problem or I will close this ticket in a few days.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Closing.

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.