Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-350

Cyclic dependency in WarTestCase

    XMLWordPrintable

    Details

      Description

      The WarTestCase is depending upon artifacts created during the build:

      WebArchive archive = ShrinkWrap.create(MavenImporter.class, "testWithTestArtifacts.war").loadEffectivePom("pom.xml")
                      .importBuildOutput().importTestBuildOutput().importTestDependencies().as(WebArchive.class);
                      .importBuildOutput().as(WebArchive.class);

      This sucks in dependencies upon artifacts that may not yet have been built when releasing.

        Attachments

          Activity

            People

            Assignee:
            arubinge@redhat.com Andrew Rubinger
            Reporter:
            arubinge@redhat.com Andrew Rubinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: