author | indvdum |
Thu, 28 Jul 2011 21:33:42 +0300 | |
changeset 18 | 820cfc021de8 |
parent 16 | 942d8db3a181 |
child 19 | fd9a398d0dbb |
permissions | -rw-r--r-- |
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@0 | 129 |
</build> |
indvdum@0 | 130 |
|
indvdum@0 | 131 |
<profiles> |
indvdum@0 | 132 |
<profile> |
indvdum@0 | 133 |
<id>updateWidgetset</id> |
indvdum@0 | 134 |
<build> |
indvdum@0 | 135 |
<plugins> |
indvdum@0 | 136 |
<plugin> |
indvdum@0 | 137 |
<groupId>com.vaadin</groupId> |
indvdum@0 | 138 |
<artifactId>vaadin-maven-plugin</artifactId> |
indvdum@0 | 139 |
<version>1.0.2</version> |
indvdum@0 | 140 |
<executions> |
indvdum@0 | 141 |
<execution> |
indvdum@0 | 142 |
<configuration> |
indvdum@0 | 143 |
</configuration> |
indvdum@0 | 144 |
<goals> |
indvdum@0 | 145 |
<goal>update-widgetset</goal> |
indvdum@0 | 146 |
</goals> |
indvdum@0 | 147 |
</execution> |
indvdum@0 | 148 |
</executions> |
indvdum@0 | 149 |
</plugin> |
indvdum@0 | 150 |
</plugins> |
indvdum@0 | 151 |
</build> |
indvdum@0 | 152 |
</profile> |
indvdum@0 | 153 |
</profiles> |
indvdum@0 | 154 |
|
indvdum@0 | 155 |
<dependencies> |
indvdum@0 | 156 |
<dependency> |
indvdum@0 | 157 |
<groupId>com.vaadin</groupId> |
indvdum@0 | 158 |
<artifactId>vaadin</artifactId> |
indvdum@18 | 159 |
<version>6.6.3</version> |
indvdum@0 | 160 |
</dependency> |
indvdum@0 | 161 |
<dependency> |
indvdum@0 | 162 |
<groupId>org.vaadin.addons</groupId> |
indvdum@0 | 163 |
<artifactId>widget-rpc</artifactId> |
indvdum@0 | 164 |
<version>1.1.3</version> |
indvdum@0 | 165 |
</dependency> |
indvdum@0 | 166 |
<dependency> |
indvdum@0 | 167 |
<groupId>com.google.gwt</groupId> |
indvdum@0 | 168 |
<artifactId>gwt-user</artifactId> |
indvdum@18 | 169 |
<version>2.3.0</version> |
indvdum@0 | 170 |
<scope>provided</scope> |
indvdum@0 | 171 |
</dependency> |
indvdum@0 | 172 |
</dependencies> |
indvdum@0 | 173 |
|
indvdum@13 | 174 |
<repositories> |
indvdum@13 | 175 |
<repository> |
indvdum@13 | 176 |
<id>vaadin</id> |
indvdum@13 | 177 |
<url>http://oss.sonatype.org/content/repositories/vaadin/</url> |
indvdum@13 | 178 |
<releases> |
indvdum@13 | 179 |
<enabled>true</enabled> |
indvdum@13 | 180 |
</releases> |
indvdum@13 | 181 |
<snapshots> |
indvdum@13 | 182 |
<enabled>false</enabled> |
indvdum@13 | 183 |
</snapshots> |
indvdum@13 | 184 |
</repository> |
indvdum@13 | 185 |
<repository> |
indvdum@13 | 186 |
<id>vaadin-addons</id> |
indvdum@13 | 187 |
<url>http://maven.vaadin.com/vaadin-addons</url> |
indvdum@13 | 188 |
<releases> |
indvdum@13 | 189 |
<enabled>true</enabled> |
indvdum@13 | 190 |
</releases> |
indvdum@13 | 191 |
<snapshots> |
indvdum@13 | 192 |
<enabled>false</enabled> |
indvdum@13 | 193 |
</snapshots> |
indvdum@13 | 194 |
</repository> |
indvdum@13 | 195 |
</repositories> |
indvdum@13 | 196 |
|
indvdum@0 | 197 |
</project> |