Sorry, that wasn't clear from your original post. Branches, tags, and trunk do not belong in a Maven directory structure, rather the Maven directory structure belongs in the branches/tags/trunk:

/root
  /project
    /trunk
       /src
       /test
       /module0
         /src
         /test
       /module1
         /src
         /test
    /branches
       /1.0
         /src
         /test
         /module0
           /src
           /test
         /module1
           /src
           /test

Coleman


On Feb 19, 2008, at 2:07 PM, Chris wrote:

Umm, no.

This question has nothing to do with repositories. It has to do with the directory structure on the development machines.



John Coleman wrote:
Seems like you have a fundamental misunderstanding of what Maven is for. Maven is a build tool, similar to Ant. The structure that Maven "wants" is a conventional way to setup your project so that Maven can build it with minimal fuss. A Maven repo and a Subversion repo are two different things. You will store your Maven project in the Subversion repo, but the compiled jar/war/artifacts are stored in the Maven repository. This can be as simple as a file system exposed by an HTTP server - but you will not generally deploy source code there.
Have a look at the book "Better Builds with Maven" found here
http://maven.apache.org/articles.html
along with some other useful resources.
Coleman
On Feb 19, 2008, at 1:18 PM, Chris wrote:
I'm migrating a number of projects and modules to Maven. I'm confused on how the directories should be set up.

Maven wants this:

/projectname
   /module0
       /src
   /module1
       /src

Subversion wants this:

/root
   /projectname
       /branches
       /tags
       /trunk
           /module0
               /branches
               /tags
               /trunk
                   /src
                   etc.

The way I read the documentation, Maven finds modules based on directory name, and the svn naming convention is going to mess things up.

Where should /branches, /tags, and /trunk go in a Maven directory structure?


---------------------------------------------------------------------
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]



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

Reply via email to