pom.xml
author indvdum (gotoindvdum[at]gmail[dot]com)
Mon, 17 Oct 2011 00:06:03 +0300
changeset 22 e1fde099d5ff
parent 21 ce0720807f42
child 23 b702c5443354
permissions -rw-r--r--
gwt-maven-plugin settings
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@16
     9
	<version>1.2.0</version>
indvdum@0
    10
	<packaging>jar</packaging>
indvdum@0
    11
	<name>Vaadin Console add-on</name>
indvdum@21
    12
	<!--properties>
indvdum@20
    13
		<vaadin.version>6.6.5</vaadin.version>
indvdum@20
    14
		<vaadin-maven-plugin.version>1.0.2</vaadin-maven-plugin.version>
indvdum@20
    15
		<gwt-maven-plugin.version>2.3.0-1</gwt-maven-plugin.version>
indvdum@20
    16
		<gwt-user.version>2.3.0</gwt-user.version>
indvdum@21
    17
	</properties-->
indvdum@21
    18
	<parent>
indvdum@21
    19
		<groupId>ru.bazon.think-easy-money</groupId>
indvdum@21
    20
		<artifactId>think-easy-money-all</artifactId>
indvdum@21
    21
		<version>1.0-SNAPSHOT</version>
indvdum@21
    22
	</parent>
indvdum@0
    23
	<build>
indvdum@0
    24
		<plugins>
indvdum@0
    25
			<plugin>
indvdum@13
    26
				<artifactId>maven-source-plugin</artifactId>
indvdum@13
    27
				<configuration>
indvdum@13
    28
					<attach>true</attach>
indvdum@13
    29
				</configuration>
indvdum@13
    30
				<executions>
indvdum@13
    31
					<execution>
indvdum@13
    32
						<phase>generate-sources</phase>
indvdum@13
    33
						<goals>
indvdum@13
    34
							<goal>jar</goal>
indvdum@13
    35
						</goals>
indvdum@13
    36
					</execution>
indvdum@13
    37
				</executions>
indvdum@13
    38
			</plugin>
indvdum@13
    39
			<plugin>
indvdum@0
    40
				<groupId>org.apache.maven.plugins</groupId>
indvdum@0
    41
				<artifactId>maven-compiler-plugin</artifactId>
indvdum@0
    42
				<configuration>
indvdum@0
    43
					<source>1.6</source>
indvdum@0
    44
					<target>1.6</target>
indvdum@0
    45
				</configuration>
indvdum@0
    46
			</plugin>
indvdum@0
    47
indvdum@0
    48
			<plugin>
indvdum@0
    49
				<groupId>org.apache.maven.plugins</groupId>
indvdum@0
    50
				<artifactId>maven-jar-plugin</artifactId>
indvdum@0
    51
				<version>2.3.1</version>
indvdum@0
    52
				<configuration>
indvdum@0
    53
					<archive>
indvdum@0
    54
						<index>true</index>
indvdum@0
    55
						<manifest>
indvdum@0
    56
							<addClasspath>true</addClasspath>
indvdum@0
    57
							<!--
indvdum@0
    58
								Implementation-Title and Implementation-Version come from the
indvdum@0
    59
								POM by default
indvdum@0
    60
							-->
indvdum@0
    61
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
indvdum@0
    62
						</manifest>
indvdum@0
    63
						<manifestEntries>
indvdum@0
    64
							<!-- Package format version - do not change -->
indvdum@0
    65
							<Vaadin-Package-Version>1</Vaadin-Package-Version>
indvdum@0
    66
indvdum@0
    67
							<!-- Add-on specific fields to update -->
indvdum@0
    68
							<Vaadin-License-Title>Apache License 2.0</Vaadin-License-Title>
indvdum@0
    69
indvdum@0
    70
							<!--
indvdum@0
    71
								Implementation-Title and Implementation-Version come from the
indvdum@0
    72
								POM by default
indvdum@0
    73
							-->
indvdum@0
    74
							<Implementation-Vendor>Vaadin Ltd</Implementation-Vendor>
indvdum@0
    75
							<Implementation-Title>${pom.name}</Implementation-Title>
indvdum@0
    76
							<Implementation-Version>${pom.version}</Implementation-Version>
indvdum@0
    77
indvdum@0
    78
							<!-- Comma-separated list of widgetsets in the package -->
