Re: Proposed New Structure (starter for 10)
Lee Hinman <[email protected]> Tue, 18 Aug 2015 15:32:43 -0600
| Newsgroups | gmane.emacs.jdee.devel |
|---|---|
| Message-ID | <[email protected]> |
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. There is also a "pluginRepositories" element that can be used to add a repository for downloading plugins, which I could see as being useful for providing the plugin for download somewhere. Sources: - https://maven.apache.org/settings.html#Plugin_Groups - https://maven.apache.org/settings.html#Plugin_Repositories -- ;; Lee ------------------------------------------------------------------------------