Skip to content

Commit b7ed998

Browse files
committed
Updated mvn commands in Android Readmes.
1 parent 022f12f commit b7ed998

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

examples/android/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ To *clean* all android example modules with maven:
88

99
```
1010
mvn clean -pl examples/android -amd -P android,android-examples
11-
```
11+
```
12+
13+
The example projects depend on the current (unreleased) Cucumber-JVM modules.
14+
If any of the examples fail to build, just build the android module and its dependencies once first:
15+
16+
```
17+
mvn clean install -pl android -am -P android
18+
```

examples/android/cukeulator-test/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Read `libs/README.md` for details on dependencies.
2121
To build:
2222

2323
````
24-
mvn install -pl examples/android/cukeulator-test -am -P android,android-examples
24+
mvn package -pl examples/android/cukeulator-test -am -P android,android-examples
2525
```
2626
2727
To intall and run:
2828
2929
```
30-
mvn install -pl examples/android/cukeulator-test -P android-examples
30+
mvn install -pl examples/android/cukeulator-test -am -P android-examples
3131
```
3232
3333
To re-run already installed package:

0 commit comments

Comments
 (0)