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

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: