You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/02/03 13:39:00 UTC
[jira] [Updated] (NETBEANS-5316) Maven
ReactorCheckerTest.testFindReactorFromExplicitParentPath unit test fails in
suite.
[ https://issues.apache.org/jira/browse/NETBEANS-5316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Svatopluk Dedic updated NETBEANS-5316:
--------------------------------------
Description:
*ReactorCheckerTest.testFindReactorFromExplicitParentPath* fails when run in a suite. If just this single testcase is run, it succeeds.
When debugging, I've discovered that during load of the module's POM model, the parent's POM model is not loaded from the relative location, but rather faked from local repository cache (~/.m2/g/p/) – but no POMs are actually deployed physically into local repo.
I temporarily changed the test to use *unique artifact coordinates* for the parent test project, so it won't be found in suite-wide artifact cache.
was:
*ReactorCheckerTest.testFindReactorFromExplicitParentPath* fails when run in a suite. If just this single testcase is run, it succeeds.
When debugging, I've discovered that during load of the module's POM model, the parent's POM model is not loaded from the relative location, but rather faked from local repository cache (~/.m2/g/p/) – but no POMs are actually deployed physically into local repo.
> Maven ReactorCheckerTest.testFindReactorFromExplicitParentPath unit test fails in suite.
> ----------------------------------------------------------------------------------------
>
> Key: NETBEANS-5316
> URL: https://issues.apache.org/jira/browse/NETBEANS-5316
> Project: NetBeans
> Issue Type: Bug
> Reporter: Svatopluk Dedic
> Priority: Minor
>
> *ReactorCheckerTest.testFindReactorFromExplicitParentPath* fails when run in a suite. If just this single testcase is run, it succeeds.
> When debugging, I've discovered that during load of the module's POM model, the parent's POM model is not loaded from the relative location, but rather faked from local repository cache (~/.m2/g/p/) – but no POMs are actually deployed physically into local repo.
> I temporarily changed the test to use *unique artifact coordinates* for the parent test project, so it won't be found in suite-wide artifact cache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists