[GRADLE-2016] Incorrect generation of org.eclipse.wst.common.component with multi-projects and transitive dependencies Created: 27/Dec/11 Updated: 25/Jan/17 Resolved: 03/Jun/16 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-6 |
Fix Version/s: | 3.0-milestone-1, 3.0-rc-2 |
Type: | Bug | ||
Reporter: | Klaus Lehner | Assignee: | Donát Csikós |
Resolution: | Fixed | Votes: | 3 |
Description |
Following project structure: spm-gwt spm-gwt is a module, spm-server is a webserver project. spm-gwt has a dependency to module A, version 1.2 When generating org.eclipse.wst.common.component, both versions of module A are included, and thus both files are copied to the web-inf/lib directory. Actually, conflict resolution doesn't work correctly here, as the generated file fetches all libraries directly from module A. Probably it would be better to not transitively include all those libraries, but instead use the runtime configuration of spm-server and add all those libraries to the org.eclipse.wst.common.component file. |
Comments |
Comment by Donát Csikós [ 01/Jun/16 ] |
This is fixed in the codebase. @klehner can you please evaluate the latest snapshot? |