apache / apache/maven-site

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

Open
#856 7 comments 0 reactions 1 assignee Claimed by @Bukama View on GitHub
enhancement
Dominant language
Java
Stars
123
Forks
301
Avg merge
16h 59m
Merged PRs (30d)
32

Description

**[Casper Roubos](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=casper_nl)** opened **[MNGSITE-443](https://issues.apache.org/jira/browse/MNGSITE-443?redirect=false)** and commented

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.

---
No further details from [MNGSITE-443](https://issues.apache.org/jira/browse/MNGSITE-443?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.