This works for me.
I copied your files into a temp directory and ran maven mygoal. Here's the
output:
C:\temp\test>maven mygoal
__ __
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-8
mygoal:
[mkdir] Created dir: C:\temp\test\blahdir
BUILD SUCCESSFUL
Total time: 5 seconds
C:\temp\test>
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au
Scott Walters <[EMAIL PROTECTED]> wrote on 18/01/2003 05:02:46 PM:
> Thanks. I also tried this and got the same error. Both files are in
> the same dir. I issue the cmd "maven mygoal" in that dir. There's
> nothing else in that dir.
>
> Scott
>
>
> Here's project.xml...
> <project>
>
> <pomVersion>3</pomVersion>
> <id>Test1</id>
> <name>Test1</name>
> <currentVersion>1</currentVersion>
> <inceptionYear>2001</inceptionYear>
>
> <description>Test Project created in
${pom.inceptionYear}.</description>
> <shortDescription>${pom.name} is a Maven Test</shortDescription>
>
> </project>
>
>
>
> Here's maven.xml...
> <project default="mygoal"
> xmlns:j="jelly:core"
> xmlns:m="maven"
> xmlns:u="jelly:util">
>
> <goal name="mygoal">
> <mkdir dir="blahdir" />
> </goal>
>
>
> </project>
>
>
>
> [EMAIL PROTECTED] wrote:
> > Scott Walters <[EMAIL PROTECTED]> wrote on 18/01/2003 02:30:42 PM:
> >
> >
> >>Hi,
> >>
> >>I'm new to Maven and I'm trying to get a very simple project that
> >>creates a directory to execute.
> >>
> >>My attempt has a single file called project.xml that looks like
this...
> >>
> >><project>
> >> <pomVersion>3</pomVersion>
> >> <id>Test1</id>
> >> <name>Test1</name>
> >> <currentVersion>1</currentVersion>
> >> <inceptionYear>2001</inceptionYear>
> >>
> >> <description>Test created in ${pom.inceptionYear}.</description>
> >> <shortDescription>${pom.name} is a Maven Test</shortDescription>
> >>
> >> <goal name="mygoal">
> >> <mkdir dir="somedir" />
> >> </goal>
> >
> >
> > Goals don't go in project.xml, they go in maven.xml
> > --
> > dIon Gillard, Multitask Consulting
> > Blog: http://www.freeroller.net/page/dion/Weblog
> > Work: http://www.multitask.com.au
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
>
> ForwardSourceID:NT000A4EA2
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>