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