Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development