maven-incremental-build
  1. maven-incremental-build
  2. MAVEN_INCREMENTAL_BUILD-14

java.lang.IllegalStateException: basedir ........target\classes does not exist

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Seems to be caused by empty 'project/src' folder.
      In our multimodule project there are some submodules for generating from wsdl. These have empty 'src' folder.
      (I've replaced the long project path by '(...)' in the log below).


      [INFO] Building XConnector
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [incremental-build:incremental-build

      {execution: default}

      ]
      [INFO] Verifying module descriptor ...
      [INFO] Verifying parent modules...
      [INFO] Verifying resources...
      [INFO] Resources directory does not exist : C:(...)\res
      [INFO] Verifying sources...
      [INFO] No target directory, build is required.
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] basedir C:(...)\target\classes does not exist
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.IllegalStateException: basedir C:(...)\classes does not exist
      at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:542)
      at net.java.mavenincrementalbuild.IncrementalBuildMojo.directoryUpdated(IncrementalBuildMojo.java:259)
      at net.java.mavenincrementalbuild.IncrementalBuildMojo.sourcesUpdated(IncrementalBuildMojo.java:306)
      at net.java.mavenincrementalbuild.IncrementalBuildMojo.execute(IncrementalBuildMojo.java:135)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)


      This exception is not thrown when using version 1.5.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Javatar007
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: