Are you sure you actually need to define them in your dependencies?
They are dependencies of the plugin (at least in the latest subversion checkout), which would mean there's no need to depend on them in your project using the plugin.

It's similar to not having to depend on the pmd jar (only on the pmd plugin itself) when you use the pmd plugin.

Tom Joad wrote:
I know but jspc plugin needs these dependencies with compiled scope.
Perhaps i missed something somewhere but that what i saw when i used it.
Tom

2006/3/22, Tomislav Stojcevich <[EMAIL PROTECTED]>:
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]



--
With kind regards,
Geoffrey De Smet


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

Reply via email to