Goals available for this plugin:

Goal Description
isc:deploy Deploys a collection of Modules to the Maven repository location indicated by the given repositoryUrl property. Functionally, pretty much just like the Deploy Plugin's deploy-file goal, except this one works on a collection.

Refer to http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html

isc:download Downloads and unpacks a given distribution, but does not actually do anything with the resulting Maven artifacts.
isc:install Installs a collection of Modules to the user's local repository. Functionally, pretty much just like the Install Plugin's install-file goal, except this one works on a collection.

Refer to http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

isc:reify-import Provides for single-step download and extraction of assets hosted on the Reify platform. While there is nothing to prevent a user from modifying the imported resources, changes should almost always be made using Reify and then re-imported. If necessary, use the API (e.g., RPCManager.createScreen, Canvas.getByLocalId) to modify imported screen definitions at runtime. Imported MockDataSources can simply be replaced using e.g., SQLDataSources having the same ID in another directory - there is no reason to modify the contents of the 'mock' subdirectory.

To encourage recommended usage, the reify-import goal takes steps to detect local changes and fail when any are found. Refer to the skipOverwriteProtection parameter for details. Further, a validation step (optional, see ImportMojo.skipValidationOnImport) attempts to detect commonly found discrepancies between your MockDataSources and working DataSources.

The Reify for Developers documentation topic contains further discussion around best practices during the design / development cycle.

If you've built your project using one of the Maven archetypes for either SmartGWT or SmartClient, you should have a skeleton configuration in you POM already. if not, add something like the following:

<pluginManagement>
    <plugins>
        <plugin>
            <groupId>com.isomorphic</groupId>
            <artifactId>isc-maven-plugin</artifactId>
            <version>1.4.5</version>
            <!-- the m2pluginextras dependency will be required when skipValidationOnImport = false -->
            <dependencies>
                <dependency>
                    <groupId>com.isomorphic.extras</groupId>
                    <artifactId>isomorphic-m2pluginextras</artifactId>
                   <version>${smartgwt.version}</version>
                </dependency>       
            </dependencies>
        </plugin>
    </plugins>
</pluginManagement>                

<build>
    <plugins>
      <plugin>
          <groupId>com.isomorphic</groupId>
          <artifactId>isc-maven-plugin</artifactId>
          <configuration>
            <smartclientRuntimeDir>${project.parent.build.directory}/gwt/launcherDir/myapplication/sc</smartclientRuntimeDir>
            <dataSourcesDir>WEB-INF/ds/classic-models</dataSourcesDir>
          </configuration>
      </plugin>
    </plugins>
</build>
and check that the SmartClient runtime has been extracted to the configured location (via e.g., mvn war:exploded, mvn jetty:run).
isc:reify-validate A utility class to run the ImportMojo's validation step independently of the import process.

Invocation will require values for smartclientRuntimeDir, dataSourcesDir, and optionally mockDataSourcesDir parameters.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.1
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.isomorphic</groupId>
          <artifactId>isc-maven-plugin</artifactId>
          <version>1.4.5</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.isomorphic</groupId>
        <artifactId>isc-maven-plugin</artifactId>
        <version>1.4.5</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"

Back to top

Reflow Maven skin by Andrius Velykis.