I am struggling with the rightward implication. Here is some of my working:
$(\Leftarrow)$
Every subgroup is contained within a maximal subgroup that is the $\mathcal{H}$ class of that subgroup's idempotent. As each $\mathcal{H}$ class is trivial by assumption then every subgroup is contained within a trivial maximal subgroup. Result.
$(\Rightarrow)$
Idea 1:
Something that involves:
Let every subgroup be trivial, take some element $s$ in the semigroup and suppose it has index $i$ and period $p>1$. Then we can form a subgroup $\{a^i,a^{i+1},\dots,a^{i+p-1}\}$ but this is a contradiction and hence every element of the semigroup has period $1$.
$\vdots$
Idea 2:
Since we're dealing with a finite semigroup we know it satisfies every (left/right) (ascending/descending) chain condition and hence $\mathcal{D}=\mathcal{J}$.
Maybe we could show now that every element is in the same $\mathcal{D}=\mathcal{J}$ class? Then by a corollary of Green's lemma we can use the fact that, since some subgroup $G$ we have $|G|=1$, every $\mathcal{H}$ class has size $1$?
$\vdots$
Idea 3:
Maybe I could fuse the above two approaches, somehow exploit the period $1$ property to show that every $\mathcal{J}=\mathcal{H}$ class has an idempotent in it. This would show that in every $\mathcal{D}$ class there is a trivial $\mathcal{H}$ class, and therefore by a corollary to Green's lemma we would have that every $\mathcal{H}$ class in every $\mathcal{D}$ class is trivial.
$\vdots$
I have also just tried to show that if $a\mathcal{H}b$ then $a=b$ but struggled with that.
Any hints are welcome.