<< Back to previous view

[MAVEN_INCREMENTAL_BUILD-14] java.lang.IllegalStateException: basedir ........target\classes does not exist Created: 04/May/12  Updated: 04/May/12

Status: Open
Project: maven-incremental-build
Component/s: None
Affects Version/s: 1.6
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Javatar007 Assignee: Unassigned
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: exception src empty missing classes basedir
Participants: Javatar007

 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.






[MAVEN_INCREMENTAL_BUILD-3] Detect dependencies modification Created: 18/Aug/08  Updated: 11/Sep/08

Status: Open
Project: maven-incremental-build
Component/s: modification detection
Affects Version/s: 1.0
Fix Version/s: 1.1

Type: New Feature Priority: Major
Reporter: vsellier Assignee: vsellier
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3
Tags:
Participants: vsellier

 Description   

Modification on dependencies have to provoque a clean compilation of a module
and his sub-modules.

Based on a dependencies snapshot stored into the target directory



 Comments   
Comment by vsellier [ 11/Sep/08 02:44 PM ]

included in version 1.1





Generated at Fri Apr 18 01:06:09 UTC 2014 using JIRA 4.0.2#472.