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

"Milos Kleint" <[email protected]> Sat, 21 Jun 2008 11:34:55 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
what you are looking for is probably "mvn -Pnetbeans-public install".
it will activate the netbeans-public profile which is implicitly
activated when running inside netbeans.
please note that I'd like to generally get rid of netbeans-public
profile and for 6.1 (3.1.x mevenide) I've removed the profile
generation for Run project. The project is now run by mvn exec:exec
only.

Milos

On Fri, Jun 6, 2008 at 10:51 PM, Bob F <[email protected]> wrote:
> 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
>
>
>

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

    http://xircles.codehaus.org/manage_email