From dev-return-106793-archive-asf-public=cust-asf.ponee.io@sling.apache.org Thu May 21 19:30:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 14E991804BB for ; Thu, 21 May 2020 21:30:01 +0200 (CEST) Received: (qmail 33271 invoked by uid 500); 21 May 2020 19:30:01 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 33257 invoked by uid 99); 21 May 2020 19:30:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2020 19:30:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 95C0DE2C8D for ; Thu, 21 May 2020 19:30:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1025178012B for ; Thu, 21 May 2020 19:30:00 +0000 (UTC) Date: Thu, 21 May 2020 19:30:00 +0000 (UTC) From: "Andreas Schaefer (Jira)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SLING-9462) Sub Maven Project fails in Check Preprocessor Run MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andreas Schaefer created SLING-9462: --------------------------------------- Summary: Sub Maven Project fails in Check Preprocessor Run Key: SLING-9462 URL: https://issues.apache.org/jira/browse/SLING-9462 Project: Sling Issue Type: Bug Components: Feature Model Affects Versions: slingfeature-maven-plugin 1.3.2 Reporter: Andreas Schaefer Fix For: slingfeature-maven-plugin 1.3.4 When I have a parent POM (package 'pom') and only have sub modules in there= and then a submodule wants to create a Feature Model using 'include-artifa= ct' then the build fails with the message: 'The slingfeature preprocessor d= id not run'. Running the build from the child does just fine. =C2=A0 Debugging this yields a strange issue where the ProjectHelper.storeProjectI= nfo() is using another Maven Project instance (info.project) than the one g= iven to the ProjectHelper.checkProcessorRun() - hence the failure. =C2=A0 This is very irritating because the suggested fix is not fixing it (extensi= ons =3D true). =C2=A0 My guess is that this is a problem with sub modules where the testing is no= t done with the same Maven Project instance and hence the stored Context Va= lue is then not found. -- This message was sent by Atlassian Jira (v8.3.4#803005)