Uploaded image for project: 'Doctype Maven Plugin'
  1. Doctype Maven Plugin
  2. DTSMP-27

Build fails on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.3.2
    • 1.3.1
    • Add-on Archetype
    • None
    • Informal

    Description

      The target path is specified with a leading '/'. While under Windows this makes no difference, a Linux system assumes that the path is starting with root.

      [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ smartics-projectdoc-confluence-space-core ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources to /META-INF
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.196 s
      [INFO] Finished at: 2019-02-28T16:08:44+00:00
      [INFO] Final Memory: 95M/1477M
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.832 s
      [INFO] Finished at: 2019-02-28T16:08:44+00:00
      [INFO] Final Memory: 91M/1488M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal de.smartics.maven.plugin:doctype-maven-plugin:1.3.0:build (build-obr) on project smartics-doctype-model-core: Cannot build project! [org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:copy-resources (copy-resources) on project smartics-projectdoc-confluence-space-core: /META-INF/COPYRIGHT.txt (No such file or directory)] -> [Help 1]
      [ERROR] 
      

      Therefore the leading '/' for the targetPath in the Ressource Maven Plugin configuration must be removed.

      Attachments

        Issue Links

          Activity

            People

              robert.reiner Robert Reiner
              robert.reiner Robert Reiner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: