NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
JF Posted via mailing list.
|
Posted: Tue Mar 01, 2011 2:36 pm Post subject: Maven integration in Netbeans 7.0 |
|
|
I wish to debug a MOJO in netbeans.
I followed the brief instructions in http://wiki.netbeans.org/FaqDebugMojo
However
1) I wish to be able to change the JVM settings which the debugger is
using. I tried changing this in the usual places but to no effect
2) I need to pass parameters to my mojo, for example in a pom.xml I have
the following
<plugin>
<groupId>com.aqera.reporter</groupId>
<artifactId>report_plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<executions>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<reportId>BehaviourReport.txt</reportId>
<reportClass>com.aqera.reporter.report1.Reporter</reportClass>
<outputType
implementation="com.aqera.reporter.interfaces.OutputType">FILE</outputType>
<specNames>
<specName>AqeraOne</specName>
</specNames>
</configuration>
</execution>
</executions>
</plugin>
What is the best way to do this.
Thanks |
|
| Back to top |
|
 |
JF Posted via mailing list.
|
Posted: Tue Mar 01, 2011 5:16 pm Post subject: Maven integration in Netbeans 7.0 |
|
|
The simplest way of changing ( indeed undesrtanding what is going on )
is to change the mvn.bat file in C:\Program Files\NetBeans 7.0 Beta
2\java\maven\bin
The parameters can successfuly be got going using the custom actions as
outlined in the previous link to the netbeans wiki - I had forgot I was
not using an expression in my @parameter annotation.
However the custom configuration stuff in the project.properties does
not seem to bear any relationship in my netbeans 7 beta to the docs, nor
does it seem to work. But will investigate more... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|