maven-release-plugin
<plugin><groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<preparationGoals>clean install</preparationGoals>
<tagBase>${tag.base.url}</tagBase>
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- Activate dist profile on release:perform -->
<releaseProfiles>${release.profiles.list}</releaseProfiles>
</configuration>
</plugin>
gwt-maven-plugin
<plugin><groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt-version}</version>
<configuration>
<draftCompile>true</draftCompile>
<optimizationLevel>0</optimizationLevel>
<disableCastChecking>true</disableCastChecking>
<disableClassMetadata>true</disableClassMetadata>
<extraJvmArgs>-Xmx1200M -Xss1024k -XX:MaxPermSize=256M</extraJvmArgs>
<module>${module.path}</module>
<runTarget>index.html</runTarget>
<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
<copyWebapp>true</copyWebapp>
</configuration>
<executions>
<execution>
<id>compile</id>
<phase>test-compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
No comments:
Post a Comment