akhikhl / wuff

Gradle plugin for automating assembly of OSGi/Eclipse bundles and applications
MIT License
152 stars 51 forks source link

Remove 'Require-Bundle: org.eclipse.osgi' #66

Closed brunobasto closed 9 years ago

brunobasto commented 9 years ago

Hello, I'm using the apply plugin: 'org.akhikhl.wuff.osgi-bundle' plugin to deploy a bundle to Apache Karaf and I'm almost sure I don't need the dependency on org.eclipse.osgi. But whenever I build a bundle, that header is added. Is there a way to remove that header from my manifest?

Thx

akhikhl commented 9 years ago

I tried removing org.eclipse.osgi dependency - it worked. I'll see to removing this dependency in the next version of Wuff.

brunobasto commented 9 years ago

Awesome! Thanks for the quick response. In the mean time, is there something I can put in my build.gradle to solve the issue temporarily?

Thx again

akhikhl commented 9 years ago

You can use snapshot version, it contains the fix:

buildscript {
  repositories {
    jcenter()
    maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
  }

  dependencies {
    classpath 'org.akhikhl.wuff:wuff-plugin:0.0.14-SNAPSHOT'
  }
}

repositories {
  jcenter()
  maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' }
}

apply plugin: 'java'
apply plugin: 'org.akhikhl.wuff.eclipse-rcp-app'

New release comes today or tomorrow, depending on bug-fixing/tests.

brunobasto commented 9 years ago

Awesome! Thank you very much.