[mevenide-user] NetBeans "Build" from the Command Line

Bob F <[email protected]> Fri, 6 Jun 2008 16:51:11 -0400
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Hello,

I use NetBeans 6.0 + MevenIDE.  It works pretty well.  I just use the  
standard Maven archetype, I don't mess with the POM file at all.

I want to be able to do anything I do within NetBeans from the  
Command Line.  For example, if I right-click on my project and choose  
"Clean", that's the same as doing "mvn clean".

Unfortunately, I cannot find the equivalent to the "Build" NetBeans  
command.  It should do an "mvn install", and also create the target/ 
executable-netbeans.dir directory.  The closest I've come is:

mvn -Dexecution=nb assembly:directory -Ddescriptor=src/main/ 
assemblies/netbeans-run.xml

But this does not create .jar files with proper dependencies.

Help...

Thanks,
-- Bob


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email