Check out the build entity in the project.xml:
http://maven.apache.org/reference/project-descriptor.html#build

in the project entity add something like:
<build>
<sourceDirectory>src</sourceDirectory>
</build>

Just take a look in the webCVS of any of the misc/powered by maven projects
:)
For example this is a project.xml of a J2SE app:
http://cvs.sourceforge.net/viewcvs.py/networktools/networktools/project.xml?rev=1.10&view=auto

-- 
With kind regards,
Geoffrey

"Braim" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
>
> Hi everybody,
>
> I'm just downloaded maven installed it and created my first site. My
> project.xml file is below.
>
> Now, I want to try maeven on a small project. I don't want to use plugin
> for editor who support directly maven or something like that but I want
> to write the project.xml file by hands.
>
> I have a project:
> The sources are in the folder -> c:\test\project001\src
>
> Can someone help me to create a site using this source folder ?
> _____________________
> <project>
>     <id>001</id>
>     <name>Maven - Test - 001 </name>
>     <currentVersion>0.0.1</currentVersion>
>     <shortDescription>Maven - Test - 001 </shortDescription>
>     <inceptionYear>2004</inceptionYear>
>     <developers>
>       <developer>
>         <id>Braim</id>
>         <name>Braim</name>
>         <email>[EMAIL PROTECTED]</email>
>       </developer>
>     </developers>
>
>     <organization>
>        <name>Braim</name>
>     </organization>
> </project>
> _____________________




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

Reply via email to