File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic