Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>directory-maven-plugin</artifactId>
- <version>0.3.1</version>
- <executions>
- <execution>
- <id>license-directory</id>
- <phase>initialize</phase>
- <goals>
- <goal>directory-of</goal>
- </goals>
- <configuration>
- <property>license.directory</property>
- <project>
- <groupId>com.scheidtbachmann.shared.audit</groupId>
- <artifactId>audit</artifactId>
- </project>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>se.ayoy.maven-plugins</groupId>
- <artifactId>ayoy-license-verifier-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>license-check</id>
- <phase>initialize</phase>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <verbose>true</verbose>
- <requireAllValid>true</requireAllValid>
- <failOnMissing>false</failOnMissing>
- <failOnWarning>true</failOnWarning>
- <excludedScopes>
- <excludedScope>provided</excludedScope>
- <excludedScope>test</excludedScope>
- </excludedScopes>
- <licenseFile>${license.directory}/config/licenses.xml</licenseFile>
- <excludedMissingLicensesFile>${license.directory}/config/allowedMissingLicense.xml</excludedMissingLicensesFile>
- </configuration>
- </plugin>
Add Comment
Please, Sign In to add comment