|
1 | 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/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
5 | | - |
6 | | - <groupId>my.vaadin.app</groupId> |
7 | | - <artifactId>app</artifactId> |
8 | | - <packaging>war</packaging> |
9 | | - <version>1.0-SNAPSHOT</version> |
10 | | - <name>app</name> |
11 | | - |
12 | | - <prerequisites> |
13 | | - <maven>3</maven> |
14 | | - </prerequisites> |
15 | | - |
16 | | - <properties> |
17 | | - <vaadin.version>8.0.5</vaadin.version> |
18 | | - <vaadin.plugin.version>8.0.5</vaadin.plugin.version> |
19 | | - <jetty.plugin.version>9.3.9.v20160517</jetty.plugin.version> |
20 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
21 | | - <maven.compiler.source>1.8</maven.compiler.source> |
22 | | - <maven.compiler.target>1.8</maven.compiler.target> |
23 | | - <!-- If there are no local customisations, this can also be "fetch" or "cdn" --> |
24 | | - <vaadin.widgetset.mode>local</vaadin.widgetset.mode> |
25 | | - </properties> |
26 | | - |
27 | | - <repositories> |
28 | | - <repository> |
29 | | - <id>vaadin-addons</id> |
30 | | - <url>https://maven.vaadin.com/vaadin-addons</url> |
31 | | - </repository> |
32 | | - </repositories> |
33 | | - |
34 | | - <dependencyManagement> |
35 | | - <dependencies> |
36 | | - <dependency> |
37 | | - <groupId>com.vaadin</groupId> |
38 | | - <artifactId>vaadin-bom</artifactId> |
39 | | - <version>${vaadin.version}</version> |
40 | | - <type>pom</type> |
41 | | - <scope>import</scope> |
42 | | - </dependency> |
43 | | - </dependencies> |
44 | | - </dependencyManagement> |
45 | | - |
46 | | - <dependencies> |
47 | | - <dependency> |
48 | | - <groupId>javax.servlet</groupId> |
49 | | - <artifactId>javax.servlet-api</artifactId> |
50 | | - <version>3.0.1</version> |
51 | | - <scope>provided</scope> |
52 | | - </dependency> |
53 | | - <dependency> |
54 | | - <groupId>com.vaadin</groupId> |
55 | | - <artifactId>vaadin-server</artifactId> |
56 | | - </dependency> |
57 | | - <dependency> |
58 | | - <groupId>com.vaadin</groupId> |
59 | | - <artifactId>vaadin-push</artifactId> |
60 | | - </dependency> |
61 | | - <dependency> |
62 | | - <groupId>com.vaadin</groupId> |
63 | | - <artifactId>vaadin-client-compiled</artifactId> |
64 | | - </dependency> |
65 | | - <dependency> |
66 | | - <groupId>com.vaadin</groupId> |
67 | | - <artifactId>vaadin-themes</artifactId> |
68 | | - </dependency> |
69 | | - </dependencies> |
70 | | - |
71 | | - <build> |
72 | | - <plugins> |
73 | | - <plugin> |
74 | | - <groupId>org.apache.maven.plugins</groupId> |
75 | | - <artifactId>maven-war-plugin</artifactId> |
76 | | - <version>3.0.0</version> |
77 | | - <configuration> |
78 | | - <failOnMissingWebXml>false</failOnMissingWebXml> |
79 | | - <!-- Exclude an unnecessary file generated by the GWT compiler. --> |
80 | | - <packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes> |
81 | | - </configuration> |
82 | | - </plugin> |
83 | | - <plugin> |
84 | | - <groupId>com.vaadin</groupId> |
85 | | - <artifactId>vaadin-maven-plugin</artifactId> |
86 | | - <version>${vaadin.plugin.version}</version> |
87 | | - <executions> |
88 | | - <execution> |
89 | | - <goals> |
90 | | - <goal>update-theme</goal> |
91 | | - <goal>update-widgetset</goal> |
92 | | - <goal>compile</goal> |
93 | | - <!-- Comment out compile-theme goal to use on-the-fly theme compilation --> |
94 | | - <goal>compile-theme</goal> |
95 | | - </goals> |
96 | | - </execution> |
97 | | - </executions> |
98 | | - </plugin> |
99 | | - <plugin> |
100 | | - <groupId>org.apache.maven.plugins</groupId> |
101 | | - <artifactId>maven-clean-plugin</artifactId> |
102 | | - <version>3.0.0</version> |
103 | | - <!-- Clean up also any pre-compiled themes --> |
104 | | - <configuration> |
105 | | - <filesets> |
106 | | - <fileset> |
107 | | - <directory>src/main/webapp/VAADIN/themes</directory> |
108 | | - <includes> |
109 | | - <include>**/styles.css</include> |
110 | | - <include>**/styles.scss.cache</include> |
111 | | - </includes> |
112 | | - </fileset> |
113 | | - </filesets> |
114 | | - </configuration> |
115 | | - </plugin> |
116 | | - |
117 | | - <!-- The Jetty plugin allows us to easily test the development build by |
118 | | - running jetty:run on the command line. --> |
119 | | - <plugin> |
120 | | - <groupId>org.eclipse.jetty</groupId> |
121 | | - <artifactId>jetty-maven-plugin</artifactId> |
122 | | - <version>${jetty.plugin.version}</version> |
123 | | - <configuration> |
124 | | - <scanIntervalSeconds>2</scanIntervalSeconds> |
125 | | - </configuration> |
126 | | - </plugin> |
127 | | - </plugins> |
128 | | - </build> |
129 | | - |
130 | | - <profiles> |
131 | | - <profile> |
132 | | - <!-- Vaadin pre-release repositories --> |
133 | | - <id>vaadin-prerelease</id> |
134 | | - <activation> |
135 | | - <activeByDefault>false</activeByDefault> |
136 | | - </activation> |
137 | | - |
138 | | - <repositories> |
139 | | - <repository> |
140 | | - <id>vaadin-prereleases</id> |
141 | | - <url>https://maven.vaadin.com/vaadin-prereleases</url> |
142 | | - </repository> |
143 | | - <repository> |
144 | | - <id>vaadin-snapshots</id> |
145 | | - <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> |
146 | | - <releases> |
147 | | - <enabled>false</enabled> |
148 | | - </releases> |
149 | | - <snapshots> |
150 | | - <enabled>true</enabled> |
151 | | - </snapshots> |
152 | | - </repository> |
153 | | - </repositories> |
154 | | - <pluginRepositories> |
155 | | - <pluginRepository> |
156 | | - <id>vaadin-prereleases</id> |
157 | | - <url>https://maven.vaadin.com/vaadin-prereleases</url> |
158 | | - </pluginRepository> |
159 | | - <pluginRepository> |
160 | | - <id>vaadin-snapshots</id> |
161 | | - <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> |
162 | | - <releases> |
163 | | - <enabled>false</enabled> |
164 | | - </releases> |
165 | | - <snapshots> |
166 | | - <enabled>true</enabled> |
167 | | - </snapshots> |
168 | | - </pluginRepository> |
169 | | - </pluginRepositories> |
170 | | - </profile> |
171 | | - </profiles> |
172 | | - |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <groupId>com.example.application</groupId> |
| 7 | + <artifactId>unified-chat-tutorial-reactor</artifactId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + <packaging>pom</packaging> |
| 10 | + |
| 11 | + <modules> |
| 12 | + <module>unified-chat-tutorial-flow</module> |
| 13 | + <module>unified-chat-tutorial-hilla</module> |
| 14 | + <module>unified-chat-tutorial-starter</module> |
| 15 | + </modules> |
| 16 | + |
| 17 | + <build> |
| 18 | + <plugins> |
| 19 | + <plugin> |
| 20 | + <groupId>org.apache.maven.plugins</groupId> |
| 21 | + <artifactId>maven-assembly-plugin</artifactId> |
| 22 | + <version>3.7.1</version> |
| 23 | + <executions> |
| 24 | + <execution> |
| 25 | + <id>make-starter-zip</id> |
| 26 | + <phase>package</phase> |
| 27 | + <goals> |
| 28 | + <goal>single</goal> |
| 29 | + </goals> |
| 30 | + <configuration> |
| 31 | + <finalName>unified-chat-tutorial-starter</finalName> |
| 32 | + <appendAssemblyId>false</appendAssemblyId> |
| 33 | + <descriptors> |
| 34 | + <descriptor>${basedir}/src/assembly/starter.xml</descriptor> |
| 35 | + </descriptors> |
| 36 | + </configuration> |
| 37 | + </execution> |
| 38 | + </executions> |
| 39 | + </plugin> |
| 40 | + </plugins> |
| 41 | + </build> |
173 | 42 | </project> |
0 commit comments