Re: [mevenide-user] NetBeans "Build" from the Command Line
Bob F <[email protected]> Fri, 6 Jun 2008 17:27:17 -0400
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
"mvn install" just creates the .jar file and puts it in the Maven repository. I want to also create the target/executable-netbeans.dir directory, just like what happens when you use "Build" from NetBeans. -- Bob On Jun 6, 2008, at 5:24 PM, Anuradha G wrote: > mvn install > > On Sat, Jun 7, 2008 at 2:50 AM, Bob F <[email protected]> wrote: > I'm sorry, I don't think I was clear. > > What I want to do is figure out the standard Maven command line to > use to do the equivalent of "Build". But I want to do it in plain > Maven from the command line, no NetBeans involved. This will allow > me to give Maven+NetBeans projects to other people and have them > compile without installing NetBeans. > > Thanks, > -- Bob > > On Jun 6, 2008, at 5:13 PM, Anuradha G wrote: >> You can use right click on project "Custom" - > Goals and type >> build on goal >> >> On Sat, Jun 7, 2008 at 2:21 AM, 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 >> >> >> >> >> >> -- >> Anuradha G > > > > > -- > Anuradha G