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
+44-17Lines changed: 44 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ mvn -v
14
14
java -version
15
15
```
16
16
17
-
## Maven dependency (JitPack)
17
+
## Maven demo
18
18
19
-
Add the JitPack repository to your`pom.xml` and use the exact coordinates published for this project. The project exposes the artifact as `JavaFastPFOR` with a tag-style version. For example:
19
+
We added the JitPack repository to our`pom.xml` and use the exact coordinates published for this project. The project exposes the artifact as `JavaFastPFOR` with a tag-style version. For example:
20
20
21
21
```xml
22
22
<repositories>
@@ -29,28 +29,21 @@ Add the JitPack repository to your `pom.xml` and use the exact coordinates publi
29
29
<dependency>
30
30
<groupId>com.github.fast-pack</groupId>
31
31
<artifactId>JavaFastPFOR</artifactId>
32
-
<version>JavaFastPFOR-0.3.0</version>
32
+
<version>JavaFastPFOR-0.3.1</version>
33
33
</dependency>
34
34
```
35
35
36
-
Note: coordinates are case-sensitive. Using `JavaFastPFor` (different case) or a short `0.3.0` version may fail if that exact artifact/version was not published.
36
+
Note: coordinates are case-sensitive. Using `JavaFastPFor` (different case) or a short `0.3.1` version may fail if that exact artifact/version was not published.
37
37
38
-
## Build
38
+
###Build
39
39
40
40
Download dependencies and compile:
41
41
42
42
```bash
43
-
mvn -U package
43
+
mvn package
44
44
```
45
45
46
-
If Maven cached a failed resolution you can clear the specific cached artifact and retry:
- "Could not find artifact ..." when building: check that the `artifactId` and `version` in your `pom.xml` exactly match what JitPack exposes (case-sensitive). Use the repository page `https://jitpack.io/#fast-pack/JavaFastPFOR` to inspect available versions/tags.
72
-
- If JitPack builds are failing for a tag, try using the exact commit hash or `master-SNAPSHOT` while debugging.
0 commit comments