I just wanted to make sure that I am doing things correctly before I go
too far on the RPM plugin...
1) To build the RPM, I need to run the command "rpmbuild". Based on
what I saw in the release plugin, I am using classes in package
org.codehaus.plexus.util.cli (in org.codehaus.plexus:plexus-utils) to
run the command and forward the command output to the build log. Is
this the "best practice" for a Mojo to run command-line tools?
2) I am going to use a plexus archiver component (DirectoryArchiver) to
do the copying of files into the RPM work area. To get this reference,
I have the following (adapted from other plugins):
/**
* @component role="org.codehaus.plexus.archiver.Archiver"
* roleHint="dir"
*/
private DirectoryArchiver dirarchiver;
This provides a reference, as intended, but I wanted to make sure that
this was the best way of doing things.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]