[ 
https://jira.codehaus.org/browse/MANTTASKS-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MANTTASKS-212.
------------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> Maven Ant task seems to ignore artifacts with versions that start with a 
> letter
> -------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-212
>                 URL: https://jira.codehaus.org/browse/MANTTASKS-212
>             Project: Maven Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>    Affects Versions: 2.1.0, 2.1.1
>         Environment: OSX
>            Reporter: Dave Whittaker
>
> I added a dependency on 
> http://mvnrepository.com/artifact/org.xhtmlrenderer/core-renderer/R8pre2 to 
> my POM today and found that while the dependencies of core-renderer were 
> getting copied to my lib folder, the core-renderer artifact itself was not.  
> After playing around with it for a while and verifying that 
>   It still happens with the latest version of the Maven Ant tasks (I was 
> originally using v2.1.0)
>   Maven itself listed core-renderer as a compile scoped dependency when 
> running mvn dependency:tree 
>   It wasn't the flatten step in my build script that was somehow excluding it
> I tried uploading the dependency to a local repository with version 0.8pre2 
> instead or R8pre2.  When I changed my dependency to the local version the jar 
> showed up as expected.  My ant task looks like:
> <target name="lib">
>   <mkdir dir="${lib.target}" />
>   <artifact:pom id="pom" file="${basedir}/pom.xml" />
>   <artifact:dependencies pomRefId="pom" filesetId="dependencies" 
> useScope="runtime" />
>   <copy toDir="${lib.target}">
>     <fileset refid="dependencies" />
>     <mapper type="flatten" />
>   </copy>
> </target>
> And inside the POM the dependency was specified as:
> <dependency>
>   <groupId>org.xhtmlrenderer</groupId>
>   <artifactId>core-renderer</artifactId>
>   <version>R8pre2</version>
> </dependency>



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to