This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 8335310 [MARTIFACT-26] clarify IT objective 8335310 is described below commit 83353106894a3cb39fcafccaf1246315120bad36 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Fri Sep 22 07:56:22 2023 +0200 [MARTIFACT-26] clarify IT objective --- src/it/buildinfo-dir/pom.xml | 3 ++- src/it/buildinfo-dir/verify.groovy | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/it/buildinfo-dir/pom.xml b/src/it/buildinfo-dir/pom.xml index 823b2de..c2b8632 100644 --- a/src/it/buildinfo-dir/pom.xml +++ b/src/it/buildinfo-dir/pom.xml @@ -27,8 +27,9 @@ <groupId>org.apache.maven.plugins.artifact.its</groupId> <artifactId>apache-karaf</artifactId> <packaging>pom</packaging> - <version>4.3.3</version> + <version>4.3.10</version> <name>Maven Artifact Plugin buildinfo IT: Apache Karaf :: Assemblies :: Default Distribution</name> + <description>regression check for https://issues.apache.org/jira/browse/MARTIFACT-26</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> diff --git a/src/it/buildinfo-dir/verify.groovy b/src/it/buildinfo-dir/verify.groovy new file mode 100644 index 0000000..ec85fac --- /dev/null +++ b/src/it/buildinfo-dir/verify.groovy @@ -0,0 +1,24 @@ + +/* + * 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. + */ + +def buildLog = new File(basedir, 'build.log').text + +// https://issues.apache.org/jira/browse/MARTIFACT-26 +assert buildLog.contains('[WARNING] Ignoring artifact org.apache.maven.plugins.artifact.its:apache-karaf:pom:4.3.10 because it points to inexistent ') \ No newline at end of file