Coder Social home page Coder Social logo

Comments (17)

tombujok avatar tombujok commented on July 3, 2024

In progress. It will be a bigger change, as I have noticed some other issues regarding the instructions

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Not sure if I should report this here or open another bug, but it appears that the Bundle-SymbolicName doesn't always get set. In particularl I'm having issues with the jackson-core-lgpl.jar from maven which I need to change the symbolic name. I've specified it, but not being changed.

from p2-maven-plugin.

nachtgold avatar nachtgold commented on July 3, 2024

Maybe you can check in your changes until today in a separate branch and we could help you ?

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Thanks for your feedback. I have almost finished the implementation though. I will try to push it in the next days.

If you would like to contribute I will create some feature-requests issues so that you can work on that. Thanks!

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Any update pn this, or a suggestion where this bug is. I'm running into it with the following as well.

                 <artifact>
                   <id>org.slf4j:slf4j-api:1.7.2</id>
                   <source>true</source>
                   <transitive>false</transitive>
                   <instructions>
                      <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
                      <Bundle-Version>1.7.2</Bundle-Version>
                   </instructions>
                </artifact>

I may have to go through and try to fix this locally, since I can create test case for this.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Hi, sorry I did not have much time to finish this. I have fixed it along with some other bugs. I am working on it just now coding some integration tests. I hope I will manage to commit it today or tomorrow.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Please recheck now. There's a lot that has been changed. This bug should be solved now.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

The newest snapshot should be build and deployed at night

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Snapshots were deployed to the reficio repo (http://repo.reficio.org/)

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Thanks I'm testing this out now. Will report back the results.

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

There is a compilation error in the BundleWrapper code. I can submit a pull request to fix it but it is a one line change need to change: log.debug to log().debug. Once that is fixed, the renaming issue I was having seems to be fixed once I added the overrides.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Are you sure you have the newest code?
The version from git compiles on jenkins (and on my machine) and there is no debug statement in the BundleWrapper code...
https://github.com/reficio/p2-maven-plugin/blob/master/src/main/java/org/reficio/p2/utils/BundleWrapper.java

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

And the link to jenkins: https://reficio.ci.cloudbees.com/job/p2-maven-plugin/

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Hmmm...odd line 137, used to contain the following line:

log.debug("Unsign Jar: " + jarToUnsign.getName());

Which was causing compilation errors. Latest code doesn't seem to contain that.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

OK. I understand - I will add this log line later.
The override option is required now - otherwise it may be difficult to spot mistakes if you specify instructions for artifacts that are already OSGi bundles.

So, may I close this issue?

from p2-maven-plugin.

kingargyle avatar kingargyle commented on July 3, 2024

Yep. I'm closing the issue.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 3, 2024

Cool, thanks. I will have a closer look at the code doing the code review, but I think we have got a release candidate for the 1.0.0 version.
I am pretty proud of the 19 integration tests (run by the maven-invoker-plugin) that increased the test coverage to around 90% :) Now, I am confident that the code is more or less stable...

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.