Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      I faced a situation where I need to set a resource-ref on jboss.xml, but the maven plugin does not provide an elegant way to do it (I had to add a postGoal to cactus:cactifywar) as it always use a jboss-web.xml on the plugin-resources:

      <ant:webinf dir="${plugin.resources}/jboss3x">
      <ant:include name="jboss-web.xml" if="cactus.home.jboss3x"/>
      </ant:webinf>

      A temporary solution would be to add a new property:

      on plugin.properties:

      cactus.jboss3x.jboss_web_xml=${plugin.resources}/jboss3x

      on plugin.jelly:

      <ant:webinf dir="${cactus.jboss3x.jboss_web_xml}">
      <ant:include name="jboss-web.xml" if="cactus.home.jboss3x"/>
      </ant:webinf>

      A more elegant solution would handle it to Cargo or the Ant task.

      Vincent, any thoughts?

      – felipe

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              felipeal Felipe Leme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: