pom.xml
author indvdum
Sun, 15 May 2011 17:46:06 +0400
changeset 0 c46bb04134cb
child 1 9b9d2f4b4ce0
permissions -rw-r--r--
+ new project: vaadin-console-addon
indvdum@0
     1
<?xml version="1.0" encoding="utf-8"?>
indvdum@0
     2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
indvdum@0
     3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
indvdum@0
     4
indvdum@0
     5
	<modelVersion>4.0.0</modelVersion>
indvdum@0
     6
indvdum@0
     7
	<groupId>org.vaadin.addons</groupId>
indvdum@0
     8
	<artifactId>console</artifactId>
indvdum@0
     9
	<version>1.1.7-SNAPSHOT</version>
indvdum@0
    10
	<packaging>jar</packaging>
indvdum@0
    11
	<name>Vaadin Console add-on</name>
indvdum@0
    12
	<parent>
indvdum@0
    13
		<groupId>ru.bazon.think-easy-money</groupId>
indvdum@0
    14
		<artifactId>think-easy-money-all</artifactId>
indvdum@0
    15
		<version>1.0-SNAPSHOT</version>
indvdum@0
    16
	</parent>
indvdum@0
    17
indvdum@0
    18
	<build>
indvdum@0
    19
		<plugins>
indvdum@0
    20
			<plugin>
indvdum@0
    21
				<groupId>org.apache.maven.plugins</groupId>
indvdum@0
    22
				<artifactId>maven-compiler-plugin</artifactId>
indvdum@0
    23
				<configuration>
indvdum@0
    24
					<source>1.6</source>
indvdum@0
    25
					<target>1.6</target>
indvdum@0
    26
				</configuration>
indvdum@0
    27
			</plugin>
indvdum@0
    28
indvdum@0
    29
			<plugin>
indvdum@0
    30
				<groupId>org.apache.maven.plugins</groupId>
indvdum@0
    31
				<artifactId>maven-jar-plugin</artifactId>
indvdum@0
    32
				<version>2.3.1</version>
indvdum@0
    33
				<configuration>
indvdum@0
    34
					<archive>
indvdum@0
    35
						<index>true</index>
indvdum@0
    36
						<manifest>
indvdum@0
    37
							<addClasspath>true</addClasspath>
indvdum@0
    38
							<!--
indvdum@0
    39
								Implementation-Title and Implementation-Version come from the
indvdum@0
    40
								POM by default
indvdum@0
    41
							-->
indvdum@0
    42
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
indvdum@0
    43
						</manifest>
indvdum@0
    44
						<manifestEntries>
indvdum@0
    45
							<!-- Package format version - do not change -->
indvdum@0
    46
							<Vaadin-Package-Version>1</Vaadin-Package-Version>
indvdum@0
    47
indvdum@0
    48
							<!-- Add-on specific fields to update -->
indvdum@0
    49
							<Vaadin-License-Title>Apache License 2.0</Vaadin-License-Title>
indvdum@0
    50
indvdum@0
    51
							<!--
indvdum@0
    52
								Implementation-Title and Implementation-Version come from the
indvdum@0
    53
								POM by default
indvdum@0
    54
							-->
indvdum@0
    55
							<Implementation-Vendor>Vaadin Ltd</Implementation-Vendor>
indvdum@0
    56
							<Implementation-Title>${pom.name}</Implementation-Title>
indvdum@0
    57
							<Implementation-Version>${pom.version}</Implementation-Version>
indvdum@0
    58
indvdum@0
    59
							<!-- Comma-separated list of widgetsets in the package -->
indvdum@0
    60
							<Vaadin-Widgetsets>org.vaadin.console.ConsoleWidgetset</Vaadin-Widgetsets>
indvdum@0
    61
						</manifestEntries>
indvdum@0
    62
					</archive>
indvdum@0
    63
				</configuration>
indvdum@0
    64
			</plugin>
indvdum@0
    65
indvdum@0
    66
			<!-- Compiles your custom GWT components with the GWT compiler -->
indvdum@0
    67
			<!--
indvdum@0
    68
				A hosted mode browser for client-side widget debugging can be run
indvdum@0
    69
				with the goal gwt:run after uncommenting the correct line below. A
indvdum@0
    70
				remote debugger can then be connected to port 8998. Note that e.g. a
indvdum@0
    71
				Jetty server should be running with the server side parts - use the
indvdum@0
    72
				goal jetty:run .
indvdum@0
    73
			-->
indvdum@0
    74
			<plugin>
