Skip to content

Commit

Permalink
[MENFORCER-447] Skip tests for banDuplicatePomDependencyVersions and …
Browse files Browse the repository at this point in the history
…requireProfileIdsExist with Maven 4

Maven 4 strict checking such rules, so build will not start with projects contains such violations.
  • Loading branch information
slawekjaranowski committed Jan 7, 2023
1 parent 6d2b727 commit f524312
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 22 deletions.
Expand Up @@ -15,4 +15,7 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure

# Maven 4 check itself such rules
invoker.maven.version = !4+
Expand Up @@ -15,4 +15,7 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure

# Maven 4 check itself such rules
invoker.maven.version = !4+
Expand Up @@ -15,4 +15,7 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure

# Maven 4 check itself such rules
invoker.maven.version = !4+
Expand Up @@ -93,6 +93,11 @@
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-wrapper-plugin</artifactId>
<version>3.0.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
@@ -1,19 +1,22 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.profiles = c
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.profiles = c

# Maven 4 check itself such rules
invoker.maven.version = !4+

0 comments on commit f524312

Please sign in to comment.