Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13797

Fix pom files in nuxeo-javaagent and nuxeo-session-inspector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.2
    • Fix Version/s: 5.9.3
    • Component/s: Infrastructure

      Description

      This module does not build anymore using mvn 3 since 5.9.2 release, it seems a relativePath element is incorrect.

      The following error is shown:

      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.nuxeo.runtime:nuxeo-javaagent-bridge:5.9.3-SNAPSHOT (/home/anahide/workspaces/nuxeogit/addons/nuxeo-javaagent/bridge/pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Could not find artifact org.nuxeo.runtime:nuxeo-javaagent-parent:pom:5.9.3-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 4, column 11 -> [Help 2]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
      

      Also both modules nuxeo-javaagent and nuxeo-session-inspector need a scm configuration, and as nuxeo-session-inspector is referencing nuxeo-javaagent, let's add them to non-optional addons (to avoid having to maintain the dep version by hand)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: