Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1, 3.0-alpha-2
-
None
Description
I declared a dependency as such:
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency>
But did not define the slf4j.version property. Obviously ${...} is an expression and if the expression is not resolved, why allow it? Here was the output:
Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.pom
In terms of usability, an obvious expression should be interpolated. If it cannot, it should be a runtime error.