You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/languages/java.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,27 +22,27 @@ in your `.travis.yml` file.
22
22
23
23
## Projects Using Maven
24
24
25
-
### Default Test Command
25
+
### Default `script` Command
26
26
27
-
if your project has `pom.xml` file in the repository root but no `build.gradle`, Travis CI Java builder will use Maven 3 to build it. By default it will use
27
+
If your project has `pom.xml` file in the repository root but no `build.gradle`, Travis CI Java builder will use Maven 3 to build it. By default it will use
28
28
29
29
mvn test
30
30
31
31
to run your test suite. This can be overridden as described in the [general build configuration](/user/customizing-the-build/) guide.
32
32
33
33
Note that, by default, JavaDoc generation will be skipped via `-Dmaven.javadoc.skip=true`.
to install your project's dependencies with Maven.
42
42
43
43
## Projects Using Gradle
44
44
45
-
### Default Test Command
45
+
### Default `script` Command
46
46
47
47
if your project has `build.gradle` file in the repository root, Travis CI Java builder will use Gradle to build it. By default it will use
48
48
@@ -54,7 +54,7 @@ to run your test suite. If your project also includes the `gradlew` wrapper scri
54
54
55
55
This can be overridden as described in the [general build configuration](/user/customizing-the-build/) guide.
56
56
57
-
### Dependency Management
57
+
### Dependency Management with Default `install`
58
58
59
59
Before running tests, Java builder will execute
60
60
@@ -80,15 +80,15 @@ cache:
80
80
81
81
## Projects Using Ant
82
82
83
-
### Default Test Command
83
+
### Default `script` Command
84
84
85
85
If Travis CI could not detect Maven or Gradle files, Travis CI Java builder will use Ant to build it. By default it will use
86
86
87
87
ant test
88
88
89
89
to run your test suite. This can be overridden as described in the [general build configuration](/user/customizing-the-build/) guide.
90
90
91
-
### Dependency Management
91
+
### Dependency Management with Default `install`
92
92
93
93
Because there is no single standard way of installing project dependencies with Ant, Travis CI Java builder does not have any default for it. You need to specify the exact command to run using `install:` key in your `.travis.yml`, for example:
0 commit comments