Skip to content

Commit 8f3f176

Browse files
authored
add license to POM
Currently, the License maven plugin (when run on projects which use this as a dependency) reports otj-pg-embedded as "unknown license" (and then people have to look manually what happens there). Adding a `<licenses>` section to the pom.xml helps users to stay compliant. Feel free to suggest a different location in the POM, I can update this PR.
1 parent 8774709 commit 8f3f176

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@
3939
<basepom.test.timeout>1800</basepom.test.timeout>
4040
</properties>
4141

42+
<licenses>
43+
<license>
44+
<name>Apache License, Version 2.0</name>
45+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
46+
<distribution>repo</distribution>
47+
<comments>A business-friendly OSS license</comments>
48+
</license>
49+
</licenses>
50+
4251
<build>
4352
<plugins>
4453
<plugin>

0 commit comments

Comments
 (0)