jspc-maven-plugin excludes?
Is it possible to use exclusions in this plugin or any suggestions on how to achieve this? I'm trying to exclude some jsp from being compiled. plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId executions execution idjspc/id goals goalcompile/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webXml${basedir}/target/jspweb.xml/webXml /configuration /plugin
RE: jspc-maven-plugin excludes?
I'm working on a project where they want to have some jsp fragments excluded because it causes a jsp compilation errors. I'm not sure what to do as I don't want to dig into the code and change things because I don't know what parts of the application will be affected. Maybe I need to find an alternative to the jspc-maven-plugin ? -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, May 26, 2010 8:57 AM To: Maven Users List Subject: Re: jspc-maven-plugin excludes? Is it possible to use exclusions in this plugin or any suggestions on how to achieve this? I'm trying to exclude some jsp from being compiled. Why do you want to exclude some jsp(s) from being compiled? What constraints do you have eg could you rename them or move them to a different directory, or not? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: jspc-maven-plugin excludes?
Great suggestion. Thanks. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, May 26, 2010 9:22 AM To: Maven Users List Subject: Re: jspc-maven-plugin excludes? On Wed, May 26, 2010 at 11:06 AM, Chau, Jimmy jc...@tickets.com wrote: I'm working on a project where they want to have some jsp fragments excluded because it causes a jsp compilation errors. For this very reason, JSP fragments are generally called jspf which then avoids their compilation as the plugin only looks for files ending in jsp (IIRC). This would be the way that I would handle things. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
limiting verbose level of jspc-maven-plugin
The jspc-maven-plugin by default gives info message about every jsp being compiled. How do I turn off the info message? What is the integer value for verbose to turn info off? Tried a couple of random ones and didn't seem to work? plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId configuration verbose0/verbose /configuration executions execution idjspc/id goals goalcompile/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webXml${basedir}/target/jspweb.xml/webXml /configuration /plugin
XML-RPC Sample Client
I am trying to run the Sample Client, not familiar with Maven or Java for that matter I am having some difficulties. I am able to 'mvn clean install' the entire continuum application from the root and then invoke the webapp and that all runs fine. But how would one invoke the Sample Client for XML-RPC? When trying to run in with java on the command line I get the following NoClassDefFoundError. Any information would be greatly appreciated. Thank you for your help so far. Jimmy [EMAIL PROTECTED]:~/projects/continuum/continuum-xmlrpc/continuum-xmlrpc-client/target/classes/org/apache/maven/continuum/xmlrpc/client$ java SampleClient Exception in thread main java.lang.NoClassDefFoundError: SampleClient (wrong name: org/apache/maven/continuum/xmlrpc/client/SampleClient) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)