'How to provide version range in maven build plugin?

I am working a simple maven project, with multiple downstream consumers. I am trying to set the version range for the build plugin. However, if I set a range; it is considered as a literal range.

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-clean-plugin</artifactId>
                <version>[2.5.0,3.0.0]</version>
</plugin>

The above code doesn't work plugins and plugins management.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source