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

"Marek Nowicki" <[email protected]> Fri, 06 Jun 2008 23:28:44 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
I checked it in ProcessExplorer and when I "Build" NetBeans run:
$ cmd /c ""C:\Program Files\Apache Software  
Foundation\apache-maven-2.0.9\bin\mvn.bat" -Dfile.encoding=utf-8 install"

regards,
Marek

Dnia 06-06-2008 o 23:20:23 Bob F <[email protected]> napisaƂ:
> 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
>



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

    http://xircles.codehaus.org/manage_email