indvdum@0
    79
							<Vaadin-Widgetsets>org.vaadin.console.ConsoleWidgetset</Vaadin-Widgetsets>
indvdum@0
    80
						</manifestEntries>
indvdum@0
    81
					</archive>
indvdum@0
    82
				</configuration>
indvdum@0
    83
			</plugin>
indvdum@0
    84
indvdum@0
    85
			<!-- Compiles your custom GWT components with the GWT compiler -->
indvdum@0
    86
			<!--
indvdum@0
    87
				A hosted mode browser for client-side widget debugging can be run
indvdum@0
    88
				with the goal gwt:run after uncommenting the correct line below. A
indvdum@0
    89
				remote debugger can then be connected to port 8998. Note that e.g. a
indvdum@0
    90
				Jetty server should be running with the server side parts - use the
indvdum@0
    91
				goal jetty:run .
indvdum@0
    92
			-->
indvdum@0
    93
			<plugin>
indvdum@0
    94
				<groupId>org.codehaus.mojo</groupId>
indvdum@0
    95
				<artifactId>gwt-maven-plugin</artifactId>
indvdum@20
    96
				<version>${gwt-maven-plugin.version}</version>
indvdum@0
    97
				<configuration>
indvdum@0
    98
					<!-- if you don't specify any modules, the plugin will find them -->
indvdum@0
    99
					<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
indvdum@0
   100
					<!-- On Mac running Snow Leopard, add "-d32" -->
indvdum@0
   101
					<!--
indvdum@0
   102
						This causes error messages (but build works) in phase "package":
indvdum@0
   103
						two processes would use the same debug port
indvdum@0
   104
					-->
indvdum@0
   105
					<!--
indvdum@0
   106
						extraJvmArgs>-Xmx512M -Xss1024k -Xdebug
indvdum@0
   107
						-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8998</extraJvmArgs
indvdum@0
   108
					-->
indvdum@22
   109
					<extraJvmArgs>-Xmx256M -Xss1024k</extraJvmArgs>
indvdum@22
   110
					<localWorkers>1</localWorkers>
indvdum@0
   111
					<runTarget>xsite</runTarget>
indvdum@0
   112
					<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
indvdum@0
   113
					<noServer>true</noServer>
indvdum@0
   114
					<port>8080</port>
indvdum@0
   115
					<soyc>false</soyc>
indvdum@0
   116
				</configuration>
indvdum@0
   117
				<executions>
indvdum@0
   118
					<execution>
indvdum@0
   119
						<goals>
indvdum@0
   120
							<goal>resources</goal>
indvdum@0
   121
							<goal>compile</goal>
indvdum@0
   122
						</goals>
indvdum@0
   123
					</execution>
indvdum@0
   124
				</executions>
indvdum@0
   125
			</plugin>
indvdum@0
   126
		</plugins>
indvdum@0
   127
indvdum@0
   128
		<!--
indvdum@0
   129
			This is needed for the sources required by the GWT compiler to be
indvdum@0
   130
			included in the produced JARs
indvdum@0
   131
		-->
indvdum@0
   132
		<resources>
indvdum@0
   133
			<resource>
indvdum@0
   134
				<directory>src/main/java</directory>
indvdum@0
   135
			</resource>
indvdum@0
   136
			<resource>
indvdum@0
   137
				<directory>src/main/resources</directory>
indvdum@0
   138
			</resource>
indvdum@0
   139
		</resources>
indvdum@19
   140
		<pluginManagement>
indvdum@19
   141
			<plugins>
indvdum@19
   142
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
indvdum@19
   143
				<plugin>
indvdum@19
   144
					<groupId>org.eclipse.m2e</groupId>
indvdum@19
   145
					<artifactId>lifecycle-mapping</artifactId>
indvdum@19
   146
					<version>1.0.0</version>
indvdum@19
   147
					<configuration>
indvdum@19
   148
						<lifecycleMappingMetadata>
indvdum@19
   149
							<pluginExecutions>
indvdum@19
   150
								<pluginExecution>
indvdum@19
   151
									<pluginExecutionFilter>
indvdum@19
   152
										<groupId>
indvdum@19
   153
											org.codehaus.mojo
indvdum@19
   154
										</groupId>
indvdum@19
   155
										<artifactId>
indvdum@19
   156
											gwt-maven-plugin
