Comments (6)
3rd party jars are collected by P2 mechanism. Therefore, jarsigner:sign
will not work here.
from p2-maven-plugin.
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.
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.
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.
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.
Relates to #80
from p2-maven-plugin.
Related Issues (20)
- [BUG] Embebbed BND Tool ends with errors but build is sucessfull HOT 1
- Support for Multi-release JAR
- create binary identical JARs for unmodified input HOT 1
- [ENH] Sanitize broken manifest in source bundles HOT 7
- Allow exclude at root level HOT 2
- Move from Github Action to Drone
- Publish Maven Site as Gihub Page
- Automate Writing Release Notes
- [Maintenance] Maven Build fails when running with Maven 3.8.1 HOT 2
- Mapping javadoc attachment
- Documentation request: Cutting a recursion
- Dependency Dashboard
- API Incopatibility when using the plugin with tycho version > 1.3.0 HOT 5
- Making a local site that _mimic_ a `.target` results in `ZipException: zip END header not found` HOT 2
- Support using maven BOMs to specify library versions HOT 1
- Update JUnit Tests to JUnit 5 HOT 1
- Tycho 3.0.0 incompatibilities HOT 19
- How to exclude certain file while generating a bundle from jar? HOT 3
- Option to remove osgi.ee capability requirements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p2-maven-plugin.