-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpom.xml
189 lines (181 loc) · 6.35 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>ru.job4j</groupId>
<artifactId>junior</artifactId>
<packaging>pom</packaging>
<version>2.0</version>
<name>junior</name>
<url>http://job4j.ru/</url>
<profiles>
<profile>
<id>test</id>
<properties>
<db.url>jdbc:postgresql://127.0.0.1:5432/tracker</db.url>
<db.username>user</db.username>
<db.password>password</db.password>
<db.driver>org.postgresql.Driver</db.driver>
</properties>
</profile>
<profile>
<id>production</id>
<properties>
<db.url>jdbc:postgresql://127.0.0.1:5432/tracker</db.url>
<db.username>user</db.username>
<db.password>password</db.password>
<db.driver>org.postgresql.Driver</db.driver>
</properties>
</profile>
<profile>
<id>travis</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<db.url>jdbc:postgresql://localhost/tracker</db.url>
<db.username>postgres</db.username>
<db.password></db.password>
<db.driver>org.postgresql.Driver</db.driver>
</properties>
</profile>
<profile>
<id>parser_sql</id>
<properties>
<db.url>jdbc:postgresql://127.0.0.1:5432/vacancies</db.url>
<db.username>user</db.username>
<db.password>password</db.password>
<db.driver>org.postgresql.Driver</db.driver>
</properties>
</profile>
</profiles>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<compiler.version>3.8.0</compiler.version>
</properties>
<modules>
<module>chapter_001</module>
<module>puzzle</module>
<module>chapter_002</module>
<module>chess</module>
<module>tictactoe</module>
<module>chapter_003</module>
<module>chapter_004</module>
<module>chapter_005</module>
<module>chapter_006</module>
<module>utils</module>
<module>search_files</module>
<module>chapter_007</module>
<module>parser_sql</module>
<module>chapter_008</module>
<module>chapter_009</module>
<module>chapter_010</module>
<module>bomberman</module>
<module>strategy</module>
<module>chapter_011</module>
</modules>
<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-fxml -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-graphics -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>11</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-base -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>11</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-controls -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.version}</version>
<configuration>
<release>11</release>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>