diff options
-rw-r--r-- | pom.xml | 32 | ||||
-rw-r--r-- | versions-ruleset.xml | 18 |
2 files changed, 47 insertions, 3 deletions
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <groupId>com.github.markozajc</groupId> | 4 | <groupId>com.github.markozajc</groupId> |
5 | <artifactId>extended-functions</artifactId> | 5 | <artifactId>extended-functions</artifactId> |
6 | <version>1.0</version> | 6 | <version>1.1</version> |
7 | 7 | ||
8 | <name>Extended Functions</name> | 8 | <name>Extended Functions</name> |
9 | <description>Variants of consumers, functions, suppliers, and runnables that are missing from the stdlib</description> | 9 | <description>Variants of consumers, functions, suppliers, and runnables that are missing from the stdlib</description> |
@@ -39,6 +39,16 @@ | |||
39 | <maven.compiler.target>11</maven.compiler.target> | 39 | <maven.compiler.target>11</maven.compiler.target> |
40 | </properties> | 40 | </properties> |
41 | 41 | ||
42 | <dependencies> | ||
43 | <dependency> | ||
44 | <groupId>com.google.code.findbugs</groupId> | ||
45 | <artifactId>jsr305</artifactId> | ||
46 | <version>3.0.2</version> | ||
47 | <scope>provided</scope> | ||
48 | <optional>true</optional> | ||
49 | </dependency> | ||
50 | </dependencies> | ||
51 | |||
42 | <build> | 52 | <build> |
43 | <plugins> | 53 | <plugins> |
44 | <!-- Javadoc --> | 54 | <!-- Javadoc --> |
@@ -63,6 +73,9 @@ | |||
63 | <groupId>org.codehaus.mojo</groupId> | 73 | <groupId>org.codehaus.mojo</groupId> |
64 | <artifactId>versions-maven-plugin</artifactId> | 74 | <artifactId>versions-maven-plugin</artifactId> |
65 | <version>2.11.0</version> | 75 | <version>2.11.0</version> |
76 | <configuration> | ||
77 | <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri> | ||
78 | </configuration> | ||
66 | </plugin> | 79 | </plugin> |
67 | 80 | ||
68 | <!-- Version enforcer --> | 81 | <!-- Version enforcer --> |
@@ -102,9 +115,22 @@ | |||
102 | 115 | ||
103 | <plugin> | 116 | <plugin> |
104 | <groupId>org.apache.maven.plugins</groupId> | 117 | <groupId>org.apache.maven.plugins</groupId> |
105 | <artifactId>maven-resources-plugin</artifactId> | 118 | <artifactId>maven-jar-plugin</artifactId> |
106 | <version>3.2.0</version> | 119 | <version>3.2.2</version> |
107 | </plugin> | 120 | </plugin> |
121 | |||
122 | <plugin> | ||
123 | <groupId>org.apache.maven.plugins</groupId> | ||
124 | <artifactId>maven-deploy-plugin</artifactId> | ||
125 | <version>2.8.2</version> | ||
126 | </plugin> | ||
127 | |||
128 | <plugin> | ||
129 | <groupId>org.apache.maven.plugins</groupId> | ||
130 | <artifactId>maven-install-plugin</artifactId> | ||
131 | <version>2.5.2</version> | ||
132 | </plugin> | ||
133 | |||
108 | </plugins> | 134 | </plugins> |
109 | </build> | 135 | </build> |
110 | 136 | ||
diff --git a/versions-ruleset.xml b/versions-ruleset.xml new file mode 100644 index 0000000..85e109d --- /dev/null +++ b/versions-ruleset.xml | |||
@@ -0,0 +1,18 @@ | |||
1 | <ruleset | ||
2 | xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" | ||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | comparisonMethod="maven" | ||
5 | xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 https://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd"> | ||
6 | <rules> | ||
7 | <rule groupId="*"> | ||
8 | <ignoreVersions> | ||
9 | <ignoreVersion type="regex">.*(-|\.)(beta|alpha|RC|M)[\.-]?\d+$</ignoreVersion> | ||
10 | </ignoreVersions> | ||
11 | </rule> | ||
12 | <rule groupId="commons-net"> | ||
13 | <ignoreVersions> | ||
14 | <ignoreVersion type="regex">^2003\d{4}.\d{6}$</ignoreVersion> | ||
15 | </ignoreVersions> | ||
16 | </rule> | ||
17 | </rules> | ||
18 | </ruleset> | ||