Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-19509

Incorrect scope in acceptance test pom breaks IDEA 9.0.2 integration

    XMLWordPrintable

Details

    Description

      Confluence's root project pom declares a dependency on confluence core in its dependencyManagement section thus:

      ...
                  <dependency>
                      <groupId>com.atlassian.confluence</groupId>
                      <artifactId>confluence</artifactId>
                      <version>${project.version}</version>
                      <scope>provided</scope>
                  </dependency>
      

      The provided scope may be appropriate in some places, but is not an appropriate default to be inherited by everything. For example, the acceptance tests, which currently depend on Confluence core, need Confluence to be present in its classpath.

      In IDEA 9.0.2, the provided scope leads the acceptance tests to not include Confluence in their classpath and thus fail.

      Attachments

        Activity

          People

            don.willis@atlassian.com Don Willis
            don.willis@atlassian.com Don Willis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: