What is the best way to deploy a non-jar file built with a plugin?

I have a jar project I build in Maven, which works nicely to build and deploy 
jar, javadocs, and sources artifacts. I've written my own plugin that generates 
a deb into target directory (I'm aware of existing deb plugins, but they didn't 
meet my needs).

But when I install or deploy, the deb doesn't go with the jar files I made. 
What is the most appropriate way to do this? I've used install:file and 
deploy:file from command line with 3rd party jars, but I'm really afraid that 
using the plugins in this way isn't appropriate for this -- it seems to create 
new metadata/pom files in the actual repository that don't seem right.

I think I'm attaching the artifact properly in my plugin code, although it 
doesn't cause Maven to do anything with it:

File output = ...; //the deb file I made
projectHelper.attachArtifact( getProject(), "deb-archive", output );

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to