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: README.md
+6-25Lines changed: 6 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ before submitting your pull requests.
28
28
29
29
## Installing
30
30
31
-
These are the requirements to cereate your own local dev environment to contribute to Selenium.
31
+
These are the requirements to create your own local dev environment to contribute to Selenium.
32
32
33
33
### All Platforms
34
34
*[Bazelisk](https://github.com/bazelbuild/bazelisk), a Bazel wrapper that automatically downloads
@@ -168,7 +168,6 @@ there are a few steps to get it working, so read their [configuration documentat
168
168
There is also an auto-formatting script that can be run: `./scripts/format.sh`
169
169
170
170
#### Local Installation
171
-
172
171
While Selenium is not built with Maven, you can build and install the Selenium pieces
173
172
for Maven to use locally by deploying to your local maven repository (`~/.m2/repository`), using:
174
173
```shell
@@ -177,30 +176,12 @@ for Maven to use locally by deploying to your local maven repository (`~/.m2/rep
177
176
178
177
#### Updating Dependencies
179
178
180
-
The coordinates (_groupId_:_artifactId_:_version_) of the Java dependencies
181
-
are defined in the file [maven_deps.bzl](https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_deps.bzl).
182
-
The process to modify these dependencies is the following:
183
-
184
-
1. (Optional) If we want to detect the dependencies which are not updated,
185
-
we can use the following command for automatic discovery:
For instance, we can bump the version of a given artifact detected in the step before.
179
+
Dependencies are defined in the file [maven_deps.bzl](https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_deps.bzl).
180
+
To automatically update and pin new dependencies, run:
193
181
194
-
3. Repin dependencies. This process is required to update the file [maven_install.json](https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_install.json),
195
-
which is used to manage the Maven dependencies tree (see [rules_jvm_external](https://github.com/bazelbuild/rules_jvm_external) for further details). The command to carry out this step is the following:
196
-
197
-
```sh
198
-
RULES_JVM_EXTERNAL_REPIN=1 bazel run @unpinned_maven//:pin
199
-
```
200
-
201
-
4. (Optional) If we use IntelliJ with the Bazel plugin, we need to synchronize
202
-
our project. To that aim, we click on _Bazel_ → _Sync_ → _Sync Project
0 commit comments