Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-161

AS7 deploy plugin should have dist as dependency to prevent requirement for JBOSS_HOME

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.0.0.Alpha4
    • Blessed Plugins
    • None

      To remove the need for users to specify JBOSS_HOME when running the AS7 deploy plugin on forge you could add the following Maven plugin:

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-dependency-plugin</artifactId>
      <executions>
      <execution>
      <id>unpack-as7</id>
      <phase>process-test-classes</phase> <!-- So run before testing -->
      <goals>
      <goal>unpack</goal>
      </goals>
      <configuration>
      <artifactItems>
      <artifactItem>
      <groupId>org.jboss.as</groupId>
      <artifactId>jboss-as-dist</artifactId>
      <version>7.0.0.Final</version>
      <type>zip</type>
      <overWrite>false</overWrite>
      <outputDirectory>${project.build.directory}</outputDirectory>
      </artifactItem>
      </artifactItems>
      </configuration>
      </execution>
      </executions>
      </plugin>

              Unassigned Unassigned
              kfinniga@redhat.com Ken Finnigan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: