dev@glassfish.java.net

Re: Setting Bundle-Vendor in v3 modules

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Mon, 25 Aug 2008 19:35:45 -0700

ok cool, I forgot to mention, I think you should use GlassFish.org
rather than Sun...

jerome

On Aug 25, 2008, at 6:47 PM, Vivek Pandey wrote:

> No I did not have it, adding it to parent pom fixes it.
>
> thanks,
>
> -vivek.
> Jerome Dochez wrote:
>> do you have such a thing as
>>
>> <organization>
>> <name>Sun Microsystems, Inc.</name>
>> <url>http://www.sun.com</url>
>> </organization>
>>
>> in your pom.xml or parent pom.xml ?
>>
>> I think this is where is comes from
>>
>> On Aug 25, 2008, at 4:41 PM, Vivek Pandey wrote:
>>
>>> Ludo brought to my notice and he says it is P1 and needs immidiate
>>> fix ;-)
>>>
>>> The rails-connector (gf-jruby-connector.jar), jar does not have
>>> Bundle-Vendor: Sun Microsystems, Inc. The rails connector jar is
>>> created with 'hk2-jar' packaging and the hk2-maven-plugin entry in
>>> maven is:
>>>
>>> <plugin>
>>> <groupId>com.sun.enterprise</groupId>
>>> <artifactId>hk2-maven-plugin</artifactId>
>>> <version>${hk2.version}</version>
>>> <extensions>true</extensions>
>>> <configuration>
>>> <generateOSGiHeaders>true</generateOSGiHeaders>
>>> </configuration>
>>> </plugin>
>>>
>>>
>>> Looks like I am doing everything correctly, looks like
>>> <generateOSGiHeaders> is not generating Bundle-Vendor entry. What
>>> am I supposed to do for it to appear in the generated MANIFEST.MF?
>>>
>>> The existing bundle entry is:
>>>
>>> -----
>>> Manifest-Version: 1.0
>>> Archiver-Version: Plexus Archiver
>>> Created-By: Apache Maven
>>> Built-By: vivek
>>> Build-Jdk: 1.5.0_14
>>> Extension-Name: gf-jruby-connector
>>> Implementation-Title: gf-jruby-connector
>>> Implementation-Version: 0.6.19-SNAPSHOT
>>> Export-Package: org.glassfish.scripting.rails.sniffer
>>> Bundle-Version: 0.6.19.SNAPSHOT
>>> HK2-Bundle-Name: org.glassfish.scripting:gf-jruby-connector
>>> Bundle-ManifestVersion: 2
>>> HK2-Import-Bundles: com.sun.enterprise:hk2,
>>> org.glassfish.common:glass
>>> fish-api
>>> Require-Bundle: com.sun.enterprise.hk2;bundle-
>>> version=0.3.15;resolutio
>>> n:=mandatory;visibility:=private,org.glassfish.common.glassfish-
>>> api;b
>>> undle-version=10.0.410;resolution:=mandatory;visibility:=private
>>> Bundle-Name: Glassfish enablement of Ruby on Rails
>>> Bundle-SymbolicName: org.glassfish.scripting.gf-jruby-connector
>>> -----------
>>>
>>> -vivek.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>