Description
I have notice if you try to generate the site, the unpack plugin causes some problems. I tried to update myfaces-builder-plugin to use a later version of dependency plugin, but it didn't work out.
The only solution we have is use a profile and do a hard copy, like we do with shared module, and remember to execute that goal an commit the code before each release. I have tried to fix the problem in the plugin, but unfortunately, the problem is caused by a fork over the goal generated by site plugin that can't be controlled. In that execution, the file associated to artifact to be unpacked points to target/classes directory, which is wrong because this goal is executed in a very early stage of maven lifecycle.
The solution is not very nice, but it works.