reficio / p2-maven-plugin

Maven3 plugin that automates the third-party dependency management for Eclipse RCP
http://reficio.org
230 stars 97 forks source link

Update BND Tool to 5.x #176

Closed sparsick closed 3 years ago

sparsick commented 3 years ago

Updating dependencies for house keeping.

sparsick commented 3 years ago

BND Tool 5.x is not compatible with Tycho 1.x, so that Tycho has to be updated to 2.x. Tycho 2.x needs Maven 3.6.3, so also Maven has to be updated.

sparsick commented 3 years ago

When this update is done, Java 16/17 can be activated in CI.

see also comment in #181

sparsick commented 3 years ago

Find a better way to update bnd dependency.

        <dependency>
            <groupId>biz.aQute.bnd</groupId>
            <artifactId>biz.aQute.bnd</artifactId>
        </dependency>

is a wrapped jar that includes classes from other libs. This is a reason why you get SecurityException on Apache Felix's Logger.

The change to

      <dependency>
            <groupId>biz.aQute.bnd</groupId>
            <artifactId>biz.aQute.bndlib</artifactId>
        </dependency>

solves the problem.

So an update to Tycho 2.x is not needed and can be solved in another issue.