Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream dec 2024 #22

Merged
merged 257 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
7bcd8cc
move chat to another repo
kevodwyer Sep 15, 2023
fce4cd2
Merge pull request #54 from Peergos/feat/example-chat-app
ianopolous Sep 15, 2023
574baa4
extract out getAddresses from HttpProxyService
kevodwyer Sep 15, 2023
463c153
add shutdown hook implicitly so client does not need to
kevodwyer Sep 15, 2023
c038007
Merge pull request #55 from Peergos/fix/shutdown-hook
ianopolous Sep 15, 2023
e84a212
attempt another build
kevodwyer Sep 18, 2023
bc38c33
revert failed pom experiment
kevodwyer Sep 18, 2023
7619554
In the case when no peers are provided, make bitswap try
ianopolous Sep 20, 2023
8276f7c
Merge pull request #56 from Peergos/opt/bitswap-conected-peers
ianopolous Sep 20, 2023
1b9331f
Tolerate errors in the bitswap dial to connected peers
ianopolous Sep 20, 2023
a8c5936
Make sure outgoing connections from any protocol are
ianopolous Sep 22, 2023
ff5346b
Merge pull request #57 from Peergos/fix/bitswap-to-connected
ianopolous Sep 23, 2023
40c0db4
Remove busy loop in new block provider
ianopolous Sep 28, 2023
a13f0c3
Log Infini filter ram size during construction
ianopolous Sep 28, 2023
3d00db7
match log-to-console used in Peergos
kevodwyer Sep 28, 2023
fa8cfd2
fix logging
kevodwyer Sep 28, 2023
61c955e
Update jvm-libp2p to remove DNSADDR logspam
ianopolous Sep 28, 2023
fb22bd1
Merge pull request #59 from Peergos/fix/dnsaddr-logspam
ianopolous Sep 28, 2023
b626c1e
Switch to log
ianopolous Sep 28, 2023
0da2235
change default infini filter false positive rate
ianopolous Sep 28, 2023
df0f6a4
Better log statement
ianopolous Sep 28, 2023
d63cea0
Add test for pinging between ed25519 and RSA nodes,
ianopolous Sep 29, 2023
8591d11
Make sure we start thread to publish our peerid + addresses to DHT!
ianopolous Oct 3, 2023
754e2af
Add identify init to ping test
ianopolous Oct 3, 2023
a66ccc5
Add new test for EmbeddedIpfs
ianopolous Oct 3, 2023
d43c363
EmbeddedIpfsTest now fails with upstream yamux enabled
ianopolous Oct 3, 2023
8a6aad5
Revert upstream yamux changes which break things
ianopolous Oct 3, 2023
b6090ec
Fix addresses we announce via Identify
ianopolous Oct 5, 2023
68d87ab
Merge pull request #61 from Peergos/fix/wildcard-addr-announce-identify
ianopolous Oct 5, 2023
28f829b
make datastore path absolute
kevodwyer Oct 6, 2023
a6bd870
WIP - add metadata store
kevodwyer Sep 29, 2023
06d68c0
add unit test
kevodwyer Oct 2, 2023
96241df
replace sqlite/postgres with H2
kevodwyer Oct 2, 2023
56478a3
rename classes to be consistent
kevodwyer Oct 2, 2023
76625fc
make h2 db path absolute
kevodwyer Oct 6, 2023
b46bc12
Make sure we always look up a node on the dht by the raw peerid
ianopolous Oct 7, 2023
edcf293
copy array response in getAddrs
kevodwyer Oct 10, 2023
1e74997
move RAMBlockMetadataStore to test package
kevodwyer Oct 10, 2023
7f37357
add check to extractMetadata
kevodwyer Oct 10, 2023
e69bea2
remove default method for getBlockMetadata
kevodwyer Oct 10, 2023
f5b8c0d
clean up interface
kevodwyer Oct 10, 2023
3c5d44c
Merge pull request #60 from Peergos/feat/add-metadatastore
ianopolous Oct 10, 2023
c1a6bfb
Make sure providing blockstore listing uses metadb
ianopolous Oct 10, 2023
a393b79
revert test changes
ianopolous Oct 10, 2023
5294258
Make {S3, CachingBlockMetadataStore}.refs only use metadb
ianopolous Oct 10, 2023
0f7a36c
Remove unneeded metadb arg to EmbeddedIpfs.build()
ianopolous Oct 10, 2023
c25ae08
Log duration of block provider runs
ianopolous Oct 10, 2023
6907cf6
revert test breakage
ianopolous Oct 11, 2023
f61bc2c
Make S3 gets check metadata store first
ianopolous Oct 11, 2023
a2fa00d
Bound address book size
ianopolous Oct 11, 2023
8ce02dd
Merge pull request #62 from Peergos/fix/bounded-addressbook
ianopolous Oct 11, 2023
ed40b60
Reduce provider logspam from failed dials
ianopolous Oct 11, 2023
5405aff
Reduce provider logspam from failed dials
ianopolous Oct 11, 2023
04600d1
Make providing blocks optional
ianopolous Oct 11, 2023
e323971
Merge pull request #63 from Peergos/feat/optional-providing
ianopolous Oct 11, 2023
e0d531a
Put the filtered blockstore on the outside
ianopolous Oct 12, 2023
94515fc
Actually we want type limited on the outside
ianopolous Oct 12, 2023
e289547
typo
ianopolous Oct 12, 2023
379f066
Tolerate exceptions in ipns publishing and resolving
ianopolous Oct 12, 2023
9188ef0
Add timeout in test
ianopolous Oct 13, 2023
2f46b21
Ignore flakey test
ianopolous Oct 13, 2023
6d07ca6
Log ipns publish times in benchmark
ianopolous Oct 13, 2023
b4db97b
Reduce impedance mismatch between MultiAddress and Multiaddr
ianopolous Oct 13, 2023
916b9f8
Parallelise IPNS put calls
ianopolous Oct 13, 2023
22c54f3
Limit size of RamProviderStore
ianopolous Oct 15, 2023
314467d
Log averages in IPNS benchmark
ianopolous Oct 15, 2023
39f12ba
Simplify kademlia lookup
ianopolous Oct 16, 2023
2a576b9
Store provider records in raw protobuf to avoid serialization
ianopolous Oct 16, 2023
b517de1
Don't error if we try to delete a block we don't have
ianopolous Oct 17, 2023
7658f32
Revert change to not error when deleting a block we don't have.
ianopolous Oct 17, 2023
c5c25c2
Tolerate an inconsistent metadatadb that claims we have a block we do…
ianopolous Oct 18, 2023
5257f0e
Log who sent us blocks we don't want
ianopolous Oct 18, 2023
1a08f6f
Block repeated invalid auth attempts in bitswap
ianopolous Oct 18, 2023
fd2f91b
Bitswap logging
ianopolous Oct 18, 2023
db85f25
Fix log statement
ianopolous Oct 18, 2023
95d05bc
Don't resend recently sent blocks to the same peer
ianopolous Oct 18, 2023
758495a
Don't resend recently sent wants to the same peer
ianopolous Oct 19, 2023
4a4ecf5
Separate kubo pin command out into different build step
ianopolous Oct 19, 2023
7dcb770
fix kubo path
ianopolous Oct 19, 2023
1aed084
Remove kademlia log spam from quic only nodes
ianopolous Oct 19, 2023
59cc061
Dial provider before kubo pin
ianopolous Oct 19, 2023
6d638c4
Update S3 CI install
ianopolous Oct 20, 2023
9ccfa59
Implement a download manager per peer set for bitswap
ianopolous Oct 20, 2023
2f4e892
Merge pull request #64 from Peergos/feat/bitswap-download-manager
ianopolous Oct 20, 2023
65490c6
pass through Cid Codec to buildCid method
kevodwyer Oct 20, 2023
a18626f
Merge pull request #65 from Peergos/fix/cache-cid-construction
ianopolous Oct 20, 2023
da03d07
Add prometheus metrics to S3 blockstore
kevodwyer Oct 24, 2023
13fd74b
Merge pull request #66 from Peergos/feat/s3-logging
ianopolous Oct 24, 2023
8e96b22
Make sure we block repeated invalid auth attempts early
ianopolous Oct 24, 2023
fb4dcb5
Expire old wants after 5 minutes
ianopolous Oct 24, 2023
068a001
Revert break to bitswap want generation
ianopolous Oct 24, 2023
34570b8
Commit blocks for bitswap mirror test and directly add to kubo
ianopolous Oct 25, 2023
afd2f12
Delete kubo pin file
ianopolous Oct 25, 2023
7f26b36
Merge pull request #67 from Peergos/fix/expire-old-wants
ianopolous Oct 25, 2023
a9170f5
Set version to 0.6.0
ianopolous Oct 25, 2023
0332dd4
Update version in pom
ianopolous Oct 25, 2023
d59dfb1
Add prometheus bandwidth metrics to bitswap and kademlia
ianopolous Oct 29, 2023
a2a7fee
Merge pull request #69 from Peergos/feat/bandwidth-metrics
ianopolous Oct 30, 2023
1e808bd
update s3 prometheus metric names (#68)
kevodwyer Oct 30, 2023
434453a
add label to Counter + Histogram metrics (#70)
kevodwyer Oct 30, 2023
463a3f7
Allow bitswap protocol id and max block size to be varied
ianopolous Oct 30, 2023
560afc9
Block aggressive bitswap peers (kubo)
ianopolous Oct 30, 2023
7e8c1c7
Don't ban peers that send us a block or have we requested
ianopolous Oct 30, 2023
6e91079
Close aggressive peer streams immediately
ianopolous Oct 31, 2023
cdcbbb3
Merge pull request #71 from Peergos/feat/block-aggressive-bitswap-peers
ianopolous Oct 31, 2023
e5bbd26
Log blocking peers, add bitswap ban test
ianopolous Oct 31, 2023
9d88435
Don't log on blocked bitswap connections
ianopolous Oct 31, 2023
f670f05
Add more kademlia metrics to show outbound traffic per api call
ianopolous Nov 3, 2023
22cc9be
Merge pull request #72 from Peergos/feat-kademlia-metrics
ianopolous Nov 3, 2023
0993997
Don't tell peers about themselves in kademlia
ianopolous Nov 4, 2023
9241b64
add logo assets
ianopolous Nov 5, 2023
9ef2f3b
add logo
ianopolous Nov 5, 2023
14d8611
initial attempt
kevodwyer Oct 26, 2023
adfaa3c
add ping interop test
kevodwyer Oct 31, 2023
70aeeda
update pom for kt
kevodwyer Oct 31, 2023
de1eb64
clean-up
kevodwyer Nov 6, 2023
f917cc4
Merge pull request #73 from Peergos/feat/protocol-perf
ianopolous Nov 6, 2023
eae3b66
Don't retrieve block for authing bitswap requests
ianopolous Nov 8, 2023
917440e
Merge pull request #74 from Peergos/feat/auth-before-block-get-in-bit…
ianopolous Nov 8, 2023
1d3b443
populate metadataDB if empty
kevodwyer Nov 10, 2023
717dbec
Merge pull request #75 from Peergos/fix/populate-metadatadb
ianopolous Nov 10, 2023
4df3a8c
Allow directly listing the blockstore
ianopolous Nov 10, 2023
5ed6a97
Merge pull request #76 from Peergos/fix/allow-directly-listing-blocks…
ianopolous Nov 10, 2023
91c71d1
Allow to not update metadata db
ianopolous Nov 10, 2023
ccec664
Limit block types in TypeLimitedBlockstore.refs()
ianopolous Nov 11, 2023
cd69f45
Merge pull request #77 from Peergos/fix/resilient-blockstore-refs
ianopolous Nov 13, 2023
6e0faf9
Version v0.7.0
ianopolous Nov 13, 2023
78528a7
update pom version
ianopolous Nov 13, 2023
0205f45
use alternate method to list network interfaces
kevodwyer Nov 20, 2023
210237f
Merge pull request #78 from Peergos/fix/android-compatibility
ianopolous Nov 20, 2023
d63b73f
Update README.md add usage
ianopolous Nov 23, 2023
8d13045
Update README.md
ianopolous Nov 23, 2023
4873bec
Update README.md
ianopolous Nov 23, 2023
4d02ba6
Update README.md
ianopolous Nov 23, 2023
f2a243c
add maven build command
kevodwyer Nov 24, 2023
7c46cfc
Update jvm-libp2p to include yamux refactor
ianopolous Nov 25, 2023
77b9280
Merge pull request #79 from Peergos/update/jvm-libp2p-0.16.3
ianopolous Nov 26, 2023
217e2bf
~halve ram usage of RamAddressBook and kademlia responses
ianopolous Nov 28, 2023
cf0de39
Merge pull request #80 from Peergos/opt/reduce-addr-size
ianopolous Nov 28, 2023
2316880
Release v0.7.1
ianopolous Nov 29, 2023
9617538
Don't return peers with no addresses in kademlia
ianopolous Dec 4, 2023
ea04d0c
Also filter legacy IPFS components of multiaddrs
ianopolous Dec 4, 2023
6646db7
Don't add incoming kademlia peers to ruting table!
ianopolous Dec 4, 2023
cbee77d
Merge pull request #81 from Peergos/fix/kademlia-routing-incoming-con…
ianopolous Dec 5, 2023
b70d043
Fix sense of dialing incoming connections for kademlia
ianopolous Dec 5, 2023
8b6dd6f
Don't identify incoming connections for peers already in
ianopolous Dec 5, 2023
6ea7add
Fix prev commit
ianopolous Dec 5, 2023
bbf6ad6
Only return public addresses in kademlia queries
ianopolous Dec 6, 2023
9cd535d
Merge pull request #82 from Peergos/opt/public-addresses-in-kademlia-…
ianopolous Dec 6, 2023
aec72ef
Generalise ipns publishing and resolution to arbitrary byte[]
ianopolous Dec 11, 2023
71be5c4
Improve test logging for ipns benchmark
ianopolous Dec 11, 2023
f30a124
Make ipns publishing 2X faster (45s down to 15s)
ianopolous Dec 11, 2023
90a708b
Generalise kademlia.closerPeers to arbitrary keys
ianopolous Dec 12, 2023
6117454
Reduce average IPNS publish time to ~6s
ianopolous Dec 13, 2023
e1ccbfd
Improve routing table bootstrap parallelism
ianopolous Dec 13, 2023
c8bef93
Improve error message
ianopolous Dec 13, 2023
8b86b55
Improve publish quality
ianopolous Dec 13, 2023
4bba117
Make the hours TTL of an IPNS record part of the API
ianopolous Dec 13, 2023
c1f2a46
Fix concurrent modification exception in IPNS publish
ianopolous Dec 13, 2023
457c7a6
Generalise IPNS api to allow publishing pre-signed values
ianopolous Dec 13, 2023
f86c885
Test updating an IPNS value with the same expiry
ianopolous Dec 13, 2023
143c845
Fix IPNS publish race condition
ianopolous Dec 13, 2023
e4cfae8
Test that sequence number has higher precedence than expiry
ianopolous Dec 14, 2023
6d7c107
Guard against overwriting newer IPNS records
ianopolous Dec 14, 2023
119bc18
Make minResults a parameter of resolveValue
ianopolous Dec 14, 2023
21243bf
Merge pull request #83 from Peergos/opt/kademlia-ipns
ianopolous Dec 14, 2023
03eaf3a
Return number of nodes IPNS is published to
ianopolous Dec 18, 2023
3b06e93
Change min ipns publishes to 30
ianopolous Dec 19, 2023
04e2723
Write utility for bulk publishing and resolving of ipns
ianopolous Dec 20, 2023
638589f
Make ipns publisher print results incrementally
ianopolous Dec 21, 2023
d4c7aea
Improve ipns publisher logging
ianopolous Dec 21, 2023
d73911b
Print which record failed to resolve in ipns publisher
ianopolous Dec 22, 2023
aa53118
Republish after each resolve in IpnsPublisher
ianopolous Dec 23, 2023
b6a16b7
Republish after each resolve in IpnsPublisher
ianopolous Dec 27, 2023
e6f3b45
Use a different peer to publish and reoslve in IpnsPublisher
ianopolous Dec 27, 2023
f753879
Try and remove joins in kademlia
ianopolous Dec 27, 2023
58cf06d
typo
ianopolous Dec 29, 2023
d7c3bc9
Merge pull request #85 from Peergos/opt/kademlia-ipns-resilient
ianopolous Dec 29, 2023
60a4a11
Only return our peerid (and no other peers) for find_node(us)
ianopolous Feb 7, 2024
020f06c
Add optional bitswap protocol id to EmbeddedIpfs.build()
ianopolous Feb 17, 2024
dc12c7a
bump version to v0.7.2
ianopolous Feb 17, 2024
a3c0e64
make bitswap max message size configurable
ianopolous Feb 26, 2024
189cd7a
fix calls to embeddedipfs.build
ianopolous Feb 26, 2024
3411741
version v0.7.4
ianopolous Feb 26, 2024
4152847
fix test
ianopolous Feb 26, 2024
dff5c21
ignore non unit test
ianopolous Feb 26, 2024
392d590
correctly handle max block size in api
ianopolous Feb 26, 2024
91afed8
Fix tests
ianopolous Feb 26, 2024
dca07ba
Increase max http body size
ianopolous Feb 27, 2024
503edf8
Save ipns records to file at beginning in ipns publisher
ianopolous Mar 1, 2024
49e55b3
log publish progress in ipns publisher
ianopolous Mar 1, 2024
df7304d
Further parallelise ipns republisher
ianopolous Mar 1, 2024
0cbf479
Upgrade nabu version in docker file
Mar 2, 2024
c86b27d
Merge pull request #86 from pedropietro/master
ianopolous Mar 2, 2024
66527d9
Fix hangs in ipns republisher
ianopolous Mar 3, 2024
7bc1975
Revert to using separate publisher and resolver in IpnsPublisher
ianopolous Mar 3, 2024
e7452b8
Stop kademlia bootstrap thread when node is stopped
ianopolous Mar 13, 2024
6201d72
Add new API calls for getting ipns records, and bulk block deletion
ianopolous Mar 21, 2024
0834816
bump version to v0.7.5
ianopolous Mar 22, 2024
50c8fd0
Merge pull request #87 from Peergos/feat/new-api-calls
ianopolous Mar 22, 2024
85bd5b9
Update h2 version to support native-image
ianopolous Mar 27, 2024
6a54b41
bump version to v0.7.6
ianopolous Mar 27, 2024
c92a1fc
Update netty-codec-http2
ianopolous Mar 27, 2024
774d01c
Solve h2 db version conflict
ianopolous Mar 28, 2024
6c4b843
Merge pull request #88 from Peergos/update/h2
ianopolous Mar 28, 2024
79b9f2a
Update netty via jvm-libp2p
ianopolous Mar 28, 2024
d99451b
Support resolving rsa ipns mappings
ianopolous Mar 28, 2024
b4b3c96
Merge pull request #89 from Peergos/feat/rsa-ipns
ianopolous Mar 28, 2024
96d35a9
Fix peer lookup reliability in Kademlia
ianopolous Apr 3, 2024
e5ea311
Add bulk get links call which can be used to efficiently mirror a who…
ianopolous Apr 11, 2024
4a43315
Fix mirroring raw blocks via bulk stat api
ianopolous Apr 12, 2024
de9479b
Don't return identity hash links
ianopolous Apr 12, 2024
24eba3d
Add failing bitswap test
ianopolous Apr 12, 2024
3df14f4
Fix receiving > 2MiB of blocks in a bitswap stream
ianopolous Apr 17, 2024
bcd28ff
Bump version
ianopolous Apr 17, 2024
79663fc
Merge pull request #90 from Peergos/feat/bulk-mirror
ianopolous Apr 17, 2024
3f197e5
Bump version in pom
ianopolous Apr 17, 2024
d426bc6
Log up to 2 cids we are requesting on bitswap
ianopolous Apr 19, 2024
04e5ca5
Do not try and dial DNS multiaddr in Kademlia which is a privacy leak
ianopolous Apr 19, 2024
3f7eb42
Remove bouncy castle signatures from jar
ianopolous Apr 29, 2024
1da5bbf
Bump version v0.7.8
ianopolous Apr 29, 2024
12aef00
Implement MDNS based discovery for local networks
ianopolous May 2, 2024
fb12729
Update readme
ianopolous May 2, 2024
75508fc
Merge pull request #92 from Peergos/feat/mdns
ianopolous May 2, 2024
21d4384
Make sure MDNS uses all network interfaces
ianopolous May 2, 2024
138569e
gh actions v4
ianopolous May 3, 2024
1fa1d45
Log no local peers in kademlia table
ianopolous May 8, 2024
cf4eaca
v0.7.9 Remove shade plugin, kotlin and recently added dependency plugin
ianopolous May 8, 2024
e47a8d5
Make sure we add local addresses of nodes discovered via mdns
ianopolous May 15, 2024
0bc8bbd
Fix mdns with ipv6 wildcard listen address
ianopolous May 20, 2024
7cce49c
Fix mdns with ipv6 wildcard listen address
ianopolous May 22, 2024
1e8e65d
Allow adding explicit announce addresses (e.g. an external NAT address)
ianopolous Sep 16, 2024
b0adef5
Linting
ianopolous Sep 16, 2024
11fda4d
Merge pull request #97 from Peergos/feat/configureable-announce-addre…
ianopolous Sep 16, 2024
adefb10
v0.8.0
ianopolous Sep 16, 2024
b86d804
Guard against false positive block attacks on filtered blockstore
ianopolous Sep 25, 2024
2c53611
Merge pull request #99 from Peergos/fix/false-positive-attacks
ianopolous Sep 26, 2024
df1324b
Make sure we close connections in kademlia after queries
ianopolous Sep 28, 2024
07e220c
Merge pull request #100 from Peergos/fix/kademlia-connection-leaks
ianopolous Sep 29, 2024
7c67445
Close entire connection,not just stream in kademlia.
ianopolous Sep 30, 2024
89f4ac5
Close incoming kademlia connections too!
ianopolous Sep 30, 2024
1652693
Only close kademlia streams
ianopolous Sep 30, 2024
eb35b5a
Tolerate multiaddrs we can't parse in handling kademlia responses.
ianopolous Sep 30, 2024
c359692
Tolerate cid codecs we don't understand in bitswap queries
ianopolous Sep 30, 2024
d9018ae
Fix FilteredBlockstore.has (I'm a clown)
ianopolous Sep 30, 2024
8fb1d05
Fix p2p http memory leak
ianopolous Oct 7, 2024
0290ddd
More p2p http ref count fixes
ianopolous Oct 7, 2024
c3274ed
Merge pull request #101 from Peergos/fix/p2p-http-memory-leak
ianopolous Oct 7, 2024
1e59411
Merge upstream
Zurcusa Dec 19, 2024
2509f28
Merge remote-tracking branch 'upstream/master'
Zurcusa Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/local-s3
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Currently implemented properties:
* bloom/[infini filtered](https://www.rasmuspagh.net/papers/infinifilter.pdf) blockstore
* connect bitswap to kademlia for discovery, with a faster version with supplied peerids
* configurable cid publishing function
* mDNS peer discovery
* Android compatibility
* example serverless chat app using p2p http proxy for Android
* interop tests with other implementations - https://github.com/libp2p/test-plans/
Expand All @@ -37,7 +38,6 @@ In the future we will add:
* circuit-relay
* dcutr (direct connection upgrade through relay)
* AutoRelay
* mDNS peer discovery
* example iOS chat app
* QUIC transport (and encryption and multiplexing)

Expand Down
103 changes: 45 additions & 58 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.peergos</groupId>
<artifactId>nabu</artifactId>
<version>v0.7.9</version>
<version>v0.8.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -16,7 +16,7 @@
<version.hamcrest>2.2</version.hamcrest>
<version.multiaddr>v1.4.12</version.multiaddr>
<version.kubo-http>v1.4.4</version.kubo-http>
<kotlin.version>1.9.10</kotlin.version>
<kotlin.version>2.1.0</kotlin.version>
</properties>

<repositories>
Expand All @@ -40,96 +40,83 @@

<build>
<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.6</version>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>

<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>

<executions>
<execution>
<id>unpack-dependencies</id>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
<goal>single</goal>
</goals>
<configuration>
<excludeScope>system</excludeScope>
<excludes>META-INF/*.SF,META-INF/*.DSA,META-INF/*.RSA</excludes>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sourceDirs>
<source>src/main/java</source>
<source>target/generated-sources/annotations</source>
</sourceDirs>
</configuration>
</execution>
<execution>
<id>testCompile</id>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
<configuration>
<jvmTarget>${maven.compiler.target}</jvmTarget>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>

<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>

<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>single</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<id>testCompile</id>
<phase>test-compile</phase>
<goals>
<goal>shade</goal>
<goal>testCompile</goal>
</goals>
<configuration>
<minimizeJar>false</minimizeJar>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>default-compile</id>
<phase>none</phase>
</execution>
<execution>
<id>default-testCompile</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
Expand All @@ -139,7 +126,7 @@
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
Expand All @@ -162,7 +149,7 @@
<dependency>
<groupId>com.github.peergos</groupId>
<artifactId>jvm-libp2p</artifactId>
<version>0.16.6</version>
<version>0.18.0-ipv6-mdns-wildcard</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
Loading
Loading