|
114 | 114 | <groupId>org.apache.maven.plugins</groupId> |
115 | 115 | <artifactId>maven-checkstyle-plugin</artifactId> |
116 | 116 | </plugin> |
| 117 | + <plugin> |
| 118 | + <groupId>org.codehaus.mojo</groupId> |
| 119 | + <artifactId>license-maven-plugin</artifactId> |
| 120 | + <executions> |
| 121 | + <execution> |
| 122 | + <id>add-third-party</id> |
| 123 | + <goals> |
| 124 | + <goal>add-third-party</goal> |
| 125 | + </goals> |
| 126 | + <phase>generate-resources</phase> |
| 127 | + <configuration> |
| 128 | + <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory> |
| 129 | + <force>true</force> |
| 130 | + <includedLicenses> |
| 131 | + <!-- |
| 132 | + when available, use SPDX license identifiers listed in https://spdx.org/licenses |
| 133 | + --> |
| 134 | + <includedLicense>Apache-2.0</includedLicense> |
| 135 | + <includedLicense>Bouncy Castle Licence</includedLicense> |
| 136 | + <includedLicense>GPL-2.0-with-classpath-exception</includedLicense> |
| 137 | + <includedLicense>MIT</includedLicense> |
| 138 | + <includedLicense>LGPL-2.1</includedLicense> |
| 139 | + </includedLicenses> |
| 140 | + </configuration> |
| 141 | + </execution> |
| 142 | + </executions> |
| 143 | + </plugin> |
117 | 144 | </plugins> |
118 | 145 | <pluginManagement> |
119 | 146 | <plugins> |
|
180 | 207 | </filters> |
181 | 208 | </configuration> |
182 | 209 | </plugin> |
| 210 | + <plugin> |
| 211 | + <groupId>org.codehaus.mojo</groupId> |
| 212 | + <artifactId>license-maven-plugin</artifactId> |
| 213 | + <version>2.7.1</version> |
| 214 | + <configuration> |
| 215 | + <failOnBlacklist>true</failOnBlacklist> |
| 216 | + <failOnMissing>true</failOnMissing> |
| 217 | + <licenseMerges> |
| 218 | + <licenseMerge> |
| 219 | + GPL-2.0-with-classpath-exception | |
| 220 | + GPLv2+CE | |
| 221 | + GNU General Public License, version 2, with the Classpath Exception |
| 222 | + </licenseMerge> |
| 223 | + <licenseMerge> |
| 224 | + MIT | |
| 225 | + MIT License |
| 226 | + </licenseMerge> |
| 227 | + <licenseMerge> |
| 228 | + LGPL-2.1 | |
| 229 | + GNU Lesser General Public License (LGPL), Version 2.1 | |
| 230 | + Lesser General Public License (LGPL) | |
| 231 | + GNU Lesser General Public License, version 2.1 |
| 232 | + </licenseMerge> |
| 233 | + </licenseMerges> |
| 234 | + <excludedScopes>test,provided</excludedScopes> |
| 235 | + </configuration> |
| 236 | + </plugin> |
183 | 237 | </plugins> |
184 | 238 | </pluginManagement> |
185 | 239 | </build> |
|
0 commit comments