The exec-maven-plugin might be helpful, especially the "java" goal: http://mojo.codehaus.org/exec-maven-plugin/usage.html
Wayne On 11/2/07, Frank Wilson <[EMAIL PROTECTED]> wrote: > I do use eclipse, but it's not very handy to rely on an IDE in some > cases. For instance, say you hand in an assignment built with maven - > you can't really assume your lecturer is using eclipse. > On my last handin I only had two deliverables, so I could split my > project in to a hierarchical project with two artifacts (one console > app in a jar + deps and one webapp war). However, if there had been > more minor console programs to deliver it would have been silly to > make more subprojects. The project would needlessly look more complex > to an outsider and handling dependencies would have been more tricky. > So, in this case I was wondering if maven had a mechanism for running > individual class files without the bureaucracy of making another > artifact. > > > Thanks, > > Frank > > > On 02/11/2007, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/11/2, Frank Wilson <[EMAIL PROTECTED]>: > > > > > > I know I can make a .jar with dependencies and a main > > > class, but that isn't very convenient for development. > > > > > > > > Development? Are you using an IDE? > > If yes, see "q4e" or "m2eclipse" for Eclipse, or the Maven eclipse plugin, > > or mevenide for NetBeans. > > http://code.google.com/p/q4e/ > > http://m2eclipse.codehaus.org/ > > http://maven.apache.org/plugins/maven-eclipse-plugin/ > > http://mevenide.codehaus.org/ > > > > Antonio > > > > --------------------------------------------------------------------- > 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]