You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Baerrach bonDierne (JIRA)" <ji...@codehaus.org> on 2006/12/18 02:13:40 UTC

[jira] Created: (MNG-2705) add jar sources in repository for snapshot builds

add jar sources in repository for snapshot builds
-------------------------------------------------

                 Key: MNG-2705
                 URL: http://jira.codehaus.org/browse/MNG-2705
             Project: Maven 2
          Issue Type: Task
            Reporter: Baerrach bonDierne
         Assigned To: Brett Porter
            Priority: Minor


When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.

This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

Paul Benedict commented on MNG-2705:
------------------------------------

Barrie, snapshot sources or non-snapshot sources, each can be deployed -- I do it all the time. You can execute "mvn install source:jar" or configure your POM to build a source jar every time (it gets added as an artifact for deployment).

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204780#action_204780 ] 

Barrie Treloar commented on MNG-2705:
-------------------------------------

I'm being lazy and lowering the barrier for people to submit bugs.

For example, a common problem I had while trying to fix problems:
I am working on plugin A which has more than one other snapshot dependency B, C, D, etc.

I only want to checkout plugin A since I am pretty sure the bug is there.
I do not want to have to chase the dragons tail and check out all snapshot dependencies on the chance that the problem is in one of those. 

Now when I am debugging plugin A because the snapshot dependencies have been downloaded from the snapshot repository and because the source jar is not available I can not step the debugger into these dependencies - since all I get is the bytecodes. 

If I find that the problem is in a dependent plugin, only then do I want to checkout from svn and run mvn install so I can fix it.

As has been noted I can checkout the source for these myself and install them locally, but this is a waste of time and effort for all the plugins that work as expected.

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

Jason van Zyl closed MNG-2705.
------------------------------

    Resolution: Won't Fix

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>             Fix For: 3.x
>
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

Brett Porter updated MNG-2705:
------------------------------

    Fix Version/s:     (was: Reviewed Pending Version Assignment)
                   2.1.x
      Component/s: POM
                   Deployment

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2
>          Issue Type: Task
>          Components: Deployment, POM
>            Reporter: Barrie Treloar
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 2.1.x
>
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

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

You can configure this yourself if you like, but if you're debugging your own code this is dead simple in the IDE. Especially M2Eclipse. You should also not be exporting snapshots to other groups to be using, they should be proper releases. So I don't much see the point in deploying source with snapshots by default. Easy enough to configure in your own POM.

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>             Fix For: 3.x
>
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

Posted by "Baerrach bonDierne (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2705?page=comments#action_82839 ] 
            
Baerrach bonDierne commented on MNG-2705:
-----------------------------------------

As per the discussion http://www.nabble.com/forum/ViewPost.jtp?post=7776225&framed=y&skin=177 this should be enabled for snapshot builds, otherwise debugging snapshots is impossible.

Follow on from MNG-398

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2
>          Issue Type: Task
>            Reporter: Baerrach bonDierne
>         Assigned To: Brett Porter
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

Brett Porter updated MNG-2705:
------------------------------

    Fix Version/s:     (was: 3.x)

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

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

Brett Porter updated MNG-2705:
------------------------------

       Assignee:     (was: Brett Porter)
    Component/s:     (was: Deployment)
                     (was: POM)
                 Bootstrap & Build

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>             Fix For: 2.1
>
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204776#action_204776 ] 

Barrie Treloar commented on MNG-2705:
-------------------------------------

Jason's comment via email:

No they shouldn't. I understood what you meant.

There should be no practice of inter-team snapshots and this would only encourage that. Within a team, or intra-team, you are going to have snapshots and you will most certainly have these checked out into your workspace so  you don't need the source jars. The second you are about to share these with someone else you have to have some reliably reproducible build that has undergone some form of release.



> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204770#action_204770 ] 

Barrie Treloar commented on MNG-2705:
-------------------------------------

As per the discussion in the nabble thread, the automated build of snapshots should also build the source jars.

This enables people wanting to work on one plugin the ability to debug and step into the source of dependencies without having to checkout every snapshot dependency.


> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

-- 
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-2705) add jar sources in repository for snapshot builds

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204778#action_204778 ] 

Barrie Treloar commented on MNG-2705:
-------------------------------------

Haven't we already got this?
We already create SNAPSHOTs that are available in a snapshot repository.
All I am asking for is that the source code jar also be deployed - for exactly the same reason you describe - depending on a SNAPSHOT is not reproducible but with the source I can see where the problems are (the module I am working on or a dependency) and do something about it.

> add jar sources in repository for snapshot builds
> -------------------------------------------------
>
>                 Key: MNG-2705
>                 URL: http://jira.codehaus.org/browse/MNG-2705
>             Project: Maven 2 & 3
>          Issue Type: Task
>          Components: Bootstrap & Build
>            Reporter: Barrie Treloar
>            Priority: Minor
>
> When using IDE like eclipse, it would be great to have dependecies sources (optionnaly) added to repository.
> This way eclipse plugin (and others) could generate a .classpath file that set "source attachement" and allow code and javadoc consult, debuging and inherited methods implementation with original parameters names.

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