[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.


Generated at Wed Jun 30 12:09:11 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.