Post artifacts to java.net document&files section like this. This uses javanettasks as the underlying technology, so make sure to set up ~/.java.net as described here, for the user account that runs Hudson.