|
9 | 9 | <url>http://cucumber.io/</url> |
10 | 10 |
|
11 | 11 | <parent> |
12 | | - <groupId>org.sonatype.oss</groupId> |
13 | | - <artifactId>oss-parent</artifactId> |
14 | | - <version>7</version> |
| 12 | + <groupId>io.cucumber</groupId> |
| 13 | + <artifactId>cucumber-parent</artifactId> |
| 14 | + <version>1.0.2</version> |
15 | 15 | </parent> |
16 | 16 |
|
17 | | - <prerequisites> |
18 | | - <maven>${minimum.maven.version}</maven> |
19 | | - </prerequisites> |
20 | | - |
21 | 17 | <developers> |
22 | 18 | <developer> |
23 | 19 | <id>glib-briia</id> |
|
33 | 29 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
34 | 30 | <minimum.maven.version>3.3</minimum.maven.version> |
35 | 31 | <outputDirectory>${project.build.directory}</outputDirectory> |
36 | | - |
37 | 32 | <scala-maven-plugin.version>3.2.2</scala-maven-plugin.version> |
38 | | - |
39 | 33 | <cucumber.version>4.1.0</cucumber.version> |
40 | 34 | <gherkin.version>5.1.0</gherkin.version> |
41 | 35 | <groovy.version>2.4.12</groovy.version> |
|
45 | 39 | <scala.2.11.version>2.11.12</scala.2.11.version> |
46 | 40 |
|
47 | 41 | </properties> |
48 | | - <licenses> |
49 | | - <license> |
50 | | - <name>MIT License</name> |
51 | | - <url>http://www.opensource.org/licenses/mit-license</url> |
52 | | - <distribution>repo</distribution> |
53 | | - </license> |
54 | | - </licenses> |
| 42 | + |
55 | 43 | <scm> |
56 | 44 | <connection>scm:git:git://github.com/cucumber/cucumber-jvm-scala.git</connection> |
57 | 45 | <developerConnection>scm:git:git@github.com:cucumber/cucumber-jvm-scala.git</developerConnection> |
|
87 | 75 | </dependencies> |
88 | 76 | </dependencyManagement> |
89 | 77 |
|
90 | | - <!-- |
91 | | - this adds a repository that the plugins will use for dependency resolution |
92 | | - Any items that we use in a plugin's <dependency> phase can be resolved from here, as well as central |
93 | | - --> |
94 | | - <pluginRepositories> |
95 | | - <pluginRepository> |
96 | | - <id>sonatype.org</id> |
97 | | - <url>https://oss.sonatype.org/content/repositories/releases</url> |
98 | | - </pluginRepository> |
99 | | - </pluginRepositories> |
100 | | - |
101 | | - <distributionManagement> |
102 | | - <snapshotRepository> |
103 | | - <id>ossrh</id> |
104 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
105 | | - </snapshotRepository> |
106 | | - <repository> |
107 | | - <id>ossrh</id> |
108 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
109 | | - </repository> |
110 | | - </distributionManagement> |
111 | | - |
112 | 78 | <modules> |
113 | 79 | <module>scala</module> |
114 | 80 | </modules> |
|
124 | 90 | </modules> |
125 | 91 | </profile> |
126 | 92 |
|
127 | | - <profile> |
128 | | - <id>sign-source-javadoc</id> |
129 | | - <build> |
130 | | - <plugins> |
131 | | - <plugin> |
132 | | - <groupId>org.apache.maven.plugins</groupId> |
133 | | - <artifactId>maven-source-plugin</artifactId> |
134 | | - <executions> |
135 | | - <execution> |
136 | | - <id>attach-sources</id> |
137 | | - <goals> |
138 | | - <goal>jar-no-fork</goal> |
139 | | - </goals> |
140 | | - </execution> |
141 | | - </executions> |
142 | | - </plugin> |
143 | | - <plugin> |
144 | | - <groupId>org.apache.maven.plugins</groupId> |
145 | | - <artifactId>maven-javadoc-plugin</artifactId> |
146 | | - <executions> |
147 | | - <execution> |
148 | | - <id>attach-javadocs</id> |
149 | | - <goals> |
150 | | - <goal>jar</goal> |
151 | | - </goals> |
152 | | - </execution> |
153 | | - </executions> |
154 | | - </plugin> |
155 | | - <plugin> |
156 | | - <groupId>org.apache.maven.plugins</groupId> |
157 | | - <artifactId>maven-gpg-plugin</artifactId> |
158 | | - <executions> |
159 | | - <execution> |
160 | | - <phase>verify</phase> |
161 | | - <goals> |
162 | | - <goal>sign</goal> |
163 | | - </goals> |
164 | | - </execution> |
165 | | - </executions> |
166 | | - </plugin> |
167 | | - </plugins> |
168 | | - </build> |
169 | | - </profile> |
170 | | - |
171 | 93 | <profile> |
172 | 94 | <id>coveralls.io</id> |
173 | 95 | <build> |
|
209 | 131 | <build> |
210 | 132 | <pluginManagement> |
211 | 133 | <plugins> |
212 | | - <!-- Standard plugins - alphabetically --> |
213 | | - |
214 | 134 | <plugin> |
215 | 135 | <groupId>org.apache.maven.plugins</groupId> |
216 | 136 | <artifactId>maven-antrun-plugin</artifactId> |
|
229 | 149 | </dependencies> |
230 | 150 | </plugin> |
231 | 151 |
|
232 | | - <plugin> |
233 | | - <groupId>org.apache.maven.plugins</groupId> |
234 | | - <artifactId>maven-clean-plugin</artifactId> |
235 | | - <version>3.0.0</version> |
236 | | - <configuration> |
237 | | - <filesets> |
238 | | - <fileset> |
239 | | - <directory>.</directory> |
240 | | - <includes> |
241 | | - <include>**/*.ser</include> |
242 | | - </includes> |
243 | | - </fileset> |
244 | | - </filesets> |
245 | | - </configuration> |
246 | | - </plugin> |
247 | | - |
248 | | - <plugin> |
249 | | - <groupId>org.apache.maven.plugins</groupId> |
250 | | - <artifactId>maven-compiler-plugin</artifactId> |
251 | | - <version>3.6.2</version> |
252 | | - <configuration> |
253 | | - <encoding>UTF-8</encoding> |
254 | | - <source>1.6</source> |
255 | | - <target>1.6</target> |
256 | | - <compilerArgument>-Werror</compilerArgument> |
257 | | - </configuration> |
258 | | - </plugin> |
259 | | - |
260 | | - <plugin> |
261 | | - <groupId>org.apache.maven.plugins</groupId> |
262 | | - <artifactId>maven-gpg-plugin</artifactId> |
263 | | - <version>1.6</version> |
264 | | - </plugin> |
265 | | - |
266 | 152 | <plugin> |
267 | 153 | <groupId>org.apache.maven.plugins</groupId> |
268 | 154 | <artifactId>maven-javadoc-plugin</artifactId> |
|
290 | 176 | </configuration> |
291 | 177 | </plugin> |
292 | 178 |
|
293 | | - <plugin> |
294 | | - <groupId>org.apache.maven.plugins</groupId> |
295 | | - <artifactId>maven-jar-plugin</artifactId> |
296 | | - <version>3.0.2</version> |
297 | | - </plugin> |
298 | | - |
299 | | - <plugin> |
300 | | - <groupId>org.apache.maven.plugins</groupId> |
301 | | - <artifactId>maven-project-info-reports-plugin</artifactId> |
302 | | - <version>2.9</version> |
303 | | - </plugin> |
304 | | - |
305 | | - <plugin> |
306 | | - <groupId>org.apache.maven.plugins</groupId> |
307 | | - <artifactId>maven-release-plugin</artifactId> |
308 | | - <version>2.5.3</version> |
309 | | - </plugin> |
310 | | - |
311 | 179 | <plugin> |
312 | 180 | <groupId>org.apache.maven.plugins</groupId> |
313 | 181 | <artifactId>maven-shade-plugin</artifactId> |
|
325 | 193 | </executions> |
326 | 194 | </plugin> |
327 | 195 |
|
328 | | - <plugin> |
329 | | - <groupId>org.apache.maven.plugins</groupId> |
330 | | - <artifactId>maven-site-plugin</artifactId> |
331 | | - <version>3.6</version> |
332 | | - </plugin> |
333 | | - |
334 | | - <plugin> |
335 | | - <groupId>org.apache.maven.plugins</groupId> |
336 | | - <artifactId>maven-resources-plugin</artifactId> |
337 | | - <version>3.0.2</version> |
338 | | - </plugin> |
339 | | - |
340 | | - <plugin> |
341 | | - <groupId>org.apache.maven.plugins</groupId> |
342 | | - <artifactId>maven-source-plugin</artifactId> |
343 | | - <version>3.0.1</version> |
344 | | - <executions> |
345 | | - <execution> |
346 | | - <id>bind-sources</id> |
347 | | - <goals> |
348 | | - <goal>jar</goal> |
349 | | - </goals> |
350 | | - </execution> |
351 | | - </executions> |
352 | | - </plugin> |
353 | | - |
354 | | - <plugin> |
355 | | - <groupId>org.apache.maven.plugins</groupId> |
356 | | - <artifactId>maven-surefire-plugin</artifactId> |
357 | | - <version>2.20</version> |
358 | | - <configuration> |
359 | | - <argLine>-Duser.language=en</argLine> |
360 | | - <argLine>-Xmx1024m</argLine> |
361 | | - <argLine>-XX:MaxPermSize=256m</argLine> |
362 | | - <argLine>-Dfile.encoding=UTF-8</argLine> |
363 | | - <useFile>false</useFile> |
364 | | - </configuration> |
365 | | - </plugin> |
366 | | - |
367 | 196 | <!-- Non-standard plugins --> |
368 | 197 | <plugin> |
369 | 198 | <groupId>net.alchim31.maven</groupId> |
370 | 199 | <artifactId>scala-maven-plugin</artifactId> |
371 | 200 | <version>${scala-maven-plugin.version}</version> |
372 | 201 | </plugin> |
373 | 202 |
|
374 | | - <plugin> |
375 | | - <groupId>org.codehaus.mojo</groupId> |
376 | | - <artifactId>build-helper-maven-plugin</artifactId> |
377 | | - <version>3.0.0</version> |
378 | | - </plugin> |
379 | | - |
380 | | - <plugin> |
381 | | - <groupId>org.apache.maven.plugins</groupId> |
382 | | - <artifactId>maven-deploy-plugin</artifactId> |
383 | | - <version>2.8.2</version> |
384 | | - </plugin> |
385 | | - <plugin> |
386 | | - <groupId>org.apache.maven.plugins</groupId> |
387 | | - <artifactId>maven-install-plugin</artifactId> |
388 | | - <version>2.5.2</version> |
389 | | - </plugin> |
390 | | - <plugin> |
391 | | - <groupId>org.apache.maven.plugins</groupId> |
392 | | - <artifactId>maven-enforcer-plugin</artifactId> |
393 | | - <version>3.0.0-M1</version> |
394 | | - </plugin> |
395 | | - <plugin> |
396 | | - <groupId>org.sonatype.plugins</groupId> |
397 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
398 | | - <version>1.6.7</version> |
399 | | - </plugin> |
400 | 203 | </plugins> |
401 | 204 | </pluginManagement> |
402 | | - |
403 | | - <plugins> |
404 | | - <plugin> |
405 | | - <groupId>org.apache.maven.plugins</groupId> |
406 | | - <artifactId>maven-enforcer-plugin</artifactId> |
407 | | - <executions> |
408 | | - <execution> |
409 | | - <id>enforce</id> |
410 | | - <configuration> |
411 | | - <rules> |
412 | | - <requireJavaVersion> |
413 | | - <version>1.7.0-9</version> |
414 | | - </requireJavaVersion> |
415 | | - <requireMavenVersion> |
416 | | - <version>[${minimum.maven.version},)</version> |
417 | | - </requireMavenVersion> |
418 | | - <requirePluginVersions> |
419 | | - <message>Best Practice is to always define plugin versions!</message> |
420 | | - <banLatest>true</banLatest> |
421 | | - <banRelease>true</banRelease> |
422 | | - <banSnapshots>true</banSnapshots> |
423 | | - <phases>clean,deploy,site</phases> |
424 | | - <unCheckedPluginList>org.codehaus.mojo</unCheckedPluginList> |
425 | | - </requirePluginVersions> |
426 | | - <bannedDependencies> |
427 | | - <excludes> |
428 | | - <exclude>commons-logging</exclude> |
429 | | - <!-- use slf4j --> |
430 | | - <exclude>log4j</exclude> |
431 | | - <!-- use slf4j --> |
432 | | - </excludes> |
433 | | - </bannedDependencies> |
434 | | - </rules> |
435 | | - </configuration> |
436 | | - <goals> |
437 | | - <goal>enforce</goal> |
438 | | - </goals> |
439 | | - </execution> |
440 | | - </executions> |
441 | | - </plugin> |
442 | | - <plugin> |
443 | | - <groupId>org.sonatype.plugins</groupId> |
444 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
445 | | - <extensions>true</extensions> |
446 | | - <configuration> |
447 | | - <serverId>ossrh</serverId> |
448 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
449 | | - <!--Manually review the non-snapshot artifacts for a while before automating the release --> |
450 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
451 | | - </configuration> |
452 | | - </plugin> |
453 | | - </plugins> |
454 | | - |
455 | | - <extensions> |
456 | | - <extension> |
457 | | - <groupId>org.apache.maven.wagon</groupId> |
458 | | - <artifactId>wagon-ssh</artifactId> |
459 | | - <version>2.10</version> |
460 | | - </extension> |
461 | | - </extensions> |
462 | 205 | </build> |
463 | 206 | </project> |
0 commit comments