You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Freeman (JIRA)" <ji...@codehaus.org> on 2006/04/27 23:04:19 UTC

[jira] Created: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Maven should get the source and javadoc jars from a repository if they are available
------------------------------------------------------------------------------------

         Key: MNG-2248
         URL: http://jira.codehaus.org/browse/MNG-2248
     Project: Maven 2
        Type: New Feature

    Reporter: Aaron Freeman
    Priority: Minor


It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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


[jira] Closed: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2248.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 3.x)

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Peter Andersen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161495#action_161495 ] 

Peter Andersen commented on MNG-2248:
-------------------------------------

well the classifier do not for this. tried to set the classifier to javadoc, it still download the sources.
Assume it is for downloading sources for different classifier of a project, such as project-version-classifier-sources.jar
but the classifier has no effect ;-)

Btw. dependency:sources do not have the performance issue as stated above (by me) - it run fast the second time.



> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153471#action_153471 ] 

Paul Gier commented on MNG-2248:
--------------------------------

The [dependency plugin|http://maven.apache.org/plugins/maven-dependency-plugin/] can be used to download sources.  And I think you could use the same "sources" goal with a configured classifier to download javadocs.  You can't put it into the settings.xml, but you could configure your pom to download sources for each build.

Does this resolve your issue?

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Aaron Freeman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=comments#action_64353 ] 

Aaron Freeman commented on MNG-2248:
------------------------------------

This should probably be implemented as an optional feature that can be turned on or off by some means.

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>          Key: MNG-2248
>          URL: http://jira.codehaus.org/browse/MNG-2248
>      Project: Maven 2
>         Type: New Feature

>     Reporter: Aaron Freeman
>     Priority: Minor

>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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


[jira] Updated: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2248:
------------------------------

    Fix Version/s:     (was: 2.1)
                   2.x

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 2.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Aaron Freeman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153492#action_153492 ] 

Aaron Freeman commented on MNG-2248:
------------------------------------

Thanks for the update, but I resolved this issue by switching to Ant and Ivy two years ago. It sounds like this plugin does what I was wanting, though.

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Updated: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2248?page=all ]

John Casey updated MNG-2248:
----------------------------

    Fix Version: 2.1

it would be nice to be able to configure your settings.xml to tell the artifact management libs to always download certain associated artifacts, by listing a set of classifiers. This would definitely need to be opt-in, and probably shouldn't fail the build if they're missing. Also, since it's such a fringe request, we'll have to be extra careful to add extensive unit testing for this feature, since it's not likely to get too much exercise in the community...

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>          Key: MNG-2248
>          URL: http://jira.codehaus.org/browse/MNG-2248
>      Project: Maven 2
>         Type: New Feature

>     Reporter: Aaron Freeman
>     Priority: Minor
>      Fix For: 2.1

>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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


[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Jamie Bisotti (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=comments#action_64488 ] 

Jamie Bisotti commented on MNG-2248:
------------------------------------

Currently, the Eclipse plug-in can do this, but it would seem to make more sense to move this functionality closer to the core.  Not everyone uses Eclipse; not everyone wants the JavaDoc for their IDE; etc...

Jamie Bisotti

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>          Key: MNG-2248
>          URL: http://jira.codehaus.org/browse/MNG-2248
>      Project: Maven 2
>         Type: New Feature

>     Reporter: Aaron Freeman
>     Priority: Minor

>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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


[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Peter Andersen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161487#action_161487 ] 

Peter Andersen commented on MNG-2248:
-------------------------------------

I like the idea to use the dependency plugin with classifications.
But it it must only try to resolve/download source and javadoc (or other classifier) on new artifacts (configurable) - for performance reasons 
"mvn dependency:source" is time consuming.      


> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Updated: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2248:
------------------------------

    Component/s: Artifacts and Repositories

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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

        

[jira] Commented: (MNG-2248) Maven should get the source and javadoc jars from a repository if they are available

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204351#action_204351 ] 

Jason van Zyl commented on MNG-2248:
------------------------------------

All the IDE integrations support this now. It's done on demand to be efficient. Downloading them if they are available greatly slows things down.

> Maven should get the source and javadoc jars from a repository if they are available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>
> It would be nice if the component that downloads a binary jar file from a repositroy would also download any available source or javadoc jars. Currently the only way to do this is by using the eclipse plugin.

-- 
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