[ http://jira.codehaus.org/browse/MNG-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194047#action_194047 ]
Paul Benedict edited comment on MNG-4383 at 10/8/09 12:35 PM: -------------------------------------------------------------- Benjamin, could this also be expanded for plugin versions and distrubution management URLs? My team just ran into the latter today. was (Author: paul4christ79): Benjamin, could this also be expanded for plugin versions? > Uninterpolated expressions should cause an error for dependency versions > ------------------------------------------------------------------------ > > Key: MNG-4383 > URL: http://jira.codehaus.org/browse/MNG-4383 > Project: Maven 2 > Issue Type: Bug > Components: Dependencies > Affects Versions: 2.2.1, 3.0-alpha-2 > Reporter: Paul Benedict > Assignee: Benjamin Bentmann > Fix For: 3.0-alpha-3 > > > I declared a dependency as such: > {noformat}<dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-api</artifactId> > <version>${slf4j.version}</version> > </dependency>{noformat} > 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: > {noformat} Downloading: > http://repo1.maven.org/maven2/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.pom{noformat} > > In terms of usability, an obvious expression should be interpolated. If it > cannot, it should be a runtime error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira