Uploaded image for project: 'Codehaus Cargo'
  1. CARGO-614

specifying root context in a deployable element doesn't work

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.0.1-beta-2, 1.0.1-beta-3, 1.0.1
    • Components: None
    • Labels:
      None
    • Environment:

      Windows via Parallels on a Mac

      Description

      The following configuration does not work. Setting the context element to anything except / works as desired.

      <plugin>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-maven2-plugin</artifactId>
      <configuration>
      <container>
      <containerId>jboss42x</containerId>
      <zipUrlInstaller>
      <url>http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA-jdk6.zip</url>
      <installDir>$

      {java.io.tmpdir}

      /cargoinstalls</installDir>
      </zipUrlInstaller>
      <output>$

      {project.build.directory}/jboss/container.log</output>
      <append>false</append>
      <log>${project.build.directory}

      /jboss/cargo.log</log>
      </container>
      <configuration>
      <type>standalone</type>
      <properties>
      <cargo.servlet.port>8080</cargo.servlet.port>
      <cargo.logging>high</cargo.logging>
      </properties>

      <deployables>
      <deployable>
      <groupId>$

      {project.groupId}

      </groupId>
      <artifactId>$

      {pom.artifactId}

      </artifactId>
      <type>war</type>
      <properties>
      <context>/</context>
      </properties>
      </deployable>
      </deployables>
      </configuration>
      </configuration>
      </plugin>

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                briancribbs Brian Cribbs (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: