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>

</project>


I issue the following command from the directory that contains the file...

maven mygoal

I get the following error...
BUILD FAILED
Goal "mygoal" does not exist in this project.

What do I need to do to fix this?

Thanks,
Scott


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to