Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
1a0ec95744 | |||
fa4f182cb4 | |||
5307d7fbde | |||
0b6125becb | |||
0d38e8fc1e | |||
a3725e62b7 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1e1f28469f29d439a976422b34cbe5457bc484bef35e5ecff1046388fdc98144
|
|
||||||
size 795394
|
|
3
enforcer-3.6.1-source-release.zip
Normal file
3
enforcer-3.6.1-source-release.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c7006a225e27845a079d895f3dcbee8170755fc8ac8f86064b41f84cb8ffac19
|
||||||
|
size 822613
|
@@ -1,3 +1,74 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 22 07:11:10 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to version 3.6.1
|
||||||
|
* New features and improvements
|
||||||
|
+ Improve performance of transitive dependency checks
|
||||||
|
* Bug Fixes
|
||||||
|
+ Fix NPE when a classifier part is specified in
|
||||||
|
bannedDependencies
|
||||||
|
* Documentation updates
|
||||||
|
+ Move contributing information into README
|
||||||
|
+ Rewrite CONTRIBUTING.md to use the Github issue tracker
|
||||||
|
instead of JIRA
|
||||||
|
* Maintenance
|
||||||
|
+ Remove unused javax.annotations dependency
|
||||||
|
+ Remove unused methods
|
||||||
|
+ Remove the from parameter names
|
||||||
|
+ Fix a grab bag of typos and minor grammar errors
|
||||||
|
+ remove unneeded contains check as add already does that
|
||||||
|
- Update to version 3.6.0
|
||||||
|
* New features and improvements
|
||||||
|
+ Warning about old enforcer api in rule implementation
|
||||||
|
+ Introduce ruleName for rules configuration
|
||||||
|
+ Improve performance of BannedPlugins and RequireReleaseDeps
|
||||||
|
+ Enforce size bounds recursively on directory content
|
||||||
|
+ Improve the performance of BannedDependencies
|
||||||
|
+ MENFORCER-516: Use rule configuration in POM when executed
|
||||||
|
from CLI
|
||||||
|
+ MENFORCER-508: Add option to enforce same versions among Maven
|
||||||
|
modules
|
||||||
|
+ MENFORCER-507: Add xsltLocation parameter to ExternalRules
|
||||||
|
* Bug Fixes
|
||||||
|
+ RequireSameVersions rule: consider entries in <plugins> when
|
||||||
|
analyzing build- and report-plugins
|
||||||
|
+ [MENFORCER-495] - Remove "JAVA_HOME" from rule violation
|
||||||
|
message
|
||||||
|
* Documentation updates
|
||||||
|
+ Improve example of custom rule
|
||||||
|
+ Make documentation explicit about java versions for custom
|
||||||
|
rules
|
||||||
|
+ MNGSITE-529: Rename "Goals" to "Plugin Documentation"
|
||||||
|
+ MENFORCER-335: Update dependencyConvergence.apt.vm
|
||||||
|
+ MENFORCER-511: Match start-tag to end-tag
|
||||||
|
+ MENFORCER-505: fix documentation for
|
||||||
|
requireMatchingCoordinates
|
||||||
|
* Maintenance
|
||||||
|
+ Update site descriptor to 2.0.0
|
||||||
|
+ Use constant 3.6.3 in prerequisites/maven as minimal Maven
|
||||||
|
version
|
||||||
|
+ Enable Github Issues
|
||||||
|
+ Remove unused collections
|
||||||
|
+ Eliminate some string operations
|
||||||
|
+ Use cached default charset and update URL fragment
|
||||||
|
+ Add GitHub Automation actions
|
||||||
|
+ A grabbag of small simplifications found by IntelliJ
|
||||||
|
* Build
|
||||||
|
+ Enable build by Maven 4 on GitHub
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 09:27:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Update to version 3.5.0
|
||||||
|
* Bug
|
||||||
|
+ MENFORCER-503: requireOS cause NPE with Maven 3.9.7
|
||||||
|
* New Feature
|
||||||
|
+ MENFORCER-500: New rule: Maven coordinates must match pattern
|
||||||
|
* Improvement
|
||||||
|
+ MENFORCER-490: Properly declare dependencies
|
||||||
|
+ MENFORCER-494: Allow banning dynamic versions before computing
|
||||||
|
the final dependency tree
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 27 11:39:13 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
Wed Sep 27 11:39:13 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package maven-enforcer
|
# spec file for package maven-enforcer
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: maven-enforcer
|
Name: maven-enforcer
|
||||||
Version: 3.4.1
|
Version: 3.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A build rule execution framework
|
Summary: A build rule execution framework
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -32,17 +32,24 @@ BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
|||||||
BuildRequires: mvn(commons-codec:commons-codec)
|
BuildRequires: mvn(commons-codec:commons-codec)
|
||||||
BuildRequires: mvn(commons-io:commons-io)
|
BuildRequires: mvn(commons-io:commons-io)
|
||||||
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
||||||
|
BuildRequires: mvn(javax.inject:javax.inject)
|
||||||
|
BuildRequires: mvn(org.apache-extras.beanshell:bsh)
|
||||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.resolver:maven-resolver-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven.resolver:maven-resolver-util)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-core)
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-model-builder)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||||
BuildRequires: mvn(org.beanshell:bsh)
|
BuildRequires: mvn(org.apache.maven:maven-settings)
|
||||||
|
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
BuildRequires: mvn(org.eclipse.aether:aether-api)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-xml)
|
||||||
BuildRequires: mvn(org.eclipse.aether:aether-util)
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
||||||
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
||||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -95,12 +102,6 @@ pom.xml, but you can enforce a set of rules.
|
|||||||
|
|
||||||
find -name '*.java' -exec sed -i 's/\r//' {} +
|
find -name '*.java' -exec sed -i 's/\r//' {} +
|
||||||
|
|
||||||
%pom_remove_dep org.junit:junit-bom
|
|
||||||
|
|
||||||
%pom_add_dep javax.annotation:javax.annotation-api maven-enforcer-plugin
|
|
||||||
|
|
||||||
%pom_add_plugin org.eclipse.sisu:sisu-maven-plugin maven-enforcer-plugin
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -s -f -- \
|
%{mvn_build} -s -f -- \
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||||
|
Reference in New Issue
Block a user