I don't know of any repository that contains the 1.4 version of the javaee JAR (the oldest one I see if for EE 6). You might have to use "mvn install:install-file" to install the JAR into your local repository manually.
You do not find this kind of jar in a public maven repository.
If you are working in a company chances are it will be in your company's maven repository.
In such a case you need to make sure your company's maven repository is searched during the build.
Usually it will be put in your local settings.xml
SCJP 5 , SCWCD 5, SCEA 5
subject: cannot download j2ee-1.4.jar as defined in my pom.xml