Skip to content

Commit

Permalink
Enable override attribute on Netty dependencies
Browse files Browse the repository at this point in the history
In order to exclude Netty 4.1 outdated builtin metadata.

Closes oracle#9
  • Loading branch information
sdeleuze committed Sep 12, 2022
1 parent bb36403 commit a906b03
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 2 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ It should contain the following entries:
]
```
`metadata-version` key specifies the subdirectory where metadata for tested versions "lives".
`override` flag allows to express the intent to exclude outdated builtin metadata when set to `true`.
So, the metadata for `org.example:library:0.0.1` and `org.example:library:0.0.2` is located at `metadata/org.example/library/0.0.1`.

Make sure that each supported version is listed in `tested-version`, as that value is used in build tools to match metadata to a specific library.
Expand Down
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-buffer/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
11 changes: 11 additions & 0 deletions metadata/io.netty/netty-buffer/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-buffer",
"tested-versions": [
"4.1.80.Final"
]
}
]
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-codec-http/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
11 changes: 11 additions & 0 deletions metadata/io.netty/netty-codec-http/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-codec-http",
"tested-versions": [
"4.1.80.Final"
]
}
]
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-codec-http2/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
11 changes: 11 additions & 0 deletions metadata/io.netty/netty-codec-http2/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-codec-http2",
"tested-versions": [
"4.1.80.Final"
]
}
]
1 change: 1 addition & 0 deletions metadata/io.netty/netty-common/index.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-common",
"tested-versions": [
Expand Down
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-handler/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
11 changes: 11 additions & 0 deletions metadata/io.netty/netty-handler/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-handler",
"tested-versions": [
"4.1.80.Final"
]
}
]
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-resolver-dns/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
11 changes: 11 additions & 0 deletions metadata/io.netty/netty-resolver-dns/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"latest": true,
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-resolver-dns",
"tested-versions": [
"4.1.80.Final"
]
}
]
2 changes: 2 additions & 0 deletions metadata/io.netty/netty-transport/4.1.80.Final/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]
6 changes: 4 additions & 2 deletions metadata/io.netty/netty-transport/index.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[
{
"latest": true,
"metadata-version": "4.1.76.Final",
"override": true,
"metadata-version": "4.1.80.Final",
"module": "io.netty:netty-transport",
"tested-versions": [
"4.1.76.Final"
"4.1.76.Final",
"4.1.80.Final"
]
}
]

0 comments on commit a906b03

Please sign in to comment.