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
{{ message }}
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,25 @@
4
4
- If reporting a bug, please add a [simplified example](http://sscce.org/).
5
5
6
6
## Pull requests
7
+
7
8
- Create a new topic branch for every separate change you make.
8
9
- Create a test case if you are fixing a bug or implementing an important feature.
9
10
- Make sure the build runs successfully [(see below)](#development).
10
11
11
12
## Development
12
13
13
14
### Tools
15
+
14
16
We use the following tools for development:
15
17
16
18
-[Maven](https://maven.apache.org/) for Java Build.
17
-
-[NodeJS](http://nodejs.org/download/) required to run grunt.
18
-
-[Grunt](http://gruntjs.com/getting-started) for JavaScript task management.
19
+
-[NodeJS](https://nodejs.org/en/download/) used for NPM (installed by Maven automatically).
20
+
-[NPM](https://www.npmjs.com) used to install Bower (installed by Maven automatically).
21
+
-[Bower](https://bower.io) used to get [js-cookie](https://github.com/js-cookie/js-cookie/) for Integration tests (installed by NPM automatically).
22
+
19
23
20
24
### Getting started
21
25
22
-
Install [NodeJS](http://nodejs.org/).
23
26
Install [Maven](https://maven.apache.org/download.cgi) and add `mvn` as a global alias to run the `/bin/mvn` command inside Maven folder.
24
27
25
28
Browse to the project root directory and run the build:
@@ -33,6 +36,7 @@ After the build completes, you should see the following message in the console:
To run the unit tests, execute the following command:
37
41
38
42
$ mvn test
@@ -41,7 +45,7 @@ To run the unit tests, execute the following command:
41
45
42
46
If you want to debug the integration tests in the browser, switch `Debug.FALSE` to `Debug.TRUE` in `CookiesEncodingIT.java` and run the build:
43
47
44
-
$ mvn install
48
+
$ mvn verify
45
49
46
50
[Arquillian](http://arquillian.org/) will start the server, [Selenium](http://www.seleniumhq.org/) will run the tests in Firefox, but the build will hang to allow debugging in the browser.
0 commit comments