Skip to content

Commit c73a308

Browse files
authored
Add explicit license information to packages' POM file (#413)
Having the license information in the POM file allows it to be self-contained. A glance to it is enough to determine licensing. This is especially important for private artifact mirrors, that often do not allow closed-source, source-available or hard-copyleft libraries to be used. Without the license information on the POM file, some of these repositories will deny mirroring this library.
1 parent faea958 commit c73a308

File tree

7 files changed

+56
-0
lines changed

7 files changed

+56
-0
lines changed

json-core/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
<name>avaje json core</name>
1414
<description>Core JSON Streaming and Generation API</description>
1515

16+
<licenses>
17+
<license>
18+
<name>Apache-2.0</name>
19+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
1624
<dependencies>
1725
<dependency>
1826
<groupId>io.helidon.webserver</groupId>

json-node/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
<name>avaje json node</name>
1414
<description>JSON Node API for avaje-json</description>
1515

16+
<licenses>
17+
<license>
18+
<name>Apache-2.0</name>
19+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
1624
<dependencies>
1725

1826
<dependency>

jsonb-generator/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
<avaje.prisms.version>1.43</avaje.prisms.version>
1515
</properties>
1616

17+
<licenses>
18+
<license>
19+
<name>Apache-2.0</name>
20+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
1725
<dependencies>
1826

1927
<dependency>

jsonb-inject-plugin/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
<name>avaje jsonb inject plugin</name>
1414
<description>avaje-inject plugin for avaje-jsonb</description>
1515

16+
<licenses>
17+
<license>
18+
<name>Apache-2.0</name>
19+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
1624
<dependencies>
1725

1826
<dependency>

jsonb-jackson/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
<name>avaje jsonb jackson</name>
1212
<description>jackson adapter for avaje-jsonb</description>
1313

14+
<licenses>
15+
<license>
16+
<name>Apache-2.0</name>
17+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
<distribution>repo</distribution>
19+
</license>
20+
</licenses>
21+
1422
<dependencies>
1523

1624
<dependency>

jsonb-spring-adapter/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
<name>avaje jsonb spring adapter</name>
1414
<description>springframework adapter for avaje-jsonb</description>
1515

16+
<licenses>
17+
<license>
18+
<name>Apache-2.0</name>
19+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
1624
<dependencyManagement>
1725
<dependencies>
1826
<dependency>

jsonb/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
<name>avaje jsonb</name>
1212
<description>JSON Streaming Generation and data binding library using source code generation</description>
1313

14+
<licenses>
15+
<license>
16+
<name>Apache-2.0</name>
17+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
18+
<distribution>repo</distribution>
19+
</license>
20+
</licenses>
21+
1422
<dependencies>
1523

1624
<dependency>

0 commit comments

Comments
 (0)