Coder Social home page Coder Social logo

Comments (3)

headius avatar headius commented on July 21, 2024

Hmm...so how do I fix this?

from jnr-unixsocket.

nvatvani avatar nvatvani commented on July 21, 2024

Hmm...so how do I fix this?

You hack it by specifying <_noee>true</_noee> under instruction tag of the maven-bundle-plugin

The _noee tag removes all minimum versioning enforcement of the runtime JRE.

from jnr-unixsocket.

headius avatar headius commented on July 21, 2024

Ok I tried this patch but I did not see any difference in the MANIFEST. I also did not see any Require-Capability in the MANIFEST before I made the change, so I'm confused about how to proceed.

diff --git a/pom.xml b/pom.xml
index f5070ff..6bf0e1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -179,6 +179,7 @@
         <configuration>
           <instructions>
             <_nouses>true</_nouses>
+            <_noee>true</_noee>
             <Import-Package>*,jnr.ffi.mapper,jnr.ffi.provider.converters,jnr.ffi.provider.jffi,com.kenai.jffi</Import-Package>
             <Automatic-Module-Name>jnr.unixsocket</Automatic-Module-Name>
           </instructions>

Unpatched MANIFEST.MF:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven Bundle Plugin
Built-By: headius
Build-Jdk: 1.8.0_222
Automatic-Module-Name: jnr.unixsocket
Bnd-LastModified: 1578673603363
Bundle-Description: Native I/O access for java
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion: 2
Bundle-Name: jnr-unixsocket
Bundle-SymbolicName: com.github.jnr.unixsocket
Bundle-Version: 0.26.0.SNAPSHOT
Export-Package: jnr.unixsocket;version="0.26.0.SNAPSHOT"
Import-Package: com.kenai.jffi,jnr.constants.platform;version="[0.9,1)
 ",jnr.enxio.channels;version="[0.23,1)",jnr.ffi;version="[2.1,3)",jnr
 .ffi.annotations;version="[2.1,3)",jnr.ffi.byref;version="[2.1,3)",jn
 r.ffi.mapper;version="[2.1,3)",jnr.ffi.provider.converters;version="[
 2.1,3)",jnr.ffi.provider.jffi;version="[2.1,3)",jnr.ffi.types;version
 ="[2.1,3)",jnr.posix;version="[3.0,4)"
Tool: Bnd-1.50.0

from jnr-unixsocket.

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.