Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1192

Build break with latest version (2.2) of javacc-maven-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Problem:

      [INFO] ----------------------------------------------------------------------------
      [INFO] Building Jackrabbit Core
      [INFO] task-segment: [install]
      [INFO] ----------------------------------------------------------------------------
      [INFO] [javacc:jjtree

      {execution: fulltext-jjtree}

      ]
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] basedir C:\APACHE\jackrabbit\jackrabbit-core\C:\APACHE\jackrabbit\jackrabbit-core\src\main\javacc\fulltext does not exist
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.IllegalStateException: basedir C:\APACHE\jackrabbit\jackrabbit-core\C:\APACHE\jackrabbit\jackrabbit-core\src\main\javacc\fulltext does not exist
      at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:542)
      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:349)
      at org.codehaus.mojo.javacc.JJTreeMojo.execute(JJTreeMojo.java:198)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 seconds

      Simple Fix: Use old version of the plugin

      Index: jackrabbit-core/pom.xml
      ===================================================================
      — jackrabbit-core/pom.xml (revision 589393)
      +++ jackrabbit-core/pom.xml (working copy)
      @@ -101,6 +101,7 @@
      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>javacc-maven-plugin</artifactId>
      + <version>2.1</version>
      <executions>
      <execution>
      <id>fulltext-jjtree</id>

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              dims Davanum Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: