[
http://jira.codehaus.org/browse/MJAVACC-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MJAVACC-64.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Committed in r6066.
> Make mojos not fail if source directories do not exist
> ------------------------------------------------------
>
> Key: MJAVACC-64
> URL: http://jira.codehaus.org/browse/MJAVACC-64
> Project: Maven 2.x JavaCC Plugin
> Issue Type: Bug
> Components: jjtree, jtb
> Affects Versions: 2.3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 2.4
>
>
> Currently, some of the mojos fail the build if their source directories do
> not exist:
> {noformat}
> [INFO] [javacc:jjtree]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] basedir M:\maven\z\javacc\src\main\jjtree does not exist
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalStateException: basedir M:\maven\z\javacc\src\main\jjtree
> does not exist
> at
> org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550)
> at
> org.codehaus.plexus.compiler.util.scan.AbstractSourceInclusionScanner.scanForSources(AbstractSourceInclusionScanner.java:78)
> at
> org.codehaus.plexus.compiler.util.scan.StaleSourceScanner.getIncludedSources(StaleSourceScanner.java:84)
> at
> org.codehaus.mojo.javacc.JJTreeMojo.computeStaleGrammars(JJTreeMojo.java:372)
> at org.codehaus.mojo.javacc.JJTreeMojo.execute(JJTreeMojo.java:223)
> {noformat}
> This is inacceptable for a reactor build where the mojos are configured in
> the parent project and inherited by all sub modules but some modules do not
> use JavaCC/JJTree sources.
> There need also be some new integration tests to check this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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