You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthias Bünger (Jira)" <ji...@apache.org> on 2025/02/17 15:53:00 UTC

[jira] [Assigned] (MNGSITE-443) Add setFile to Mojo Cookbook (website)

     [ https://issues.apache.org/jira/browse/MNGSITE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Bünger reassigned MNGSITE-443:
---------------------------------------

    Assignee: Matthias Bünger

> Add setFile to Mojo Cookbook (website)
> --------------------------------------
>
>                 Key: MNGSITE-443
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-443
>             Project: Maven Project Web Site (Moved to GitHub Issues)
>          Issue Type: Improvement
>            Reporter: Casper Roubos
>            Assignee: Matthias Bünger
>            Priority: Major
>
> Is it possible to add in the 'my first mojo', that you need to register the output-directory in the artifact with project.getArtifact().setFile(..).
> We are using a Jenkins muti-branch pipeline, and we found out that if you not build to install (e.q. process-test-classes) that the build will give an error because the dependency resolution can't find the artifact in the repo (because the first time it is not deployed yet).
>  
> Hope that this addition will also others.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)