Re: Proposed New Structure (starter for 10)

[email protected] (Phillip Lord) Wed, 19 Aug 2015 14:48:04 +0100
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
Lee Hinman <[email protected]> writes:

> Re-added the jdee-devel list
>
> Phillip Lord writes:
>
>> Lee Hinman <[email protected]> writes:
>>> This looks neat to me, and I'm interested in contributing. What's the
>>> best place to start with this? (Assuming this is adopted)
>>
>>
>> The roadblock for me at the moment is understanding mvn. If you have
>> any time to research this, it would be appreciated. In particular, how
>> to add dependencies or plugins without changing the pom.
>>
>> Phil
>
> So I looked into this briefly, it looks like this can be added to
> ${user.home}/.m2/settings.xml, specifically, one can specify plugin
> groups with:
>
> <pluginGroups>
>   <pluginGroup>org.jdee.plugin</pluginGroup>
> <pluginGroups>
>
> The docs say: "This element contains a list of pluginGroup elements,
> each contains a groupId. The list is searched when a plugin is used and
> the groupId is not provided in the command line."
>
> So if we provided a jdee-mvn plugin and added the groupId here, someone
> could use
>
> mvn jde:jack-in (or whatever it is called)
>
> And it would search the `org.jdee.plugin` groupId for the plugin.

Ah, now that is interesting. That would still require writing a plugin
(was trying to avoid that!). Or we could have a talk with the clojure
maven plugin devs and see if they were interested in adding pomegranate
as a dependency to their plugin. That would be all I would need.

Phil

------------------------------------------------------------------------------