add the dependencies section to the plugin

Sent from my iPod

On 29 Aug 2008, at 10:19, "Simone Tripodi" <[EMAIL PROTECTED]> wrote:

Hi Stephen,
sorry again: I'm following the specs of Exec-Plugin on

http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-for-java-programs.html

According to the documentation:

[snip]
       <configuration>
         <executable>java</executable>
         <arguments>
           <argument>-Dmyproperty=myvalue</argument>
           <argument>-classpath</argument>
           <!-- automatically creates the classpath using all project
dependencies,
                also adding the project build directory -->
           <classpath/>
           <argument>com.example.Main</argument>
           ...
         </arguments>
       </configuration>
[/snip]

but when running the execution, test-scoped dependencies are not
included in the classpath; is there a way to include them or I must
change the scope of them?
Thank you in advance,
Simone

2008/8/28 Simone Tripodi <[EMAIL PROTECTED]>:
Hi Stephen,
thank you very much for your hints!
Best regards,
Simone

2008/8/28 Stephen Connolly <[EMAIL PROTECTED]>:
you should be able to use the exec-maven-plugin attached to the
generate-test-sources phase in order to generate the junit tests from your grammar. then use build-helper to attach the generated test sources so they will be compiled in the test-compile phase and then surefire will pick them
up

Sent from my iPod

On 28 Aug 2008, at 17:41, "Simone Tripodi" <[EMAIL PROTECTED]> wrote:

Hi folks,
I'm interested in using gunit
(http://antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing)
using the Surefire plugin, I already sent the same request to the
ANTLR mailing list but it seems nobody knows the solution...
Can anyone suggests me something? Thanks in advance!
Best regards,
Simone

--
My LinkedIn profile: http://www.linkedin.com/in/simonetripodi
My GoogleCode profile: http://code.google.com/u/simone.tripodi/
My Picasa: http://picasaweb.google.com/simone.tripodi/
My Tube: http://www.youtube.com/user/stripodi
My Del.icio.us: http://del.icio.us/simone.tripodi

--- ------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--- ------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
My LinkedIn profile: http://www.linkedin.com/in/simonetripodi
My GoogleCode profile: http://code.google.com/u/simone.tripodi/
My Sourceforge: https://sourceforge.net/users/stripodi
My Picasa: http://picasaweb.google.com/simone.tripodi/
My Tube: http://www.youtube.com/user/stripodi
My Del.icio.us: http://del.icio.us/simone.tripodi




--
My LinkedIn profile: http://www.linkedin.com/in/simonetripodi
My GoogleCode profile: http://code.google.com/u/simone.tripodi/
My Sourceforge: https://sourceforge.net/users/stripodi
My Picasa: http://picasaweb.google.com/simone.tripodi/
My Tube: http://www.youtube.com/user/stripodi
My Del.icio.us: http://del.icio.us/simone.tripodi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to