Hi,

    I am using maven-2.0.8 with java-1.5.0_15 and maven jspc plugin of
tomcat5. My pom.xml entry for jspc looks like this:

 

 

            <plugin>

                <groupId>org.codehaus.mojo.jspc</groupId>

                <artifactId>jspc-maven-plugin</artifactId>

                <version>2.0-alpha-1</version>

                <executions>

                    <execution>

                        <phase>compile</phase>

                        <goals>

                            <goal>compile</goal>

                        </goals>

                    </execution>

                </executions>

                <!-- Use the Tomcat 5 JSP compiler -->

                <dependencies>

                    <dependency>

                        <groupId>org.codehaus.mojo.jspc</groupId>

                        <artifactId>jspc-compiler-tomcat5</artifactId>

                        <version>2.0-alpha-1</version>

                    </dependency>

                </dependencies>

<configuration>

                            <injectString>&lt;!-- [INSERT JSP PRECOMPILE
FRAGMENT HERE] --&gt;</injectString>

                            <source>1.5</source>

                            <target>1.5</target>

                </configuration>

    </plugin>

 

 "mvn install"  gets stuck after the following line  (sometimes with the
warnings and sometimes without)

[INFO] Compiling JSP source files to
/rhel5pdi/home/bkalathu/fps/workspaces/fpslitev2/platform-apps/cust-service/
target/jsp-source

log4j:WARN No appenders could be found for logger (org.apache.jasper.JspC).

log4j:WARN Please initialize the log4j system properly.

When I see the process status of mvn, "ps aux | grep java", it shows the
process in sleeping status.

 

I don't know where I am going wrong. I am using RHEL5.

 

Thanks & Regards,

Bhargava

 

Reply via email to