Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-262

nuxeo-distribution-tools must correctly filter dependencies when it finds itself in the tree

    XMLWordPrintable

    Details

      Description

      When nuxeo-distribution-tools (the plugin) finds itself in the dependency tree (in the same version), it fails at filtering its own dependencies.

      The following fails when running nuxeo-distribution-tools to build an assembly:
      <dependency>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-distribution-tools</artifactId>
      <version>1.5</version>
      <scope>provided</scope>
      </dependency>
      ...
      <plugin>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-distribution-tools</artifactId>
      <version>1.5</version>
      <extensions>true</extensions>
      </plugin>

      The following works (1.5.0 is an exact duplicate of 1.5):
      <dependency>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-distribution-tools</artifactId>
      <version>1.5.0</version>
      <scope>provided</scope>
      </dependency>
      ...
      <plugin>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-distribution-tools</artifactId>
      <version>1.5</version>
      <extensions>true</extensions>
      </plugin>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: