Also, build using the -X and/or -e options and see what the messages tell you about what it is doing at the time.
Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of William B. Clodius > Sent: Monday, December 14, 2009 9:55 PM > To: [email protected] > Subject: [antlr-interest] Maven problems with ANTLR 3.2 > > I am trying to build ANTLR 3.2 with maven 2.2.1 on Mac OS X 10.6.2 and > am having problems with what I believe is a null pointer exception. The > test below is the result of trying to rerun maven after my first build. > Any suggestions? > > bash-3.2$ mvn -Dmaven.test.skip=true | more > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] ANTLR Master build control POM > [INFO] Antlr 3 Runtime > [INFO] ANTLR Grammar Tool > [INFO] Maven plugin for ANTLR V3 > [INFO] ANTLR gUnit > [INFO] Maven plugin for gUnit ANTLR V3 > [INFO] ---------------------------------------------------------------- > -------- > [INFO] Building ANTLR Master build control POM > [INFO] task-segment: [install] > [INFO] ---------------------------------------------------------------- > -------- > [INFO] [buildnumber:create {execution: default}] > [INFO] Storing buildNumber: Dec 14, 2009 22:38:09 at timestamp: > 1260855489961 > [INFO] ---------------------------------------------------------------- > -------- > [ERROR] FATAL ERROR > [INFO] ---------------------------------------------------------------- > -------- > [INFO] The scm url cannot be null. > [INFO] ---------------------------------------------------------------- > -------- > [INFO] Trace > java.lang.NullPointerException: The scm url cannot be null. > at > org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(Abstr > actScmManager.java:181) > at > org.codehaus.mojo.build.CreateMojo.getScmRepository(CreateMojo.java:722 > ) > at > org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:593) > at > org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:452) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginM > anager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul > tLifecycleExecutor.java:694) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLife > cycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Default > LifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandl > eFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > (DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife > cycleExecutor.java:180) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso > rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] ---------------------------------------------------------------- > -------- > [INFO] Total time: 2 seconds > [INFO] Finished at: Mon Dec 14 22:38:09 MST 2009 > [INFO] Final Memory: 20M/264M > [INFO] ---------------------------------------------------------------- > -------- > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
