Issue Type: Bug Bug
Assignee: Unassigned
Created: 21/May/12 8:10 AM
Description:

I have a module project with <packaging>pom</packaging> and some child-modules with <packaging>war</packaging>, some other child-modules with <packaging>jar</packaging>

Altough it is stated in the documentation that other packaging types than war are excluded:
http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html

I still get the following error when running the plugin on the parent project.

The -uriroot option must specify a pre-existing directory.

When running with -X option the uriroot argument uses:
"-uriroot", "<PARENT_MODULE_PATH>/src/main/webapp"

Clearly there is no such path, since it is a module project.
Execution is stopped.

Running the plugin on each of the childs separately works fine for me.

So either:

  • provide a skip option: as stated in MJSPC-32 (in order to skip this module manually)
  • or skip modules with pom packaging automatically.
    • Note: this bug also occurrs for jar packaging.
Environment: 2.0-alpha-3
Project: Maven 2.x JSPC Plugin
Priority: Critical Critical
Reporter: Roman Cerny
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to