|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
| 6 | + |
6 | 7 | <groupId>com.github.aquality-automation</groupId>
|
7 | 8 | <artifactId>aquality-selenium-core</artifactId>
|
8 |
| - <version>1.0.0</version> |
| 9 | + <version>1.0.1</version> |
| 10 | + |
9 | 11 | <packaging>jar</packaging>
|
10 | 12 | <name>Aquality Selenium Core</name>
|
11 | 13 | <description>Library with core functions simplifying work with Selenium-controlled applications.</description>
|
12 | 14 | <url>https://github.com/aquality-automation/aquality-selenium-core-java</url>
|
| 15 | + |
13 | 16 | <properties>
|
14 | 17 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
15 | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
113 | 116 | <scope>test</scope>
|
114 | 117 | </dependency>
|
115 | 118 | </dependencies>
|
116 |
| - <profiles> |
117 |
| - <profile> |
118 |
| - <id>default</id> |
119 |
| - <activation> |
120 |
| - <activeByDefault>true</activeByDefault> |
121 |
| - </activation> |
122 |
| - <build> |
123 |
| - <plugins> |
124 |
| - <plugin> |
125 |
| - <groupId>org.apache.maven.plugins</groupId> |
126 |
| - <artifactId>maven-compiler-plugin</artifactId> |
127 |
| - <version>3.1</version> |
| 119 | + |
| 120 | + <build> |
| 121 | + <plugins> |
| 122 | + <plugin> |
| 123 | + <groupId>org.apache.maven.plugins</groupId> |
| 124 | + <artifactId>maven-compiler-plugin</artifactId> |
| 125 | + <version>3.1</version> |
| 126 | + <configuration> |
| 127 | + <source>1.8</source> |
| 128 | + <target>1.8</target> |
| 129 | + </configuration> |
| 130 | + </plugin> |
| 131 | + <plugin> |
| 132 | + <groupId>org.jacoco</groupId> |
| 133 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 134 | + <version>0.8.4</version> |
| 135 | + <executions> |
| 136 | + <execution> |
| 137 | + <id>pre-unit-test</id> |
| 138 | + <goals> |
| 139 | + <goal>prepare-agent</goal> |
| 140 | + </goals> |
128 | 141 | <configuration>
|
129 |
| - <source>1.8</source> |
130 |
| - <target>1.8</target> |
| 142 | + <destFile>${project.build.directory}/jacoco/jacoco-ut.exec</destFile> |
| 143 | + <propertyName>surefireArgLine</propertyName> |
131 | 144 | </configuration>
|
132 |
| - </plugin> |
133 |
| - <plugin> |
134 |
| - <groupId>org.jacoco</groupId> |
135 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
136 |
| - <version>0.8.4</version> |
137 |
| - <executions> |
138 |
| - <execution> |
139 |
| - <id>pre-unit-test</id> |
140 |
| - <goals> |
141 |
| - <goal>prepare-agent</goal> |
142 |
| - </goals> |
143 |
| - <configuration> |
144 |
| - <destFile>${project.build.directory}/jacoco/jacoco-ut.exec</destFile> |
145 |
| - <propertyName>surefireArgLine</propertyName> |
146 |
| - </configuration> |
147 |
| - </execution> |
148 |
| - <execution> |
149 |
| - <id>post-unit-test</id> |
150 |
| - <phase>test</phase> |
151 |
| - <goals> |
152 |
| - <goal>report</goal> |
153 |
| - </goals> |
154 |
| - <configuration> |
155 |
| - <dataFile>${project.build.directory}/jacoco/jacoco-ut.exec</dataFile> |
156 |
| - <outputDirectory>${project.build.directory}/coverage-report</outputDirectory> |
157 |
| - </configuration> |
158 |
| - </execution> |
159 |
| - </executions> |
160 |
| - </plugin> |
161 |
| - <plugin> |
162 |
| - <groupId>org.apache.maven.plugins</groupId> |
163 |
| - <artifactId>maven-surefire-plugin</artifactId> |
164 |
| - <version>2.20</version> |
| 145 | + </execution> |
| 146 | + <execution> |
| 147 | + <id>post-unit-test</id> |
| 148 | + <phase>test</phase> |
| 149 | + <goals> |
| 150 | + <goal>report</goal> |
| 151 | + </goals> |
165 | 152 | <configuration>
|
166 |
| - <argLine>${surefireArgLine} -Dfile.encoding=UTF-8</argLine> |
167 |
| - <reuseForks>false</reuseForks> |
168 |
| - <suiteXmlFiles> |
169 |
| - <suiteXmlFile>src/test/resources/TestSuite.xml</suiteXmlFile> |
170 |
| - </suiteXmlFiles> |
| 153 | + <dataFile>${project.build.directory}/jacoco/jacoco-ut.exec</dataFile> |
| 154 | + <outputDirectory>${project.build.directory}/coverage-report</outputDirectory> |
171 | 155 | </configuration>
|
172 |
| - </plugin> |
173 |
| - <plugin> |
174 |
| - <groupId>org.apache.maven.plugins</groupId> |
175 |
| - <artifactId>maven-assembly-plugin</artifactId> |
176 |
| - <executions> |
177 |
| - <execution> |
178 |
| - <goals> |
179 |
| - <goal>attached</goal> |
180 |
| - </goals> |
181 |
| - <phase>package</phase> |
182 |
| - <configuration> |
183 |
| - <descriptorRefs> |
184 |
| - <descriptorRef>jar-with-dependencies</descriptorRef> |
185 |
| - </descriptorRefs> |
186 |
| - </configuration> |
187 |
| - </execution> |
188 |
| - </executions> |
189 |
| - </plugin> |
190 |
| - <plugin> |
191 |
| - <groupId>org.apache.maven.plugins</groupId> |
192 |
| - <artifactId>maven-source-plugin</artifactId> |
193 |
| - <executions> |
194 |
| - <execution> |
195 |
| - <id>attach-sources</id> |
196 |
| - <goals> |
197 |
| - <goal>jar</goal> |
198 |
| - </goals> |
199 |
| - </execution> |
200 |
| - </executions> |
201 |
| - </plugin> |
202 |
| - <plugin> |
203 |
| - <groupId>org.apache.maven.plugins</groupId> |
204 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
205 |
| - <executions> |
206 |
| - <execution> |
207 |
| - <id>attach-javadocs</id> |
208 |
| - <goals> |
209 |
| - <goal>jar</goal> |
210 |
| - </goals> |
211 |
| - </execution> |
212 |
| - </executions> |
213 |
| - </plugin> |
214 |
| - <plugin> |
215 |
| - <groupId>org.apache.maven.plugins</groupId> |
216 |
| - <artifactId>maven-gpg-plugin</artifactId> |
217 |
| - <version>1.6</version> |
218 |
| - <executions> |
219 |
| - <execution> |
220 |
| - <id>sign-artifacts</id> |
221 |
| - <phase>verify</phase> |
222 |
| - <goals> |
223 |
| - <goal>sign</goal> |
224 |
| - </goals> |
225 |
| - </execution> |
226 |
| - </executions> |
227 |
| - </plugin> |
228 |
| - <plugin> |
229 |
| - <groupId>org.sonatype.plugins</groupId> |
230 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
231 |
| - <version>1.6.8</version> |
232 |
| - <extensions>true</extensions> |
| 156 | + </execution> |
| 157 | + </executions> |
| 158 | + </plugin> |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-surefire-plugin</artifactId> |
| 162 | + <version>2.20</version> |
| 163 | + <configuration> |
| 164 | + <argLine>${surefireArgLine} -Dfile.encoding=UTF-8</argLine> |
| 165 | + <reuseForks>false</reuseForks> |
| 166 | + <suiteXmlFiles> |
| 167 | + <suiteXmlFile>src/test/resources/TestSuite.xml</suiteXmlFile> |
| 168 | + </suiteXmlFiles> |
| 169 | + </configuration> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-assembly-plugin</artifactId> |
| 174 | + <executions> |
| 175 | + <execution> |
| 176 | + <goals> |
| 177 | + <goal>attached</goal> |
| 178 | + </goals> |
| 179 | + <phase>package</phase> |
233 | 180 | <configuration>
|
234 |
| - <serverId>ossrh</serverId> |
235 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
236 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 181 | + <descriptorRefs> |
| 182 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 183 | + </descriptorRefs> |
237 | 184 | </configuration>
|
238 |
| - </plugin> |
239 |
| - </plugins> |
240 |
| - </build> |
241 |
| - </profile> |
242 |
| - <profile> |
243 |
| - <id>sonar</id> |
244 |
| - <build> |
245 |
| - <pluginManagement> |
246 |
| - <plugins> |
247 |
| - <plugin> |
248 |
| - <groupId>org.sonarsource.scanner.maven</groupId> |
249 |
| - <artifactId>sonar-maven-plugin</artifactId> |
250 |
| - <version>3.6.0.1398</version> |
251 |
| - </plugin> |
252 |
| - </plugins> |
253 |
| - </pluginManagement> |
254 |
| - </build> |
255 |
| - <properties> |
256 |
| - <sonar.host.url>http://172.20.68.34:9000</sonar.host.url> |
257 |
| - <sonar.login>a9d71a45706333578fa9d518a0aa82d89ecbe3ce</sonar.login> |
258 |
| - <sonar.projectKey>sonar.selenium-core-java</sonar.projectKey> |
259 |
| - <sonar.sources>src/main</sonar.sources> |
260 |
| - <sonar.tests>src/test</sonar.tests> |
261 |
| - <sonar.language>java</sonar.language> |
262 |
| - <sonar.java.binaries>.</sonar.java.binaries> |
263 |
| - <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding> |
264 |
| - </properties> |
265 |
| - </profile> |
266 |
| - </profiles> |
| 185 | + </execution> |
| 186 | + </executions> |
| 187 | + </plugin> |
| 188 | + <plugin> |
| 189 | + <groupId>org.apache.maven.plugins</groupId> |
| 190 | + <artifactId>maven-source-plugin</artifactId> |
| 191 | + <executions> |
| 192 | + <execution> |
| 193 | + <id>attach-sources</id> |
| 194 | + <goals> |
| 195 | + <goal>jar</goal> |
| 196 | + </goals> |
| 197 | + </execution> |
| 198 | + </executions> |
| 199 | + </plugin> |
| 200 | + <plugin> |
| 201 | + <groupId>org.apache.maven.plugins</groupId> |
| 202 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 203 | + <executions> |
| 204 | + <execution> |
| 205 | + <id>attach-javadocs</id> |
| 206 | + <goals> |
| 207 | + <goal>jar</goal> |
| 208 | + </goals> |
| 209 | + </execution> |
| 210 | + </executions> |
| 211 | + </plugin> |
| 212 | + <plugin> |
| 213 | + <groupId>org.apache.maven.plugins</groupId> |
| 214 | + <artifactId>maven-gpg-plugin</artifactId> |
| 215 | + <version>1.6</version> |
| 216 | + <executions> |
| 217 | + <execution> |
| 218 | + <id>sign-artifacts</id> |
| 219 | + <phase>verify</phase> |
| 220 | + <goals> |
| 221 | + <goal>sign</goal> |
| 222 | + </goals> |
| 223 | + </execution> |
| 224 | + </executions> |
| 225 | + </plugin> |
| 226 | + <plugin> |
| 227 | + <groupId>org.sonatype.plugins</groupId> |
| 228 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 229 | + <version>1.6.8</version> |
| 230 | + <extensions>true</extensions> |
| 231 | + <configuration> |
| 232 | + <serverId>ossrh</serverId> |
| 233 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 234 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 235 | + </configuration> |
| 236 | + </plugin> |
| 237 | + </plugins> |
| 238 | + </build> |
267 | 239 | </project>
|
0 commit comments