Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-204

adapt project layout to maven/jakarta standards

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.01
    • 2.01
    • build
    • None

    Description

      In order to support maven in future, or just to provide a more standard directory layout (see apache and jakarta project), I would suggest to slightly change the project layout in svn.

      suggested changes:

      • move /src to /src/main. Rationale: allow a common src directory which can host in future "different kind" of sources, mainly junit tests ("src/test") or resources ("src/resources")
      • move /applications/webapps/magnolia to /src/webapp. Rationale: clearly separate source files from generated files (everything is a source file goes into /src, everything is a generated file goes into /target)
      • fix ant build.xml and idea project in order to compile classes to /target/classes instead of /classes. Rationale: separate generated files and allow a common path for different kind of artifacts (classes, junit tests, war, distributions).

      See also http://maven.apache.org/reference/dirlayout.html
      note that this directory layout is not required by maven but it's the suggested one derived by best-practices.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD