Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
ashley Jug
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ntumba lobo
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic