Use <scope>provided</scope> which makes them available at build time
but keeps them out of your war.

On 3/22/06, Tom Joad <[EMAIL PROTECTED]> wrote:
> Hello,
> Please see.
>
> http://mojo.codehaus.org/jspc-maven-plugin/
>
> We must add inside your pom.xml
>
>  <dependency>
>         <groupId>tomcat</groupId>
>         <artifactId>jasper-runtime</artifactId>
>         <version>5.5.12</version>
>     </dependency>
>  <dependency>
>         <groupId>javax.servlet</groupId>
>         <artifactId>servlet-api</artifactId>
>         <version>2.4</version>
>             </dependency>
> with compile scope dependency. The problem is that the two jars will
> be included on your war file. You must delete them before deplloying
> to tomcat
>
> and modify your web.xml by adding string
> <!-- [INSERT FRAGMENT HERE] -->
> The plugin replaces this string by jsp/servlet mapping .
>
> Tom.
>
>
>
>
>
> 2006/3/22, Venkatagopalaraju <[EMAIL PROTECTED]>:
> > Dear Maven users,
> >
> >     I am new to Maven build tool.I am not able to find Jsp precompilation 
> > Documents or information. When I am trying to compile jsp's in my project, 
> > It is not identifying. Anyone please help me out, what I need to add in my 
> > pom.xml for jsp precompilation.
> >
> >
> > Thanks & Regards
> >    Gopal
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to