There is also the pomstrap (.tigris.org)
that i don't have yet tested

Raphaël


2006/3/8, Stephen Duncan <[EMAIL PROTECTED]>:
>
> Just to provide another way to run a project, that doesn't involve an
> assembly descriptor, which may be of use until the incorporate that
> plan into a new version of the Netbeans plugin/module/thingy.
>
> Use the following:
>
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-antrun-plugin</artifactId>
>   <configuration>
>     <tasks>
>       <java fork="true" classname="com.foo.MainClass">
>         <classpath refid="maven.runtime.classpath"/>
>       </java>
>     </tasks>
>   </configuration>
> </plugin>
>
> And then run mvn antrun:run
>
> -Stephen
>
> On 3/8/06, Milos Kleint <[EMAIL PROTECTED]> wrote:
> > I've been looking for a default way to run maven projects within
> > netbeans. I had the same issue with jar-with-dependencies.  We
> > discussed it at [EMAIL PROTECTED] and we have a different
> > solution that works fine and is actually exactly the same as the
> > netbeans ant projects get run.
> > Check http://docs.codehaus.org/display/MEVENIDE/RunDebugJarProjects
> > for details on the assembly descriptor to use and how to setup the jar
> > plugin.. then all you should be required to do is run "java -jar
> > <myartifact>.jar" in the target/dist directory (that's where the
> > assembly plugin prepares the environment)
> >
> > Regards
> >
> > Milos Kleint
> >
> >
> > On 3/8/06, Jozef Kotlár <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I would like to have confirmed from someone that according my
> > > observation is http://jira.codehaus.org/browse/MASSEMBLY-1 still open,
> > > at least with published maven a and plugins.
> > >
> > > With maven version 2.0.2 and empty local repository
> > > I've used the attached test case and procedure and the result is the
> > > same:
> > >
> > > $ java -jar target/mng-1380-1.0-SNAPSHOT-jar-with-dependencies.jar
> > > Failed to load Main-Class manifest attribute from
> > > target/mng-1380-1.0-SNAPSHOT-jar-with-dependencies.jar
> > >
> > > Maybe I am doing something wrong?
> > >
> > > Thanks,
> > > Dodo.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to