Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-788

DSpace 1.7.0 only builds properly for Maven 2.2.0 or above

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.1
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      6
    • Documentation Status:
      Needed

      Description

      From an email thread on dspace-tech mailing list:

      http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg12821.html

      For Maven 2.0.x versions, DSpace 1.7.0 doesn't build 100% properly. Although no errors occur during a Maven build, the following directory is not created properly:

      [dspace-src]/dspace/target/dspace-1.7.0-build/webapps/

      Rather than seeing a separate folder for each webapplication, all webapp files are jumbled together in the top level folder. The problem seems to be that the maven-war-plugin is not copying the webapps properly to that folder.

      There are two know "quick fixes" to this issue:

      (1) Install Maven 2.2.x – it works properly

      OR

      (2) Manually copy the webapps from their [dspace-src]/dspace/modules/[webapp-name]/target/ directory. So, for example, the XMLUI webapp is built properly to the path: [dspace-src]/dspace/modules/xmlui/target/xmlui-1.7.0/ If you manually copy the webapp to the proper location, everything should work fine.

      For the time being, this is a "known issue" with DSpace 1.7.0. The developers will need to determine if we should continue to support Maven 2.0.x, or if we require an upgrade to Maven 2.2.x or above.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tdonohue Tim Donohue
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: