I have tried it with a simple project. When importing the build path and dependencies are ok. But when I try to run or debug the application directly from Netbeans it actually launches: NetBeans: Executing '/opt/maven/bin/mvn -Dexec.args=-Xdebug -Djava.compiler=none -Xnoagent -Xrunjdwp:transport=dt_socket,server=n,address=34404 -classpath %classpath ${packageClassName} -Djpda.listen=true -Djpda.address=34404 -Dexec.executable=java process-classes org.codehaus.mojo:exec-maven-plugin:1.1:exec'
And gives me the error: [compiler:compile] Nothing to compile - all classes are up to date [scala:compile {execution: default}] Compiling 1 source files to /home/oscar/netbeans/mavos/target/classes [WARNING] /home/oscar/netbeans/mavos/src/main/scala/org/mavos/Main.scala:10: error: identifier expected but 'object' found. [WARNING] object Main { [WARNING] ^ [WARNING] one error found Here I would prefer the run to be done as like with a scala project directly created with Netbeans. I thought I could configure it on right-click project > Properties but with a maven project a right click on a project raise an error. (I just sent more details on the scala-tools list) I guest it's a problem with the version of either NetBeans or the scala or maven plugins. Versions do you use for: - NetBeans - The Maven plugin - The scala plugin. On Sun, Nov 16, 2008 at 3:59 PM, David Bernard <[EMAIL PROTECTED]>wrote: > > Maven + Netbeans (+ maven module/plugin for netbeans) + scala work > like charm. after installing the netbeans maven plugin you simply open > your maven project like native netbeans project. > If you open a multi-module maven project, then you could see maven > sub-project into the modules section of your project : double clik => > open sub-project like a native netbeans modules,... > > I didn't try m2eclipse or Q4E since 1 year, and under eclipse I use > "external tools" to run maven (for java and scala project). But the > maven plugin for netbeans is the best integration I see. > > On Sun, Nov 16, 2008 at 01:38, David Pollak > <[EMAIL PROTECTED]> wrote: > > I do maven from the command line. DavidB knows about maven in netbeans > > > > On Nov 15, 2008 4:20 PM, "Derek Chen-Becker" <[EMAIL PROTECTED]> > wrote: > > > > Out of curiosity, how does Netbeans handle Maven projects, particularly > ones > > with nested modules? The most recent Eclipse plugin still has some warts, > > but it generally seems to work OK if I set up the .classpath file > properly > > to point at all of the source folders. > > > > Thanks, > > > > Derek > > > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak > > <[EMAIL PROTECTED]> wrote: > > I've bee... > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---