Hi, I have following tag in pom.xml , since the jstl.jar does not have any version, I have not used version tag, but the build fails and asks for version.
how to handle this situtation? shall i rename the jstl.jar to jstl-someversion.jar and add version tag? or there is better option?
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Yes, Maven requires that you specify the version of the dependency.
shall i rename the jstl.jar to jstl-someversion.jar and add version tag?
You need not rename it. It can continue to be jstl.jar. But to use it in your project that jar needs to be available as a Maven artifact in some repository. Maven internally will scan the artifact for metadata to check for the version of the jar.
file:\\<The real ip address>\repository/jstl/jdbc2_0-stdext/1.0.6/
In your web browser/File Browser, that will double check you have permissions and that the folder structure is correct (notice that you are using '/' and '\')
Joined: Feb 10, 2001
yes i have the permission and it works if i append -1.0.6 to the name of jar file, but if i remove the vesion then it fails since maven tries to download it with version as shown in following error message