com.github.ahodanenok.maven.plugins:gwt-sdm-url-maven-plugin

Plugin for changing GWT SDM URL

License

License

Categories

Categories

Maven Build Tools GWT (Google Web Toolkit) User Interface Web Frameworks
GroupId

GroupId

com.github.ahodanenok.maven.plugins
ArtifactId

ArtifactId

gwt-sdm-url-maven-plugin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

com.github.ahodanenok.maven.plugins:gwt-sdm-url-maven-plugin
Plugin for changing GWT SDM URL
Project URL

Project URL

https://github.com/ahodanenok/gwt-sdm-url-maven-plugin

Download gwt-sdm-url-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.ahodanenok.maven.plugins</groupId>
    <artifactId>gwt-sdm-url-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0.5

provided (2)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4
org.apache.maven : maven-core jar 3.0

Project Modules

There are no modules declared in this project.

GWT SDM URL Maven Plugin

This maven plugin allows to change URL, which application uses to locate SDM CodeServer.

Description

By default host is taken from $wnd.location.hostname which is ok if application could be launched locally.
But if this is not possible and application needed to be deployed in some remote environment, it adds some difficulties in using SDM locally, because host will no longer be localhost.
Using this plugin host could be set to localhost or other as needed.

<plugin>
  <groupId>com.github.ahodanenok.maven.plugins</groupId>
  <artifactId>gwt-sdm-url-maven-plugin</artifactId>
  <version>1.0.0</version>
  <executions>
    <execution>
      <goals>
        <goal>setGwtSdmUrl</goal>
      </goals>
    </execution>
  </executions>
  <configuration>
    <module>testModule</module>
    <host>localhost</host>
    <port>9876</port>
    <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
  </configuration>
</plugin>

All configuration parameters are optional, except module. Default values:

  • host: localhost
  • port: 9876
  • webappDirectory: ${project.build.directory}/${project.build.finalName}

Supported versions:

  • Maven: 3+
  • GWT: 2.7+

License

[MIT] (LICENSE)

Versions

Version
1.0.0