pom.xml
changeset 0 c46bb04134cb
child 1 9b9d2f4b4ce0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pom.xml	Sun May 15 17:46:06 2011 +0400
     1.3 @@ -0,0 +1,165 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.6 +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     1.7 +
     1.8 +	<modelVersion>4.0.0</modelVersion>
     1.9 +
    1.10 +	<groupId>org.vaadin.addons</groupId>
    1.11 +	<artifactId>console</artifactId>
    1.12 +	<version>1.1.7-SNAPSHOT</version>
    1.13 +	<packaging>jar</packaging>
    1.14 +	<name>Vaadin Console add-on</name>
    1.15 +	<parent>
    1.16 +		<groupId>ru.bazon.think-easy-money</groupId>
    1.17 +		<artifactId>think-easy-money-all</artifactId>
    1.18 +		<version>1.0-SNAPSHOT</version>
    1.19 +	</parent>
    1.20 +
    1.21 +	<build>
    1.22 +		<plugins>
    1.23 +			<plugin>
    1.24 +				<groupId>org.apache.maven.plugins</groupId>
    1.25 +				<artifactId>maven-compiler-plugin</artifactId>
    1.26 +				<configuration>
    1.27 +					<source>1.6</source>
    1.28 +					<target>1.6</target>
    1.29 +				</configuration>
    1.30 +			</plugin>
    1.31 +
    1.32 +			<plugin>
    1.33 +				<groupId>org.apache.maven.plugins</groupId>
    1.34 +				<artifactId>maven-jar-plugin</artifactId>
    1.35 +				<version>2.3.1</version>
    1.36 +				<configuration>
    1.37 +					<archive>
    1.38 +						<index>true</index>
    1.39 +						<manifest>
    1.40 +							<addClasspath>true</addClasspath>
    1.41 +							<!--
    1.42 +								Implementation-Title and Implementation-Version come from the
    1.43 +								POM by default
    1.44 +							-->
    1.45 +							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    1.46 +						</manifest>
    1.47 +						<manifestEntries>
    1.48 +							<!-- Package format version - do not change -->
    1.49 +							<Vaadin-Package-Version>1</Vaadin-Package-Version>
    1.50 +
    1.51 +							<!-- Add-on specific fields to update -->
    1.52 +							<Vaadin-License-Title>Apache License 2.0</Vaadin-License-Title>
    1.53 +
    1.54 +							<!--
    1.55 +								Implementation-Title and Implementation-Version come from the
    1.56 +								POM by default
    1.57 +							-->
    1.58 +							<Implementation-Vendor>Vaadin Ltd</Implementation-Vendor>
    1.59 +							<Implementation-Title>${pom.name}</Implementation-Title>
    1.60 +							<Implementation-Version>${pom.version}</Implementation-Version>
    1.61 +
    1.62 +							<!-- Comma-separated list of widgetsets in the package -->
    1.63 +							<Vaadin-Widgetsets>org.vaadin.console.ConsoleWidgetset</Vaadin-Widgetsets>
    1.64 +						</manifestEntries>
    1.65 +					</archive>
    1.66 +				</configuration>
    1.67 +			</plugin>
    1.68 +
    1.69 +			<!-- Compiles your custom GWT components with the GWT compiler -->
    1.70 +			<!--
    1.71 +				A hosted mode browser for client-side widget debugging can be run
    1.72 +				with the goal gwt:run after uncommenting the correct line below. A
    1.73 +				remote debugger can then be connected to port 8998. Note that e.g. a
    1.74 +				Jetty server should be running with the server side parts - use the
    1.75 +				goal jetty:run .
    1.76 +			-->
    1.77 +			<plugin>
    1.78 +				<groupId>org.codehaus.mojo</groupId>
    1.79 +				<artifactId>gwt-maven-plugin</artifactId>
    1.80 +				<version>2.2.0</version>
    1.81 +				<configuration>
    1.82 +					<!-- if you don't specify any modules, the plugin will find them -->
    1.83 +					<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
    1.84 +					<!-- On Mac running Snow Leopard, add "-d32" -->
    1.85 +					<!--
    1.86 +						This causes error messages (but build works) in phase "package":
    1.87 +						two processes would use the same debug port
    1.88 +					-->
    1.89 +					<!--
    1.90 +						extraJvmArgs>-Xmx512M -Xss1024k -Xdebug
    1.91 +						-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8998</extraJvmArgs
    1.92 +					-->
    1.93 +					<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
    1.94 +					<runTarget>xsite</runTarget>
    1.95 +					<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
    1.96 +					<noServer>true</noServer>
    1.97 +					<port>8080</port>
    1.98 +					<soyc>false</soyc>
    1.99 +				</configuration>
   1.100 +				<executions>
   1.101 +					<execution>
   1.102 +						<goals>
   1.103 +							<goal>resources</goal>
   1.104 +							<goal>compile</goal>
   1.105 +						</goals>
   1.106 +					</execution>
   1.107 +				</executions>
   1.108 +			</plugin>
   1.109 +		</plugins>
   1.110 +
   1.111 +		<!--
   1.112 +			This is needed for the sources required by the GWT compiler to be
   1.113 +			included in the produced JARs
   1.114 +		-->
   1.115 +		<resources>
   1.116 +			<resource>
   1.117 +				<directory>src/main/java</directory>
   1.118 +			</resource>
   1.119 +			<resource>
   1.120 +				<directory>src/main/resources</directory>
   1.121 +			</resource>
   1.122 +		</resources>
   1.123 +	</build>
   1.124 +	
   1.125 +	<profiles>
   1.126 +		<profile>
   1.127 +			<id>updateWidgetset</id>
   1.128 +			<build>
   1.129 +				<plugins>
   1.130 +					<plugin>
   1.131 +						<groupId>com.vaadin</groupId>
   1.132 +						<artifactId>vaadin-maven-plugin</artifactId>
   1.133 +						<version>1.0.2</version>
   1.134 +						<executions>
   1.135 +							<execution>
   1.136 +								<configuration>
   1.137 +								</configuration>
   1.138 +								<goals>
   1.139 +									<goal>update-widgetset</goal>
   1.140 +								</goals>
   1.141 +							</execution>
   1.142 +						</executions>
   1.143 +					</plugin>
   1.144 +				</plugins>
   1.145 +			</build>
   1.146 +		</profile>
   1.147 +	</profiles>
   1.148 +
   1.149 +	<dependencies>
   1.150 +		<dependency>
   1.151 +			<groupId>com.vaadin</groupId>
   1.152 +			<artifactId>vaadin</artifactId>
   1.153 +			<version>6.6.0</version>
   1.154 +		</dependency>
   1.155 +		<dependency>
   1.156 +			<groupId>org.vaadin.addons</groupId>
   1.157 +			<artifactId>widget-rpc</artifactId>
   1.158 +			<version>1.1.3</version>
   1.159 +		</dependency>
   1.160 +		<dependency>
   1.161 +			<groupId>com.google.gwt</groupId>
   1.162 +			<artifactId>gwt-user</artifactId>
   1.163 +			<version>2.2.0</version>
   1.164 +			<scope>provided</scope>
   1.165 +		</dependency>
   1.166 +	</dependencies>
   1.167 +
   1.168 +</project>