Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I put the .tld file so that the resulting JAR file built with maven2 is properly packaged?

I currently have the following directory structure for my code:

src
|-- main
|   `-- java
|       `-- com
|           `-- upthescala
|               `-- tags
|                   `-- ViewProtectTag.java
|-- test
|-- pom.xml
|-- .project
|-- .classpath
`-- .hgignore

I want to include a tld file for my JSP tag, and I'm not sure where to package it. My initial thought is to add a src/main/resources directory and put META-INF/viewprotect.tld in there.

like image 334
les2 Avatar asked Jun 23 '10 21:06

les2


1 Answers

My initial thought is to add a src/main/resources directory and put META-INF/viewprotect.tld in there

And that's a good initial thought.

like image 66
Pascal Thivent Avatar answered Nov 10 '22 00:11

Pascal Thivent