I am also trying to move up to Eclipse, it seems that the Eclipse Maven plugin is still in development - is that right?
I'd say non-existent rather than in development...
Which reminds me to ask... I recently moved over to using IDEA, I'm using the attached file to run Maven as an external tool. This gives you a right click menu for java:jar, war:webapp. Any errors get hyperlinked so you can jump to the line in the code.
It isn't ideal, as the performance is poor compared to eg maven console, though it might be an interesting (and trivial) addition to the idea plugin to generate the maven tool file with more goals?
Anyway - how is everyone else doing this? Sticking to maven console, generating the ant build file and using IDEA's Ant support? Anyone working on a plugin using the IDEA apis?
-Baz
[1] This works with b8, if it doesnt work for you (eg classworlds build) its easy to see how this was built from maven.bat. It goes in ~/.IntelliJIdea/config/tools - C:\Documents and Settings\<username>\.IntelliJIdea\config\tools on windows. You'll need to replace 'c:\maven' in the file to your MAVEN_HOME - anyone know how to avoid this step?
<?xml version="1.0" encoding="UTF-8"?>
<toolSet>
<tool name="war:webapp" description="Build project using maven" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" synchronizeAfterRun="true">
<exec>
<option name="COMMAND" value="javaw" />
<option name="PARAMETERS" value="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl "-Dmaven.home=c:\maven" "-Dtools.jar=$JDKPath$\lib\tools.jar" "-Dforehead.conf.file=c:\maven\bin\forehead.conf" -Djava.endorsed.dirs=$JDKPath$\lib\endorsed;c:\maven\lib\endorsed -Xmx160m -classpath c:\maven\lib\forehead-1.0-beta-4.jar com.werken.forehead.Forehead -Ebf project.xml war:webapp" />
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$" />
</exec>
<filter>
<option name="NAME" value="Filter FILE PATH" />
<option name="DESCRIPTION" value="" />
<option name="REGEXP" value="$FILE_PATH$:$LINE$" />
</filter>
</tool>
<tool name="java:jar" description="Build project using maven" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="true" disabled="false" useConsole="true" synchronizeAfterRun="true">
<exec>
<option name="COMMAND" value="javaw" />
<option name="PARAMETERS" value="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl "-Dmaven.home=c:\maven" "-Dtools.jar=$JDKPath$\lib\tools.jar" "-Dforehead.conf.file=c:\maven\bin\forehead.conf" -Djava.endorsed.dirs=$JDKPath$\lib\endorsed;c:\maven\lib\endorsed -Xmx160m -classpath c:\maven\lib\forehead-1.0-beta-4.jar com.werken.forehead.Forehead -Ebf project.xml java:jar" />
<option name="WORKING_DIRECTORY" value="$ProjectFileDir$" />
</exec>
<filter>
<option name="NAME" value="Filter FILE PATH" />
<option name="DESCRIPTION" value="" />
<option name="REGEXP" value="$FILE_PATH$:$LINE$" />
</filter>
</tool>
</toolSet>--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
