wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes cannot download j2ee-1.4.jar as defined in my pom.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "cannot download j2ee-1.4.jar as defined in my pom.xml" Watch "cannot download j2ee-1.4.jar as defined in my pom.xml" New topic
Author

cannot download j2ee-1.4.jar as defined in my pom.xml

ashley Jug
Ranch Hand

Joined: Sep 02, 2011
Posts: 60
Hello,

I need the jar j2ee-1.4.jar for my project but maven is not able to download the jar. This is how it is defined in my pom.xml:


I get the following error when i run a clean install on my project:


Any suggestion please??I don't know what i am missing here.

Thnaks in adavnce.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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.


JBoss In Action
ntumba lobo
Ranch Hand

Joined: Oct 21, 2008
Posts: 180
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot download j2ee-1.4.jar as defined in my pom.xml