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