Skip to content

Commit

Permalink
[MARTIFACT-26] clarify IT objective
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Sep 22, 2023
1 parent 4ee0299 commit 8335310
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/it/buildinfo-dir/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
24 changes: 24 additions & 0 deletions src/it/buildinfo-dir/verify.groovy
Original file line number Diff line number Diff line change
@@ -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 ')

0 comments on commit 8335310

Please sign in to comment.