This is usually a missing forehead.conf file from the maven batch/script process.
It looks to me like you have a bad install of maven. project.xml files aren't executed. What are you trying to do using: maven -Dpackage=com.example.test testapp 'testapp' isn't a maven supplied goal AFAIK. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Work: http://www.multitask.com.au "David Liles" <[EMAIL PROTECTED]> wrote on 19/06/2003 12:03:11 AM: > I have a project.xml file in the project root directory now. When I > attempt to run maven java:compile I'm getting the below error: > > E:\projects\example>maven java:compile > java.net.MalformedURLException: unknown protocol: c > at java.net.URL.<init>(Unknown Source) > at java.net.URL.<init>(Unknown Source) > at java.net.URL.<init>(Unknown Source) > at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) > at com.werken.forehead.Forehead.load(Forehead.java:322) > at com.werken.forehead.Forehead.config(Forehead.java:245) > at com.werken.forehead.Forehead.config(Forehead.java:131) > at com.werken.forehead.Forehead.main(Forehead.java:571) > > > Can someone tell me what the bare minimums are that maven needs for > a project.xml file to execute? > > > -----Original Message----- > From: Bill Lynch [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 8:44 AM > To: Maven Users List > Subject: Re: running project > > > I've seen this error too and it is related to not having a project. > xml file in > the directory where you call 'maven'. > > Could we get a better error message for this case? In ant it says > something nice > like "build.xml not found". > > Cheers, > --Bill > > [EMAIL PROTECTED] wrote: > > Do you have a project.xml in that directory? > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > Work: http://www.multitask.com.au > > > > > > "David Liles" <[EMAIL PROTECTED]> wrote on 18/06/2003 02:37:13 PM: > > > > > >>Thanks for the info however, when I entered the below line I got the > >>following error. > >> > >>I'm not sure what I need to do at this point.... > >> > >>Thanks > >> > >> > >>C:\projects>maven -Dpackage=com.example.test testapp > >> __ __ > >>| \/ |__ Jakarta _ ___ > >>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > >>|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9-SNAPSHOT > >> > >>java.lang.NullPointerException > >> at org.apache.maven.plugin.PluginManager. > >>attainGoals(PluginManager.java: > >>376) > >> at > > > > org.apache.maven.MavenSession.attainGoals(MavenSession.java:357) > > > >> at org.apache.maven.cli.App.doMain(App.java:524) > >> at org.apache.maven.cli.App.main(App.java:1080) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at sun.reflect.NativeMethodAccessorImpl. > >>invoke(NativeMethodAccessorImpl. > >>java:39) > >> at sun.reflect.DelegatingMethodAccessorImpl. > >>invoke(DelegatingMethodAcces > >>sorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:324) > >> at com.werken.forehead.Forehead.run(Forehead.java:543) > >> at com.werken.forehead.Forehead.main(Forehead.java:573) > >>Total time: 7 seconds > >> > >> > > > --------------------------------------------------------------------- > 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] >