indvdum@19
   157
										</artifactId>
indvdum@19
   158
										<versionRange>
indvdum@19
   159
											[2.3.0-1,)
indvdum@19
   160
										</versionRange>
indvdum@19
   161
										<goals>
indvdum@19
   162
											<goal>resources</goal>
indvdum@19
   163
										</goals>
indvdum@19
   164
									</pluginExecutionFilter>
indvdum@19
   165
									<action>
indvdum@19
   166
										<ignore></ignore>
indvdum@19
   167
									</action>
indvdum@19
   168
								</pluginExecution>
indvdum@19
   169
							</pluginExecutions>
indvdum@19
   170
						</lifecycleMappingMetadata>
indvdum@19
   171
					</configuration>
indvdum@19
   172
				</plugin>
indvdum@19
   173
			</plugins>
indvdum@19
   174
		</pluginManagement>
indvdum@0
   175
	</build>
indvdum@0
   176
	
indvdum@0
   177
	<profiles>
indvdum@0
   178
		<profile>
indvdum@0
   179
			<id>updateWidgetset</id>
indvdum@0
   180
			<build>
indvdum@0
   181
				<plugins>
indvdum@0
   182
					<plugin>
indvdum@0
   183
						<groupId>com.vaadin</groupId>
indvdum@0
   184
						<artifactId>vaadin-maven-plugin</artifactId>
indvdum@20
   185
						<version>${vaadin-maven-plugin.version}</version>
indvdum@0
   186
						<executions>
indvdum@0
   187
							<execution>
indvdum@0
   188
								<configuration>
indvdum@0
   189
								</configuration>
indvdum@0
   190
								<goals>
indvdum@0
   191
									<goal>update-widgetset</goal>
indvdum@0
   192
								</goals>
indvdum@0
   193
							</execution>
indvdum@0
   194
						</executions>
indvdum@0
   195
					</plugin>
indvdum@0
   196
				</plugins>
indvdum@0
   197
			</build>
indvdum@0
   198
		</profile>
indvdum@0
   199
	</profiles>
indvdum@0
   200
indvdum@0
   201
	<dependencies>
indvdum@0
   202
		<dependency>
indvdum@0
   203
			<groupId>com.vaadin</groupId>
indvdum@0
   204
			<artifactId>vaadin</artifactId>
indvdum@20
   205
			<version>${vaadin.version}</version>
indvdum@0
   206
		</dependency>
indvdum@0
   207
		<dependency>
indvdum@0
   208
			<groupId>org.vaadin.addons</groupId>
indvdum@0
   209
			<artifactId>widget-rpc</artifactId>
indvdum@0
   210
			<version>1.1.3</version>
indvdum@0
   211
		</dependency>
indvdum@0
   212
		<dependency>
indvdum@0
   213
			<groupId>com.google.gwt</groupId>
indvdum@0
   214
			<artifactId>gwt-user</artifactId>
indvdum@20
   215
			<version>${gwt-user.version}</version>
indvdum@0
   216
			<scope>provided</scope>
indvdum@0
   217
		</dependency>
indvdum@0
   218
	</dependencies>
indvdum@0
   219
indvdum@13
   220
	<repositories>
indvdum@13
   221
		<repository>
indvdum@13
   222
			<id>vaadin</id>
indvdum@13
   223
			<url>http://oss.sonatype.org/content/repositories/vaadin/</url>
indvdum@13
   224
			<releases>
indvdum@13
   225
				<enabled>true</enabled>
indvdum@13
   226
			</releases>
indvdum@13
   227
			<snapshots>
indvdum@13
   228
				<enabled>false</enabled>
indvdum@13
   229
			</snapshots>
indvdum@13
   230
		</repository>
indvdum@13
   231
		<repository>
indvdum@13
   232
			<id>vaadin-addons</id>
indvdum@13
   233
			<url>http://maven.vaadin.com/vaadin-addons</url>
indvdum@13
   234
			<releases>
indvdum@13
   235
				<enabled>true</enabled>
indvdum@13
   236
			</releases>
indvdum@13
   237
			<snapshots>
indvdum@13
   238
				<enabled>false</enabled>
indvdum@13
   239
			</snapshots>
indvdum@13
   240
		</repository>
indvdum@13
   241
	</repositories>
indvdum@13
   242
indvdum@0
   243
</project>