@@ -39,21 +39,18 @@ As a shortcut, the wrapper for all platforms can be found
39
39
40
40
It should be up-to-date with the latest async-profiler release, but if not, feel free to create an issue.
41
41
42
- To use the library as a dependency, you can depend on ` me.bechberger.ap-loader:<version>-<ap-loader-version>-<variant>-SNAPSHOT `
43
- from the [ Sonatype OSS repository] ( https://s01.oss.sonatype.org/content/repositories/snapshots ) .
44
- See [ #usage-in-java-code] (Usage in Java Code) for more information. The current ap-loader version is ` 4 ` .
45
-
46
- Or you can depend on the artifacts from maven central, they should be slightly more stable:
42
+ To use the library as a dependency, you can depend on ` me.bechberger.ap-loader-<variant>:<version>-<ap-loader-version> `
43
+ from maven central, e.g:
47
44
48
45
``` xml
49
46
<dependency >
50
47
<groupId >me.bechberger</groupId >
51
48
<artifactId >ap-loader-all</artifactId >
52
- <version >2.9-5 </version >
49
+ <version >2.9-6 </version >
53
50
</dependency >
54
51
```
55
52
56
- Others are of course available, see [ maven central] ( https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/2.9-5 ) .
53
+ Others are of course available, see [ maven central] ( https://central.sonatype.com/artifact/me.bechberger/ap-loader-all/2.9-6 ) .
57
54
58
55
You can also use [ JBang] ( https://jbang.dev ) to simplify the usage of ap-loader. There are examples in documentation below.
59
56
@@ -233,48 +230,10 @@ The latest `all` version can be added via:
233
230
< dependency>
234
231
< groupId> me.bechberger< /groupId>
235
232
< artifactId> ap-loader-all< /artifactId>
236
- < version> 2.9-5< /version>
237
- < /dependency>
238
- ` ` `
239
-
240
- # ## Snapshots
241
-
242
- ` ` ` xml
243
- < dependency>
244
- < groupId> me.bechberger< /groupId>
245
- < artifactId> ap-loader-variant< /artifactId>
246
- < version> version-SNAPSHOT< /version>
233
+ < version> 2.9-6< /version>
247
234
< /dependency>
248
235
` ` `
249
236
250
- For example for the ` all` variant of version 2.9:
251
-
252
- ` ` ` xml
253
- < dependency>
254
- < groupId> me.bechberger< /groupId>
255
- < artifactId> ap-loader-all< /artifactId>
256
- < version> 2.9-5-SNAPSHOT< /version>
257
- < /dependency>
258
- ` ` `
259
-
260
- You also have to add the snapshot repository:
261
-
262
- ` ` ` xml
263
-
264
- < repositories>
265
- < repository>
266
- < id> snapshots< /id>
267
- < url> https://s01.oss.sonatype.org/content/repositories/snapshots/< /url>
268
- < releases>
269
- < enabled> false< /enabled>
270
- < /releases>
271
- < snapshots>
272
- < enabled> true< /enabled>
273
- < /snapshots>
274
- < /repository>
275
- < /repositories>
276
- ` ` `
277
-
278
237
Build and test
279
238
--------------
280
239
@@ -290,11 +249,11 @@ python3 ./bin/releaser.py download 2.9
290
249
# build the JAR for the release
291
250
# maven might throw warnings, related to the project version setting,
292
251
# but the alternative solutions don't work, so we ignore the warning for now
293
- mvn -Dproject.vversion=2.9 -Dproject.subrelease=5 -Dproject.platform=macos package assembly:single
252
+ mvn -Dproject.vversion=2.9 -Dproject.subrelease=6 -Dproject.platform=macos package assembly:single
294
253
# use it
295
- java -jar target/ap-loader-macos-2.9-5 -full.jar ...
254
+ java -jar target/ap-loader-macos-2.9-6 -full.jar ...
296
255
# build the all JAR
297
- mvn -Dproject.vversion=2.9 -Dproject.subrelease=5 -Dproject.platform=all package assembly:single
256
+ mvn -Dproject.vversion=2.9 -Dproject.subrelease=6 -Dproject.platform=all package assembly:single
298
257
` ` `
299
258
300
259
Development
@@ -339,6 +298,10 @@ And the following for a new async-profiler release:
339
298
Changelog
340
299
---------
341
300
301
+ ### v6
302
+
303
+ - Fix Linux Arm64 release #12 (thanks to @dkrawiec-c for fixing this issue)
304
+
342
305
### v5
343
306
344
307
- Add new jattach methods (`AsyncProfilerLoader.jattach(Path agent, String args)`) to make using it programmatically easier
0 commit comments