|
171 | 171 | </configuration> |
172 | 172 | </plugin> |
173 | 173 |
|
| 174 | + <plugin> |
| 175 | + <!-- Build an executable JAR --> |
| 176 | + <groupId>org.apache.maven.plugins</groupId> |
| 177 | + <artifactId>maven-jar-plugin</artifactId> |
| 178 | + <version>3.1.0</version> |
| 179 | + <configuration> |
| 180 | + <archive> |
| 181 | + <manifest> |
| 182 | + <addClasspath>true</addClasspath> |
| 183 | + <classpathPrefix>lib/</classpathPrefix> |
| 184 | + <mainClass>ie.tcd.pavel.Application</mainClass> |
| 185 | + </manifest> |
| 186 | + </archive> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + |
174 | 190 | <!-- |
175 | 191 | Take care of synchronizing java dependencies and imports in |
176 | 192 | package.json and main.js files. |
|
204 | 220 | <groupId>com.vaadin</groupId> |
205 | 221 | <artifactId>flow-server-production-mode</artifactId> |
206 | 222 | </dependency> |
| 223 | + <dependency> |
| 224 | + <groupId>com.vaadin</groupId> |
| 225 | + <!-- Replace artifactId with vaadin-core to use only free components --> |
| 226 | + <artifactId>vaadin</artifactId> |
| 227 | + <exclusions> |
| 228 | + <!-- Webjars are only needed when running in Vaadin 13 compatibility mode --> |
| 229 | + <exclusion> |
| 230 | + <groupId>com.vaadin.webjar</groupId> |
| 231 | + <artifactId>*</artifactId> |
| 232 | + </exclusion> |
| 233 | + <exclusion> |
| 234 | + <groupId>org.webjars.bowergithub.insites</groupId> |
| 235 | + <artifactId>*</artifactId> |
| 236 | + </exclusion> |
| 237 | + <exclusion> |
| 238 | + <groupId>org.webjars.bowergithub.polymer</groupId> |
| 239 | + <artifactId>*</artifactId> |
| 240 | + </exclusion> |
| 241 | + <exclusion> |
| 242 | + <groupId>org.webjars.bowergithub.polymerelements</groupId> |
| 243 | + <artifactId>*</artifactId> |
| 244 | + </exclusion> |
| 245 | + <exclusion> |
| 246 | + <groupId>org.webjars.bowergithub.vaadin</groupId> |
| 247 | + <artifactId>*</artifactId> |
| 248 | + </exclusion> |
| 249 | + <exclusion> |
| 250 | + <groupId>org.webjars.bowergithub.webcomponents</groupId> |
| 251 | + <artifactId>*</artifactId> |
| 252 | + </exclusion> |
| 253 | + </exclusions> |
| 254 | + </dependency> |
| 255 | + <dependency> |
| 256 | + <groupId>com.vaadin</groupId> |
| 257 | + <artifactId>vaadin-spring-boot-starter</artifactId> |
| 258 | + <exclusions> |
| 259 | + <!-- Excluding so that webjars are not included. --> |
| 260 | + <exclusion> |
| 261 | + <groupId>com.vaadin</groupId> |
| 262 | + <artifactId>vaadin-core</artifactId> |
| 263 | + </exclusion> |
| 264 | + </exclusions> |
| 265 | + </dependency> |
| 266 | + <dependency> |
| 267 | + <groupId>org.springframework.boot</groupId> |
| 268 | + <artifactId>spring-boot-devtools</artifactId> |
| 269 | + <optional>true</optional> |
| 270 | + </dependency> |
| 271 | + <dependency> |
| 272 | + <groupId>org.springframework.boot</groupId> |
| 273 | + <artifactId>spring-boot-starter-data-mongodb</artifactId> |
| 274 | + </dependency> |
| 275 | + <dependency> |
| 276 | + <groupId>com.vaadin</groupId> |
| 277 | + <artifactId>vaadin-testbench</artifactId> |
| 278 | + <scope>test</scope> |
| 279 | + </dependency> |
| 280 | + <dependency> |
| 281 | + <groupId>com.vaadin</groupId> |
| 282 | + <artifactId>vaadin-charts-flow</artifactId> |
| 283 | + </dependency> |
| 284 | + <dependency> |
| 285 | + <groupId>commons-codec</groupId> |
| 286 | + <artifactId>commons-codec</artifactId> |
| 287 | + </dependency> |
| 288 | + <dependency> |
| 289 | + <groupId>com.google.guava</groupId> |
| 290 | + <artifactId>guava</artifactId> |
| 291 | + <version>25.0-jre</version> |
| 292 | + <scope>compile</scope> |
| 293 | + </dependency> |
| 294 | + <dependency> |
| 295 | + <groupId>org.springframework.security</groupId> |
| 296 | + <artifactId>spring-security-core</artifactId> |
| 297 | + <version>5.2.0.RELEASE</version> |
| 298 | + </dependency> |
| 299 | + <dependency> |
| 300 | + <groupId>org.springframework.security</groupId> |
| 301 | + <artifactId>spring-security-config</artifactId> |
| 302 | + <version>5.2.0.RELEASE</version> |
| 303 | + </dependency> |
| 304 | + <dependency> |
| 305 | + <groupId>org.springframework.security</groupId> |
| 306 | + <artifactId>spring-security-web</artifactId> |
| 307 | + <version>5.2.0.RELEASE</version> |
| 308 | + </dependency> |
207 | 309 | </dependencies> |
208 | 310 |
|
209 | 311 | <build> |
|
272 | 374 | <configuration> |
273 | 375 | <trimStackTrace>false</trimStackTrace> |
274 | 376 | <enableAssertions>true</enableAssertions> |
275 | | - <systemPropertyVariables> |
276 | | - <!-- Pass location of downloaded webdrivers to the tests --> |
277 | | - <webdriver.chrome.driver>${webdriver.chrome.driver}</webdriver.chrome.driver> |
278 | | - </systemPropertyVariables> |
279 | 377 | </configuration> |
280 | 378 | </plugin> |
281 | | - |
282 | | - <plugin> |
283 | | - <groupId>com.lazerycode.selenium</groupId> |
284 | | - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
285 | | - <version>1.0.17</version> |
286 | | - <configuration> |
287 | | - <onlyGetDriversForHostOperatingSystem>true |
288 | | - </onlyGetDriversForHostOperatingSystem> |
289 | | - <rootStandaloneServerDirectory> |
290 | | - ${project.basedir}/drivers/driver |
291 | | - </rootStandaloneServerDirectory> |
292 | | - <downloadedZipFileDirectory> |
293 | | - ${project.basedir}/drivers/driver_zips |
294 | | - </downloadedZipFileDirectory> |
295 | | - <customRepositoryMap> |
296 | | - ${project.basedir}/drivers.xml |
297 | | - </customRepositoryMap> |
298 | | - </configuration> |
299 | | - <executions> |
300 | | - <execution> |
301 | | - <!-- use phase "none" to skip download step --> |
302 | | - <phase>${drivers.downloader.phase}</phase> |
303 | | - <goals> |
304 | | - <goal>selenium</goal> |
305 | | - </goals> |
306 | | - </execution> |
307 | | - </executions> |
308 | | - </plugin> |
309 | 379 | </plugins> |
310 | 380 | </build> |
311 | 381 | </profile> |
|
0 commit comments