Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2088

ApacheLicenceHeaderTests fail after projects' metadata created by Eclipse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC3
    • None
    • None

    Description

      Wicket and all it's accompanying projects when being worked on in Eclipse tend to fail several ApacheLicenceHeaderTest as it is an IDE that creates .settings directory containing several xml projects' metadata files. There are 6 solutions:
      1. don't use eclipse
      2. skip tests entirely (-Dmaven.test.skip=true passed on the CLI when invoking maven)
      3. skip running the tests (-DskipTests)
      4. compile & run but ignore tests failures (-Dmaven.test.failure.ignore=true)
      5. Modify the ApacheLicenceHeaderTests so that the xml files in the .settings directories are ignored
      IMHO, having considered all pros and cons, only 5. is a an option. As there already is an Eclipse originating .xml file that gets ignored I hope that you don't mind going this way. The patch to follow shortly.

      Attachments

        1. wicket-parent.patch
          8 kB
          Dominik Drzewiecki

        Activity

          People

            ivaynberg Igor Vaynberg
            drzewo Dominik Drzewiecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: