test
Форк от lirfrnk/test
/
pom.xml
75 строк · 2.0 Кб
1<project xmlns="http://maven.apache.org/POM/4.0.0"2xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"3xsi: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<groupId>onlinebookstore</groupId>6<artifactId>onlinebookstore</artifactId>7<version>0.0.1-SNAPSHOT</version>8<packaging>war</packaging>9<build>10<sourceDirectory>src/main/java</sourceDirectory>11<finalName>onlinebookstore</finalName>12<plugins>13<plugin>14<groupId>org.apache.maven.plugins</groupId>15<artifactId>maven-dependency-plugin</artifactId>16<version>2.3</version>17<executions>18<execution>19<phase>package</phase>20<goals>21<goal>copy</goal>22</goals>23<configuration>24<artifactItems>25<artifactItem>26<groupId>com.github.jsimone</groupId>27<artifactId>webapp-runner</artifactId>28<version>8.0.30.2</version>29<destFileName>webapp-runner.jar</destFileName>30</artifactItem>31</artifactItems>32</configuration>33</execution>34</executions>35</plugin>36<plugin>37<artifactId>maven-compiler-plugin</artifactId>38<version>3.11.0</version>39<configuration>40<source>1.8</source>41<target>1.8</target>42</configuration>43</plugin>44<plugin>45<artifactId>maven-war-plugin</artifactId>46<version>3.2.1</version>47<configuration>48<warSourceDirectory>WebContent</warSourceDirectory>49</configuration>50</plugin>51</plugins>52</build>53<dependencies>54
55<dependency>56<groupId>org.postgresql</groupId>57<artifactId>postgresql</artifactId>58<version>42.3.7</version>59</dependency>60
61
62<dependency>63<groupId>mysql</groupId>64<artifactId>mysql-connector-java</artifactId>65<version>8.0.28</version>66</dependency>67
68
69<dependency>70<groupId>javax.servlet</groupId>71<artifactId>javax.servlet-api</artifactId>72<version>3.1.0</version>73</dependency>74</dependencies>75</project>