[GRADLE-1967] Accessing public method Project.getProperties after applying the maven plugin generates misleading warnings Created: 27/Nov/11 Updated: 04/Jan/13 Resolved: 02/Feb/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-6 |
Fix Version/s: | 1.0-milestone-8 |
Type: | Bug | ||
Reporter: | Blaine Simpson | Assignee: | Luke Daley |
Resolution: | Fixed | Votes: | 0 |
Description |
Project.getProperties() is a public method. Without the user setting any properties, it will generate warnings if the maven plugin has been applied earlier. Test case build file: defaultTasks 'noop' task noop << { } apply plugin: 'maven' println 'Properties count = ' + project.properties.size() Just comment out the maven plugin to eliminate the warning. |