You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/01/19 16:24:00 UTC
[jira] [Updated] (MNG-8023) New method for project artifacts
[ https://issues.apache.org/jira/browse/MNG-8023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak updated MNG-8023:
---------------------------------
Description:
Introduce a new method on API Project object that exposes "main artifacts" of project. The method can return 1 or 2 artifacts (never less than 1 and never more than 2). These are NOT the attached artifacts! (see ProjectManager for that).
In short: projects with packaging "pom", "bom" (that produce only one artifact) will on this method return 1 artifact, while projects for example with packaging "jar" will return 2 artifacts (as they produce, install, deploy two artifacts, the POM and the JAR/WAR/etc).
was:
Introduce a new method on API Project object that exposes "main artifacts" of project. The method can return 1 or 2 artifacts (never less than 1 and never more than 2). These are NOT the attached artifacts! (see ProjectManager for that).
In short: projects with packaging "pom", "bom" will on this method return 1 artifact, while projects with packaging "jar" will return 2 artifacts.
> New method for project artifacts
> --------------------------------
>
> Key: MNG-8023
> URL: https://issues.apache.org/jira/browse/MNG-8023
> Project: Maven
> Issue Type: Task
> Components: API
> Reporter: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0, 4.0.0-alpha-13
>
>
> Introduce a new method on API Project object that exposes "main artifacts" of project. The method can return 1 or 2 artifacts (never less than 1 and never more than 2). These are NOT the attached artifacts! (see ProjectManager for that).
> In short: projects with packaging "pom", "bom" (that produce only one artifact) will on this method return 1 artifact, while projects for example with packaging "jar" will return 2 artifacts (as they produce, install, deploy two artifacts, the POM and the JAR/WAR/etc).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)