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

Allow cactus plugin to include some resources

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: Maven Integration
    • Labels:
      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. test06.zip
          7 kB
          Nicolas Chalumeau
        2. CACTUS-132-nchalumeau.patch
          8 kB
          Nicolas Chalumeau
        3. CACTUS-132-felipeal.patch2
          12 kB
          Felipe Leme
        4. CACTUS-132-felipeal.patch
          11 kB
          Felipe Leme
        5. properties.xml.diff
          0.8 kB
          Nicolas Chalumeau
        6. project.xml.diff
          0.8 kB
          Nicolas Chalumeau
        7. plugin.properties.diff
          0.6 kB
          Nicolas Chalumeau
        8. changes.xml.diff
          1 kB
          Nicolas Chalumeau
        9. webjar.zip
          6 kB
          Nicolas Chalumeau
        10. plugin.jelly.diff
          0.9 kB
          Nicolas Chalumeau

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: