Are you sure the artifact isn't attached? If the code would work the artifact will only be attached after the site:site goals had been run. If you want to deploy the attached artifact you would have to run:
mvn site deploy So my question is: In what way are you going to use the attached artifact? And what does not seem to work then? Lizzy wrote: > > > Is there any way to attach an artifact (or define an artifact) from a > reporting plugin? It is simple enough to do in a build plugin, but I > cannot figure out how to do it from a report plugin. > > helper.attachArtifact(project,"zip","siteReport",coeOutputFile); > > and > > project.getArtifact().setFile(coeOutputFile); > > both seem to be ignored when the plugin is run. > > Thanks > Liz Sommers > [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Attaching-artifacts-from-a-reporting-plugin-tf4480848s177.html#a12812203 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]