[ 
https://issues.apache.org/jira/browse/BUILDR-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Donald updated BUILDR-695:
--------------------------------
    Fix Version/s: 1.5

> transitive doesn't support ${project.parent.version} in POM.
> ------------------------------------------------------------
>
>                 Key: BUILDR-695
>                 URL: https://issues.apache.org/jira/browse/BUILDR-695
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.4.15
>         Environment: Ubuntu 12.04, ruby 1.9.3
>            Reporter: Rui Yang
>             Fix For: 1.5
>
>
> having the following sample buildfile
> define "test_project" do
>   compile.with(transitive('com.mangofactory:swagger-springmvc:jar:0.6.6'))
> end
> >>buildr compile
> Downloading com.wordnik:swagger-annotations_2.9.1:pom:
> Buildr aborted!
> RuntimeError : Missing version for {:group=>"com.wordnik", 
> :id=>"swagger-annotations_2.9.1", :type=>"jar"}
> Reason:
> in the depedencies tree, there is one swagger-core_2.9.1-1.2.0.pom. It has 
> the following dependecny:
>     <dependency>
>       <groupId>com.wordnik</groupId>
>       <artifactId>swagger-annotations_2.9.1</artifactId>
>       <version>${project.parent.version}</version>
>     </dependency>
>   </dependencies>
> At the top of the POM, it defines the parent project
>   <parent>
>     <groupId>com.wordnik</groupId>
>     <artifactId>swagger-project_2.9.1</artifactId>
>     <version>1.2.0</version>
>     <relativePath>../..</relativePath>
>   </parent>
> The ${project.parent.version} is referencing swagger-project_2.9.1's 
> <version> node.
> Seems that transitive doesn't recognize the parent project definition?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to