added file import; updated docs and deps; v1.4.x
This commit is contained in:
8
examples/ban-config/ban-config.xml
Normal file
8
examples/ban-config/ban-config.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<includes>
|
||||
<!-- CVE-2019-17571 -->
|
||||
<artifact>org.apache.logging.log4j::[,2.17.1)</artifact>
|
||||
<artifact>log4j:log4j</artifact>
|
||||
</includes>
|
||||
</configuration>
|
39
examples/ban-config/pom.xml
Normal file
39
examples/ban-config/pom.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>ban-config</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<!-- A monthly cadence is reasonable at most organizations -->
|
||||
<version>2025.03</version>
|
||||
|
||||
<name>Banned Artifact Configuration</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>ban-maven-plugin</artifactId>
|
||||
<version>1.3.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>purge-maven-repo</id>
|
||||
<phase>clean</phase>
|
||||
<goals><goal>purge-repo</goal></goals>
|
||||
<configuration>
|
||||
<import>
|
||||
<file>ban-config.xml</file>
|
||||
</import>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
31
examples/governed-artifact/pom.xml
Normal file
31
examples/governed-artifact/pom.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>governed-artifact</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Any Governed Artifact</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>ban-maven-plugin</artifactId>
|
||||
<version>1.3.6</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<import>
|
||||
<artifact>com.inteligr8:ban-config:[2025.03,)</artifact>
|
||||
</import>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
Reference in New Issue
Block a user