espenhw / jde-mvn (http://blog.grumblesmurf.org/)
Maven integration for JDEE (Java Development Environment for Emacs)
$ hg clone http://bitbucket.org/espenhw/jde-mvn/
Maven 2 integration for JDEE
What is this?
You are looking at a JDEE plugin that allows integration with Maven 2.
jde-mvn is released under an MIT-like license; please read it before going further.
Oh, and by the way: I develop and use this under Emacs 23 (a.k.a. CVS Emacs). It may or may not work under earlier versions (although if you're still on Emacs 20 you will most likely be in trouble); if it doesn't work on your Emacs, please raise an issue.
Is there a released version?
Not yet. I'd like to resolve #9 and #19 first.
How do I build it?
First, grab the source:
hg clone http://bitbucket.org/espenhw/jde-mvn/
Then build it:
mvn package
Right, I've built it, now what?
The Maven invocation above will have produced a file
jde-mvn-${version}-dist.zip in the target subdirectory.
Unzip this in your JDEE plugins directory (to find this directory,
examine the value of jde-plugins-directory in your running
Emacs.
After that, either restart Emacs or M-x jde-pi-load-plugins. If
all went well, you should now have a JDEpi menu with a JDE-mvn entry
on it (if you have menus enabled; if not, you should be competent to
figure out whether it succeeded without me holding your hand).
So how do I use it?
I tend to have a single prj.el located in the parent directory
of my sources. This file looks like this:
How about manipulating the POM?
You have two options:
- If you use Nexus as your repository
manager, set
jde-mvn-nexus-urlappropriately and useM-x jde-mvn-nexus-add-dependency(also available from the menu) - If you don't (why not?),
M-x jde-mvn-pom-add-dependencywill completing-read artifact coordinates from your local repository (at the cost of a monstrous startup time)
What can I tweak?
Not very much. M-x customize-group jde-mvn gets you the current
list.
How can I help?
Use the thing! And if you do use it, I would appreciate it if you drop me a line; definitely do so if you find a bug or have an idea for an improvement.
Also check out the open issues; if you can contribute in any way, feel free to fork, code and lodge a pull request. That's what open source is all about!
This revision is from 2009-01-10 12:48
