You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/09/26 14:17:00 UTC
[jira] [Updated] (MPLUGINTESTING-77) Mojo returned from AbstractMojoTestCase.lookupMojo always returns null for project.getRemoteProjectRepositories()
[ https://issues.apache.org/jira/browse/MPLUGINTESTING-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated MPLUGINTESTING-77:
------------------------------------------
Description:
The returned mojo's project returns
{code}
[ id: central
url: https://repo.maven.apache.org/maven2
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
]
{code}
for its {{getRemoteArtifactRepositories()}} but returns {{null}} for {{getRemoteProjectRepositories()}}.
For consistency reasons either both should return null or both should return the central repository.
was:
The returned mojo's project returns
{code}
[ id: central
url: https://repo.maven.apache.org/maven2
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
]
{code}
for its {{getRemoteArtifactRepositories()}} but returns {{null}} for {{getRemoteProjectRepositories()}}.
> Mojo returned from AbstractMojoTestCase.lookupMojo always returns null for project.getRemoteProjectRepositories()
> ------------------------------------------------------------------------------------------------------------------
>
> Key: MPLUGINTESTING-77
> URL: https://issues.apache.org/jira/browse/MPLUGINTESTING-77
> Project: Maven Plugin Testing
> Issue Type: Bug
> Components: plugin-testing-harness
> Affects Versions: 3.3.0
> Reporter: Konrad Windszus
> Priority: Major
>
> The returned mojo's project returns
> {code}
> [ id: central
> url: https://repo.maven.apache.org/maven2
> layout: default
> snapshots: [enabled => true, update => always]
> releases: [enabled => true, update => always]
> ]
> {code}
> for its {{getRemoteArtifactRepositories()}} but returns {{null}} for {{getRemoteProjectRepositories()}}.
> For consistency reasons either both should return null or both should return the central repository.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)