Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-132

Allow cactus plugin to include some resources

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7
    • Maven Integration
    • None

    Description

      In a project I produce a jar artifact. I have a webapp in my src/test/webapp directory. I need to include some resources in the war for the cactus test as junit does.

      As Vincent answers me :
      > Is there a way to include build resources and test resources in the
      > webapp during a cactus test ?

      ... I guess the Cactus
      plugin could copy some resources. However, the resources that Cactus would
      copy (during the cactifywar step) would need to be defined as properties
      (and not in the POM as there's not way currently to extend the POM and I
      think we shouldn't reuse the junit resources which are for pure JUnit
      tests).

      Attachments

        1. webjar.zip
          6 kB
          Nicolas Chalumeau
        2. test06.zip
          7 kB
          Nicolas Chalumeau
        3. properties.xml.diff
          0.8 kB
          Nicolas Chalumeau
        4. project.xml.diff
          0.8 kB
          Nicolas Chalumeau
        5. plugin.properties.diff
          0.6 kB
          Nicolas Chalumeau
        6. plugin.jelly.diff
          0.9 kB
          Nicolas Chalumeau
        7. changes.xml.diff
          1 kB
          Nicolas Chalumeau
        8. CACTUS-132-nchalumeau.patch
          8 kB
          Nicolas Chalumeau
        9. CACTUS-132-felipeal.patch2
          12 kB
          Felipe Leme
        10. CACTUS-132-felipeal.patch
          11 kB
          Felipe Leme

        Activity

          People

            felipeal Felipe Leme
            nchalumeau Nicolas Chalumeau
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: