pom.xml
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 26 Nov 2011 00:01:40 +0300
changeset 23 b702c5443354
parent 22 e1fde099d5ff
child 24 ff78e975f211
permissions -rw-r--r--
Dependency updates and java 1.7
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@23
    43
					<source>1.7</source>
indvdum@23
    44
					<target>1.7</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@23
   109
					<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
indvdum@0
   110
					<runTarget>xsite</runTarget>
indvdum@0
   111
					<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
indvdum@0
   112
					<noServer>true</noServer>
indvdum@0
   113
					<port>8080</port>
indvdum@0
   114
					<soyc>false</soyc>
indvdum@0
   115
				</configuration>
indvdum@0
   116
				<executions>
indvdum@0
   117
					<execution>
indvdum@0
   118
						<goals>
indvdum@0
   119
							<goal>resources</goal>
indvdum@0
   120
							<goal>compile</goal>
indvdum@0
   121
						</goals>
indvdum@0
   122
					</execution>
indvdum@0
   123
				</executions>
indvdum@0
   124
			</plugin>
indvdum@0
   125
		</plugins>
indvdum@0
   126
indvdum@0
   127
		<!--
indvdum@0
   128
			This is needed for the sources required by the GWT compiler to be
indvdum@0
   129
			included in the produced JARs
indvdum@0
   130
		-->
indvdum@0
   131
		<resources>
indvdum@0
   132
			<resource>
indvdum@0
   133
				<directory>src/main/java</directory>
indvdum@0
   134
			</resource>
indvdum@0
   135
			<resource>
indvdum@0
   136
				<directory>src/main/resources</directory>
indvdum@0
   137
			</resource>
indvdum@0
   138
		</resources>
indvdum@19
   139
		<pluginManagement>
indvdum@19
   140
			<plugins>
indvdum@19
   141
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
indvdum@19
   142
				<plugin>
indvdum@19
   143
					<groupId>org.eclipse.m2e</groupId>
indvdum@19
   144
					<artifactId>lifecycle-mapping</artifactId>
indvdum@19
   145
					<version>1.0.0</version>
indvdum@19
   146
					<configuration>
indvdum@19
   147
						<lifecycleMappingMetadata>
indvdum@19
   148
							<pluginExecutions>
indvdum@19
   149
								<pluginExecution>
indvdum@19
   150
									<pluginExecutionFilter>
indvdum@19
   151
										<groupId>
indvdum@19
   152
											org.codehaus.mojo
indvdum@19
   153
										</groupId>
indvdum@19
   154
										<artifactId>
indvdum@19
   155
											gwt-maven-plugin
indvdum@19
   156
										</artifactId>
indvdum@19
   157
										<versionRange>
indvdum@19
   158
											[2.3.0-1,)
indvdum@19
   159
										</versionRange>
indvdum@19
   160
										<goals>
indvdum@19
   161
											<goal>resources</goal>
indvdum@19
   162
										</goals>
indvdum@19
   163
									</pluginExecutionFilter>
indvdum@19
   164
									<action>
indvdum@19
   165
										<ignore></ignore>
indvdum@19
   166
									</action>
indvdum@19
   167
								</pluginExecution>
indvdum@19
   168
							</pluginExecutions>
indvdum@19
   169
						</lifecycleMappingMetadata>
indvdum@19
   170
					</configuration>
indvdum@19
   171
				</plugin>
indvdum@19
   172
			</plugins>
indvdum@19
   173
		</pluginManagement>
indvdum@0
   174
	</build>
indvdum@0
   175
	
indvdum@0
   176
	<profiles>
indvdum@0
   177
		<profile>
indvdum@0
   178
			<id>updateWidgetset</id>
indvdum@0
   179
			<build>
indvdum@0
   180
				<plugins>
indvdum@0
   181
					<plugin>
indvdum@0
   182
						<groupId>com.vaadin</groupId>
indvdum@0
   183
						<artifactId>vaadin-maven-plugin</artifactId>
indvdum@20
   184
						<version>${vaadin-maven-plugin.version}</version>
indvdum@0
   185
						<executions>
indvdum@0
   186
							<execution>
indvdum@0
   187
								<configuration>
indvdum@0
   188
								</configuration>
indvdum@0
   189
								<goals>
indvdum@0
   190
									<goal>update-widgetset</goal>
indvdum@0
   191
								</goals>
indvdum@0
   192
							</execution>
indvdum@0
   193
						</executions>
indvdum@0
   194
					</plugin>
indvdum@0
   195
				</plugins>
indvdum@0
   196
			</build>
indvdum@0
   197
		</profile>
indvdum@23
   198
		<profile>
indvdum@23
   199
			<id>recompileWidgetsetLow</id>
indvdum@23
   200
			<build>
indvdum@23
   201
				<plugins>
indvdum@23
   202
					<plugin>
indvdum@23
   203
						<groupId>org.codehaus.mojo</groupId>
