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

Package and deploy test code in nuxeo-opencmis-tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8
    • Fix Version/s: 5.9.1
    • Component/s: CMIS

      Description

      I need Nuxeo CMIS to support the HTTP HEAD Method in addition to the standard GET/PUT/POST/DELETE Methods. Since the CMIS Spec does not support the HEAD Method, I suspect neither Apache Chemistry nor Nuxeo would accept a patch that adds HEAD Method support to Chemistry OpenCMIS.

      This is one scenario where it would be helpful if the test code in nuxeo-opencmis-tests was made available for reuse as described in the "Maven - Guide to using attached tests" http://maven.apache.org/guides/mini/guide-attached-tests.html. This is a request to modify the nuxeo-opencmis-tests pom.xml accordingly. This would be identical to the configuration for nuxeo-platform-audit-core.

      Propose resolving this issue by adding the following plugin to the list of plugins in the build section of the pom.xml.

            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-jar-plugin</artifactId>
              <executions>
                <execution>
                  <configuration>
                    <archive>
                      <manifestFile>
                        src/test/resources/META-INF/MANIFEST.MF
                      </manifestFile>
                    </archive>
                  </configuration>
                  <goals>
                    <goal>test-jar</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.