"This was naked fraud and a sustained course of evasion activity by a successful businessman," he said.
"The sentence shows that courts view this sort of offending seriously and the prosecution taken against O'Connor shows that Inland Revenue will hold people to account if they break the law."
Mr Goggin said O'Connor willingly allowed his companies to be used to create fictitious expenses that were offset against their income streams.
"This activity included filing false tax returns, hiding assets, and the late filing of returns to allow his business to be repeatedly restructured to conceal the proceeds of fraud.
"The transactions were motivated by greed and were structured so that a very profitable business could pay little or no tax thereby cheating other taxpayers."
Inland Revenue is still working to recover the outstanding money.
"Our customers can be confident that Inland Revenue will detect those evading their obligations and those cheating on their taxes should be aware that we will take action when we detect deliberate non-compliance."