Configuration / Settings

Most users will need to add some or all of the following entries to their Maven settings.

<settings>

    <pluginGroups> 
[1]     <pluginGroup>com.isomorphic</pluginGroup>
    </pluginGroups>

    <servers>
[2]     <server>
            <id>smartclient-developer</id>
            <username>scott</username>
            <password>tiger</password>
        </server>
[3]     <server>
            <id>repository-manager</id>
            <username>bruce.scott</username>
            <password>t1ger!</password>
        </server>
    </servers>

    <profiles>
[4]     <profile>
            <id>isc</id>
            <properties>
                <product>SMARTGWT</product>
                <license>POWER</license>
                <buildNumber>4.0p</buildNumber>
                <workdir>/users/scott/downloads/isomorphic</workdir>
                <repositoryId>repository-manager</repositoryId>
                <repositoryUrl>http://nexus.corp.int/nexus/content/repositories/thirdparty/</repositoryUrl>
            </properties>
            <pluginRepositories>
[5]             <pluginRepository>
                    <id>sonatype-snapshots</id>
                    <name>Sonatype Release Snapshots</name>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
                    <layout>default</layout>
                </pluginRepository
            </pluginRepositories>
        </profile>
    </profiles>

</settings>
  1. A pluginGroup entry, enabling the shorthand isc plugin prefix.

  2. A server entry, containing your SmartClient Developer credentials.

  3. Another server entry, containing the credentials you would use to deploy a file to your own repository manager.

  4. A profile containing configuration values to be used at goal execution, typically activated with a -P switch. Note that system properties can be used to complement or override values provided in the profile.

  5. A pluginRepository entry, only necessary if and when you want to test a development version of the plugin. Note that this may require use of the fully-qualified plugin name and version. e.g.,

    mvn com.isomorphic:isc-maven-plugin:1.4.0-SNAPSHOT:reify-import -Pisc
    

Back to top

Reflow Maven skin by Andrius Velykis.