IDEA Maven Console Plugin
I've been stymied by my inability to find the 0.2.6 release of the maven-spy-plugin which is a requirement of the Maven Console Plugin for IDEA. I have looked at the maven repository @ http://gizmomogwai.dyndns.org/http/maven/repository many times, but 0.2.6 doesn't seem to be there, there's nothing later than 0.2.4. I'd like to be able to try this out, I use maven from the command line regularly, and I wanted to try this integration.
Any help that anyone can offer would be appreciated. Tnx.
Please sign in to leave a comment.
please download attachment.
Attachment(s):
maven-spy-plugin-0.2.6.jar
Hello Andy,
as described at:
http://www.intellij.org/twiki/bin/view/Main/MavenPlugin the new repository
for the spy-plugin is
http://www.flopcode.com/maven/repository because i had some uptime problems
with the other server.
the next version of the maven-plugin should propably have an install-mechanism
for the maven-spy plugin integrated.
cK
Hi ck,
The link you specified does not work ("http://www.flopcode.com/maven/repository")...
Hello Arik,
the link does work, the only problem is, that the site is not browsable.
i dont know how this can be configured with my provider. but maven should
be able to download the required plugins.
e.g.: http://www.flopcode.com/maven/repository/flopcode/plugins/maven-spy-plugin-0.2.6.jar
OK, so I now have:
1) a copy of maven-spy-plugin-0.2.7 installed in my maven plugins
directory, and it is expanded in the maven cache directory
2) the 0.1.5.13 version of the IDEA maven console plugin installed in
IDEA 4.5.4
3) the current version of Maven, 1.0.2
4) running under Win2K Service Pack 2
5) using Sun JDK 1.4.2_05
6) when I enter "maven spy" I see a long list of goals echoed to the screen
7) there is a project.xml and a maven.xml file in the IDEA project
directory
but, when I run IDEA and choose the ConsoleMavenPlugin, the project.xml
file does appear in the leftmost pane as the only entry, but
nothing that I do causes any goals to appear in the Goal pane, and I
assume that because no goals are displayed, nothing that I have tried so
far has allowed me to set a goal.
The following are the last 10 lines emitted by "maven spy"
xdoclet:mockobjectdoclet=mockobjectdoclet
xdoclet:portletdoclet=portletdoclet
xdoclet:springdoclet=springdoclet
xdoclet:webdoclet=webdoclet
xdoclet:xdoclet=xdoclet
---
---
---
null
---
Any help that you can offer would be appreciated. I have provided all
of the information that was obvious to me. I'd be happy to provide
additional data.
Thanks,
Andy
selection alone of the project.xml is of no use. you should press the play
button for the selected project (then the maven console is started to get
around the long startup times of maven). in the startup sequence the spy
plugin is used to extract the goals from the maven-runtime. have you tried
the |> button?
if you still have problems please feel free to contact me by email, or post
again here (i try to read the newsgroup regularly).
christian
And even more important, if you ARE pushing the play button and nothing happens, I suspect you need to change the path to your maven script (maven or maven.bat) in the plugin setup. I believe it defaults to maven.bat and you will also have to have either that directory location in your path or give it the full path to the script.
Chris
And even more important, if you ARE pushing the play button and nothing happens, I suspect you need to change the path to your maven script (maven or maven.bat) in the plugin setup. I believe it defaults to maven.bat and you will also have to have either that directory location in your path or give it the full path to the script.
Chris