| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Nikolay Chashnikov |
| Subsystem | Maven Integration |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7590
|
| Fixed in build |
8256
|
| Severity |
0
|
IDEA-42825 |
Compiling a maven module without 'src' directory fails (because of missing 'target/classes' directory) |
|
bug-IDEA-17110.tar.gz
(2 KB)
|
- example-module-dependencies (packaging = pom) - all dependencies needed by 'example-module-webapp'
- example-module-library (packaging = jar) - user-defined library
- example-module-webapp (packaging = war) - web application that depends on 'example-module-dependencies' only
if you run project Make and then run tests, they pass normally;
if you clean the project and then run the tests from example-module-webapp, it runs normally.
However, if you run the test from example-module-library (this module doesn't depend on other modules) after cleaning, you get the error message:
Error:Directory 'C:\Documents and Settings\Irina.Petrovskaya\IdeaProjects\MavenProjects\scr25382\example-module-webapp\target\classes' not found. Please recompile module 'example-module-webapp'.