I have this exercise, but I feel like something is wrong. As far as I know, if $m$ is a maximal ideal, then $m \subsetneq A$. But with this hypothesis, I think to take $I = \lbrace 1_A \rbrace$, so the only ideal that contains $I$ is $A$, so $I$ is not maximal.
EDIT:
I wrote something wrong. I didn't meant that I was the ideal, but that if $m$ is an ideal such that $I \subseteq m$, then $m = A$, so m is not maximal
The set $I=\{1\}$ is usually not an ideal, unless $1$ is the only element of $A$. That is because the ideal axioms require that for any $a$, if $1\in I$, we also have $a=a\cdot 1\in I$. Hence, $A\subseteq I$ and consequently, $A=I$. So this is not a contradiction because only proper ideals are contained in a maximal one.