indvdum@23
   204
						<artifactId>gwt-maven-plugin</artifactId>
indvdum@23
   205
						<version>${gwt-maven-plugin.version}</version>
indvdum@23
   206
						<configuration>
indvdum@23
   207
							<!-- if you don't specify any modules, the plugin will find them -->
indvdum@23
   208
							<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
indvdum@23
   209
							<!-- On Mac running Snow Leopard, add "-d32" -->
indvdum@23
   210
							<!--
indvdum@23
   211
								This causes error messages (but build works) in phase "package":
indvdum@23
   212
								two processes would use the same debug port
indvdum@23
   213
							-->
indvdum@23
   214
							<!--
indvdum@23
   215
								extraJvmArgs>-Xmx512M -Xss1024k -Xdebug
indvdum@23
   216
								-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8998</extraJvmArgs
indvdum@23
   217
							-->
indvdum@23
   218
							<extraJvmArgs>-Xmx256M -Xss1024k</extraJvmArgs>
indvdum@23
   219
							<localWorkers>1</localWorkers>
indvdum@23
   220
							<runTarget>xsite</runTarget>
indvdum@23
   221
							<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
indvdum@23
   222
							<noServer>true</noServer>
indvdum@23
   223
							<port>8080</port>
indvdum@23
   224
							<soyc>false</soyc>
indvdum@23
   225
						</configuration>
indvdum@23
   226
						<executions>
indvdum@23
   227
							<execution>
indvdum@23
   228
								<goals>
indvdum@23
   229
									<goal>resources</goal>
indvdum@23
   230
									<goal>compile</goal>
indvdum@23
   231
								</goals>
indvdum@23
   232
							</execution>
indvdum@23
   233
						</executions>
indvdum@23
   234
					</plugin>
indvdum@23
   235
				</plugins>
indvdum@23
   236
			</build>
indvdum@23
   237
indvdum@23
   238
			<pluginRepositories>
indvdum@23
   239
				<pluginRepository>
indvdum@23
   240
					<id>codehaus-snapshots</id>
indvdum@23
   241
					<url>http://nexus.codehaus.org/snapshots</url>
indvdum@23
   242
					<snapshots>
indvdum@23
   243
						<enabled>true</enabled>
indvdum@23
   244
					</snapshots>
indvdum@23
   245
					<releases>
indvdum@23
   246
						<enabled>false</enabled>
indvdum@23
   247
					</releases>
indvdum@23
   248
				</pluginRepository>
indvdum@23
   249
			</pluginRepositories>
indvdum@23
   250
		</profile>
indvdum@0
   251
	</profiles>
indvdum@0
   252
indvdum@0
   253
	<dependencies>
indvdum@0
   254
		<dependency>
indvdum@0
   255
			<groupId>com.vaadin</groupId>
indvdum@0
   256
			<artifactId>vaadin</artifactId>
indvdum@20
   257
			<version>${vaadin.version}</version>
indvdum@0
   258
		</dependency>
indvdum@0
   259
		<dependency>
indvdum@0
   260
			<groupId>org.vaadin.addons</groupId>
indvdum@0
   261
			<artifactId>widget-rpc</artifactId>
indvdum@23
   262
			<version>1.1.5</version>
indvdum@0
   263
		</dependency>
indvdum@0
   264
		<dependency>
indvdum@0
   265
			<groupId>com.google.gwt</groupId>
indvdum@0
   266
			<artifactId>gwt-user</artifactId>
indvdum@20
   267
			<version>${gwt-user.version}</version>
indvdum@0
   268
			<scope>provided</scope>
indvdum@0
   269
		</dependency>
indvdum@0
   270
	</dependencies>
indvdum@0
   271
indvdum@13
   272
	<repositories>
indvdum@13
   273
		<repository>
indvdum@13
   274
			<id>vaadin</id>
indvdum@13
   275
			<url>http://oss.sonatype.org/content/repositories/vaadin/</url>
indvdum@13
   276
			<releases>
indvdum@13
   277
				<enabled>true</enabled>
indvdum@13
   278
			</releases>
indvdum@13
   279
			<snapshots>
indvdum@13
   280
				<enabled>false</enabled>
indvdum@13
   281
			</snapshots>
indvdum@13
   282
		</repository>
indvdum@13
   283
		<repository>
indvdum@13
   284
			<id>vaadin-addons</id>
indvdum@13
   285
			<url>http://maven.vaadin.com/vaadin-addons</url>
indvdum@13
   286
			<releases>
indvdum@13
   287
				<enabled>true</enabled>
indvdum@13
   288
			</releases>
indvdum@13
   289
			<snapshots>
indvdum@13
   290
				<enabled>false</enabled>
indvdum@13
   291
			</snapshots>
indvdum@13
   292
		</repository>
indvdum@13
   293
	</repositories>
indvdum@13
   294
indvdum@0
   295
</project>