indvdum@0
    75
				<groupId>org.codehaus.mojo</groupId>
indvdum@0
    76
				<artifactId>gwt-maven-plugin</artifactId>
indvdum@0
    77
				<version>2.2.0</version>
indvdum@0
    78
				<configuration>
indvdum@0
    79
					<!-- if you don't specify any modules, the plugin will find them -->
indvdum@0
    80
					<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
indvdum@0
    81
					<!-- On Mac running Snow Leopard, add "-d32" -->
indvdum@0
    82
					<!--
indvdum@0
    83
						This causes error messages (but build works) in phase "package":
indvdum@0
    84
						two processes would use the same debug port
indvdum@0
    85
					-->
indvdum@0
    86
					<!--
indvdum@0
    87
						extraJvmArgs>-Xmx512M -Xss1024k -Xdebug
indvdum@0
    88
						-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8998</extraJvmArgs
indvdum@0
    89
					-->
indvdum@0
    90
					<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
indvdum@0
    91
					<runTarget>xsite</runTarget>
indvdum@0
    92
					<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
indvdum@0
    93
					<noServer>true</noServer>
indvdum@0
    94
					<port>8080</port>
indvdum@0
    95
					<soyc>false</soyc>
indvdum@0
    96
				</configuration>
indvdum@0
    97
				<executions>
indvdum@0
    98
					<execution>
indvdum@0
    99
						<goals>
indvdum@0
   100
							<goal>resources</goal>
indvdum@0
   101
							<goal>compile</goal>
indvdum@0
   102
						</goals>
indvdum@0
   103
					</execution>
indvdum@0
   104
				</executions>
indvdum@0
   105
			</plugin>
indvdum@0
   106
		</plugins>
indvdum@0
   107
indvdum@0
   108
		<!--
indvdum@0
   109
			This is needed for the sources required by the GWT compiler to be
indvdum@0
   110
			included in the produced JARs
indvdum@0
   111
		-->
indvdum@0
   112
		<resources>
indvdum@0
   113
			<resource>
indvdum@0
   114
				<directory>src/main/java</directory>
indvdum@0
   115
			</resource>
indvdum@0
   116
			<resource>
indvdum@0
   117
				<directory>src/main/resources</directory>
indvdum@0
   118
			</resource>
indvdum@0
   119
		</resources>
indvdum@0
   120
	</build>
indvdum@0
   121
	
indvdum@0
   122
	<profiles>
indvdum@0
   123
		<profile>
indvdum@0
   124
			<id>updateWidgetset</id>
indvdum@0
   125
			<build>
indvdum@0
   126
				<plugins>
indvdum@0
   127
					<plugin>
indvdum@0
   128
						<groupId>com.vaadin</groupId>
indvdum@0
   129
						<artifactId>vaadin-maven-plugin</artifactId>
indvdum@0
   130
						<version>1.0.2</version>
indvdum@0
   131
						<executions>
indvdum@0
   132
							<execution>
indvdum@0
   133
								<configuration>
indvdum@0
   134
								</configuration>
indvdum@0
   135
								<goals>
indvdum@0
   136
									<goal>update-widgetset</goal>
indvdum@0
   137
								</goals>
indvdum@0
   138
							</execution>
indvdum@0
   139
						</executions>
indvdum@0
   140
					</plugin>
indvdum@0
   141
				</plugins>
indvdum@0
   142
			</build>
indvdum@0
   143
		</profile>
indvdum@0
   144
	</profiles>
indvdum@0
   145
indvdum@0
   146
	<dependencies>
indvdum@0
   147
		<dependency>
indvdum@0
   148
			<groupId>com.vaadin</groupId>
indvdum@0
   149
			<artifactId>vaadin</artifactId>
indvdum@0
   150
			<version>6.6.0</version>
indvdum@0
   151
		</dependency>
indvdum@0
   152
		<dependency>
indvdum@0
   153
			<groupId>org.vaadin.addons</groupId>
indvdum@0
   154
			<artifactId>widget-rpc</artifactId>
indvdum@0
   155
			<version>1.1.3</version>
indvdum@0
   156
		</dependency>
indvdum@0
   157
		<dependency>
indvdum@0
   158
			<groupId>com.google.gwt</groupId>
indvdum@0
   159
			<artifactId>gwt-user</artifactId>
indvdum@0
   160
			<version>2.2.0</version>
indvdum@0
   161
			<scope>provided</scope>
indvdum@0
   162
		</dependency>
indvdum@0
   163
	</dependencies>
indvdum@0
   164
indvdum@0
   165
</project>