[ 
https://issues.apache.org/jira/browse/IVY-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638035#action_12638035
 ] 

Maarten Coene commented on IVY-936:
-----------------------------------

I cannot reproduce your problem.
If I add following dependency:

{noformat}
<dependency org="org.springframework" name="spring-webmvc" rev="latest.release" 
conf="default" />
{noformat}

I end up with a source declaration in the ivy-file in the cache:

{noformat}
        <publications>
                <artifact name="spring-webmvc" type="jar" ext="jar" 
conf="master"/>
                <artifact name="spring-webmvc" type="source" ext="jar" 
conf="sources" m:classifier="sources"/>
        </publications>
{noformat}

Could you post your settings.xml and build.xml file?


> Can't use latest.release for pom dependencies
> ---------------------------------------------
>
>                 Key: IVY-936
>                 URL: https://issues.apache.org/jira/browse/IVY-936
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.0-RC1
>            Reporter: Simon Brunning
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: spring-webmvc-example-resolution-from-ivy-cache.zip
>
>
> When using the ibibio resolver, the generated ivy.xml doesn't include source 
> and javadoc artifacts declaration.
> AFAIU the Maven doc, the pom.xml doesn't declare them. They declare themself 
> by being available or not.
> IvyDE does this check itself, so it works fine in Eclipse. So some code 
> should be ported from IvyDE to Ivy. Then we will be able to get the source 
> also with an ant task.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to