Skip to content

Commit 913942a

Browse files
committed
Merge branch 'master' into develop-v5
2 parents 62bf1f0 + a60f87d commit 913942a

File tree

8 files changed

+35
-64
lines changed

8 files changed

+35
-64
lines changed

CHANGELOG.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22
Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) on how to contribute to Cucumber.
33

44

5-
## [4.0.0-SNAPSHOT](https://github.com/cucumber/cucumber-jvm/compare/v3.0.2...master) (In Git)
5+
## [4.0.1-SNAPSHOT](https://github.com/cucumber/cucumber-jvm/compare/v4.0.1...master) (In Git)
6+
7+
### Added
8+
9+
### Changed
10+
11+
### Deprecated
12+
13+
### Removed
14+
15+
### Fixed
16+
17+
## [4.0.0](https://github.com/cucumber/cucumber-jvm/compare/v3.0.2...v4.0.0) (In Git)
618

719
### Added
820
* [Core] Added extraGlue option to `@CucumberOptions` ([#1439](https://github.com/cucumber/cucumber-jvm/pull/1439) Eduardo Kalinowski)
@@ -18,7 +30,9 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
1830
* [Core] Add --wip option ([#1381](https://github.com/cucumber/cucumber-jvm/pull/1381) Heziode)
1931
* [Core] Upgrade gherkin to 5.1.0 ([#1377](https://github.com/cucumber/cucumber-jvm/pull/1377) Aslak Hellesøy)
2032
* [Weld] Document the need for a beans.xml per source root ([#923](https://github.com/cucumber/cucumber-jvm/pull/923) Harald Albers)
21-
33+
* [Core] Upgrade cucumber-expressions to [6.1.0](https://github.com/cucumber/cucumber/blob/master/cucumber-expressions/CHANGELOG.md#610---2018-09-23) ([#1464](https://github.com/cucumber/cucumber-jvm/pull/1464) M.P. Korstanje)
34+
* ParameterType.fromEnum(MyEnumClass.class) to make it easier to register enums.
35+
2236
### Changed
2337
* [Core] Upgrade datatable to 1.1.3 ([#1414](https://github.com/cucumber/cucumber-jvm/pull/1414) Łukasz Suski)
2438
* Allows the registration of default TableEntryByTypeTransformer and TableCellByTypeTransformer

RELEASING.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mvn versions:display-dependency-updates
2323

2424
Replace version numbers in:
2525

26-
* `examples/java-gradle/build.gradle`
2726
* `CHANGELOG.md`
2827

2928
Then run (replace X.Y.Z below with the next release number):
@@ -37,7 +36,7 @@ git commit -am "Prepare for release X.Y.Z"
3736
Now release everything:
3837

3938
```
40-
mvn release:clean release:prepare -Pandroid-examples -DautoVersionSubmodules=true -Darguments="-DskipTests=true"
39+
mvn release:clean release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true"
4140
```
4241

4342
Travis will now deploy everything. Once travis is done go into [Nexus](https://oss.sonatype.org/) and inspect,

continuous-deployment/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
3-
mvn deploy -Psign-source-javadoc --settings continuous-deployment/travis-settings.xml -DskipTests=true
3+
mvn deploy -P-examples -Psign-source-javadoc --settings continuous-deployment/travis-settings.xml -DskipTests=true
44
else
55
echo "Artifacts are only deployed on a build of the master branch"
66
fi

continuous-deployment/pom.xml

-43
This file was deleted.

core/src/test/java/io/cucumber/core/plugin/PrettyFormatterTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public void should_mark_nested_argument_as_part_of_full_argument() {
408408

409409
TypeRegistry registry = new TypeRegistry(Locale.ENGLISH);
410410
StepExpressionFactory stepExpressionFactory = new StepExpressionFactory(registry);
411-
StepExpression expression = stepExpressionFactory.createExpression("the order is placed( and (not yet )?confirmed)?");
411+
StepExpression expression = stepExpressionFactory.createExpression("^the order is placed( and (not yet )?confirmed)?$");
412412

413413
PrettyFormatter prettyFormatter = new PrettyFormatter(null);
414414
String stepText = "the order is placed and not yet confirmed";
@@ -426,7 +426,7 @@ public void should_mark_nested_arguments_as_part_of_enclosing_argument() {
426426
PrettyFormatter prettyFormatter = new PrettyFormatter(null);
427427
TypeRegistry registry = new TypeRegistry(Locale.ENGLISH);
428428
StepExpressionFactory stepExpressionFactory = new StepExpressionFactory(registry);
429-
StepExpression expression = stepExpressionFactory.createExpression("the order is placed( and (not( yet)? )?confirmed)?");
429+
StepExpression expression = stepExpressionFactory.createExpression("^the order is placed( and (not( yet)? )?confirmed)?$");
430430
String stepText = "the order is placed and not yet confirmed";
431431
String formattedText = prettyFormatter.formatStepText("Given ", stepText, formats.get("passed"), formats.get("passed_arg"), createArguments(expression.match(stepText)));
432432

examples/java-calculator/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
32
<modelVersion>4.0.0</modelVersion>
43

54
<parent>

openejb/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
42
<modelVersion>4.0.0</modelVersion>
53

64
<parent>

pom.xml

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
32
<modelVersion>4.0.0</modelVersion>
43
<groupId>io.cucumber</groupId>
54
<artifactId>cucumber-jvm</artifactId>
@@ -77,7 +76,7 @@
7776
<xmlunit.version>1.6</xmlunit.version>
7877
<tag-expressions.version>1.1.1</tag-expressions.version>
7978
<typetools.version>0.5.0</typetools.version>
80-
<cucumber-expressions.version>6.0.1</cucumber-expressions.version>
79+
<cucumber-expressions.version>6.1.0</cucumber-expressions.version>
8180
<datatable.version>1.1.3</datatable.version>
8281
</properties>
8382
<licenses>
@@ -523,12 +522,19 @@
523522
<module>weld</module>
524523
<module>openejb</module>
525524
<module>needle</module>
526-
<module>examples</module>
527-
<!--This should always be the last module -->
528-
<module>continuous-deployment</module>
529525
</modules>
530526

531527
<profiles>
528+
<profile>
529+
<id>examples</id>
530+
<activation>
531+
<activeByDefault>true</activeByDefault>
532+
</activation>
533+
<modules>
534+
<module>examples</module>
535+
</modules>
536+
</profile>
537+
532538
<profile>
533539
<id>sign-source-javadoc</id>
534540
<build>
@@ -591,7 +597,7 @@
591597
<instrumentation>
592598
<ignoreTrivial>true</ignoreTrivial>
593599
</instrumentation>
594-
<check/>
600+
<check />
595601
</configuration>
596602
</plugin>
597603
<plugin>
@@ -911,8 +917,6 @@
911917
<configuration>
912918
<serverId>ossrh</serverId>
913919
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
914-
<!--Manually review the non-snapshot artifacts for a while before automating the release -->
915-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
916920
</configuration>
917921
</plugin>
918922
</plugins>

0 commit comments

Comments
 (0)