got this fixed now:
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.2.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Activator>org.dyndns.soundbox.mp3wrapper.Activator</Bundle-Activator>
<Export-Package>com.jcraft.jogg,com.jcraft.jorbis,javazoom.jl.converter,javazoom.jl.decoder,javazoom.jl.player,javazoom.jl.player.advanced,javazoom.spi,javazoom.spi.mpeg.sampled.convert,javazoom.spi.mpeg.sampled.file,javazoom.spi.mpeg.sampled.file.tag,javazoom.spi.vorbis.sampled.convert,javazoom.spi.vorbis.sampled.file,org.dyndns.soundbox.mp3wrapper,org.tritonus.lowlevel.lame,org.tritonus.midi.file,org.tritonus.sampled.convert,org.tritonus.sampled.convert.javalayer,org.tritonus.sampled.convert.lame,org.tritonus.sampled.file,org.tritonus.sampled.file.mpeg,org.tritonus.share,org.tritonus.share.midi,org.tritonus.share.sampled,org.tritonus.share.sampled.convert,org.tritonus.share.sampled.file,org.tritonus.share.sampled.mixer</Export-Package>
<Private-Package>org.dyndns.soundbox.mp3wrapper.*</Private-Package>
<SPI-Provider>*</SPI-Provider>
</instructions>
</configuration>
</plugin>
</plugins>
simply putting any <key>value</key> pairs into <instructions> will put
the line: "key: value" into the manifest.mf
regards,
oli
Am 19.12.2011 13:16, schrieb Antonio Petrelli:
2011/12/19 Oliver Zemann<[email protected]>
I dont want to change so much in the pom.xml, because i am new to maven
and dont want to "kill" it, so i hoped there is something like "just add
this line and its done" ;)
It's wrong. It's better to use the correct Maven plugin. There's a great
probability that the IDE will recognize it (I am pretty sure of it in
Eclipse, but NetBeans was one of the first adopters of Maven).
Moreover I noticed that you are using Felix for a thing that, sincerely, I
cannot be able to read. Did you try using the Felix Maven plugin?
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]