OK. I've figured out the problem but not the solution.
grizzly/modules/framework/pom.xml defines the plugin maven-bundle-plugin
with <extensions>true</extensions>. (The pom is, strangely, is defined
with a packaging of "bundle"...) This confuses either the hk2 plugin in
the config pom or maven. Either way, if I comment out every other
module beside the grizzly-config module, i get a jar. If I add even
just this one, i get hk2-jar. I'm playing with various solutions but if
anyone has any ideas, I'd greatly appreciate it.
Justin Lee wrote:
> Yeah. and it still works correctly from within that dir. but
> something from above is gumming things up and I can't figure it out...
>
> Sahoo wrote:
>> Basically, someone is setting a plugin as an extension and maven
>> can't quite handle it. Didn't I help you once in fixing this? In your
>> email you confirmed like this:
>> /Ah. That was it. That bit of the pom was created for me when this
>> module was created so I'm not sure why it was there. Removing it
>> fixed the problem, though. Thanks so much.
>> /
>>
>> Thanks,
>> Sahoo
>>
>> Justin Lee wrote:
>>> If i run "mvn install" from the grizzly-config dir, i get a .jar
>>> installed in my repo. If I run that from the grizzly root dir, i
>>> get a .hk2-jar installed and I can't figure out why. Attached is
>>> the effective pom from the grizzly-config dir, and the two actual
>>> pom.xml files involved. Can anyone see what's wrong here?
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>