Wednesday, July 6, 2011

SPRING & MAVEN - Get JSTL and Standard Jars from Maven

In early times, Sun Jars were not available on the central maven repository and people have to go through the tedious process to add the jars manually to their local repository. But the Sun Jar files are now available available in the central maven repository itself and can be referred directly in the pom.xml file.

Samples:

<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
</dependency>

No comments:

Post a Comment