Re: scalac compiler plugin help

2009-06-02 Thread Wayne Fay
>    I'm trying to use the Maven to build a scala project, but I get a > NullPointerException at > "org.apache.maven.artifact.versioning.DefaultArtifactVersion.parseVersion". > My setup is at http://www.gatoatigrado.com/tmp-code-snippets. If you go to the repo and click thru to the versions direct

Re: scalac compiler plugin help

2009-06-02 Thread Nicholas Tung
On Tue, Jun 2, 2009 at 17:06, Wayne Fay wrote: > >I'm trying to use the Maven to build a scala project, but I get a > > NullPointerException at > > > "org.apache.maven.artifact.versioning.DefaultArtifactVersion.parseVersion". > > My setup is at http://www.gatoatigrado.com/tmp-code-snippets. >

Re: scalac compiler plugin help

2009-06-02 Thread Wayne Fay
> Thanks, I tried that, and 2.9, 2.10, etc. It seems to give the same error. Your pom is missing groupId, artifactId, and version, so add those too. That will most likely fix it. Wayne - To unsubscribe, e-mail: users-unsubscr...

RE: scalac compiler plugin help

2009-06-02 Thread Martin Gainty
David- inside the main pom.xml located at /tmp/gatoatigrado/maven/maven-scala-plugin/src/it/docTest/pom.xml should have a dependency for maven-scala-plugin maven-scala-plugin org.scala-tools ${pom.version} mak

Re: scalac compiler plugin help

2009-06-02 Thread Nicholas Tung
On Tue, Jun 2, 2009 at 17:31, Wayne Fay wrote: > > Thanks, I tried that, and 2.9, 2.10, etc. It seems to give the same > error. > > Your pom is missing groupId, artifactId, and version, so add those > too. That will most likely fix it. > > Wayne > > --

Re: scalac compiler plugin help

2009-06-02 Thread Wayne Fay
> Thanks so much, that definitely fixes the first error. Sorry to be such a > newbie. The error messages should be better than NullPointerException > though. I don't disagree that the error message could be more friendly. I am unsure how you managed to get a pom.xml generated that lacks the GAV co