Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-141

create project foo, followed by "mvn package" causes a build failure because there is no web.xml file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: 1.0.0.RC1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      This problem was reported by Adrian Colyer in ROO-138.

      Essentially we have changed the initial project generation to start without any Web artifacts (see ROO-26). This allows users to create a simple Spring project without any persistence or Web artefacts.

      However, the project maven pom file still refers to packaging type 'war' which causes 'mvn package' to fail due to a missing web.xml which is expected in Web projects.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              sschmidt Stefan Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: