You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rob Butler (JIRA)" <ji...@codehaus.org> on 2006/10/09 20:30:52 UTC

[jira] Created: (MIDEA-72) -DdownloadSources=true only works if sources do not already exist in local repository

-DdownloadSources=true only works if sources do not already exist in local repository
-------------------------------------------------------------------------------------

                 Key: MIDEA-72
                 URL: http://jira.codehaus.org/browse/MIDEA-72
             Project: Maven 2.x Idea Plugin
          Issue Type: Bug
         Environment: Clean install of Maven 2.04.
            Reporter: Rob Butler


Running mvn idea:idea -DdownloadSources=true will add source jars to idea project file if the source jars are downloaded (not in local repository).  If the project files are deleted and the command run again the sources will not be added to the project files because they already exist in the local repository and are not downloaded.

-- 
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: (MIDEA-72) -DdownloadSources=true only works if sources do not already exist in local repository

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MIDEA-72?page=all ]

Dennis Lundberg closed MIDEA-72.
--------------------------------

    Resolution: Cannot Reproduce

> -DdownloadSources=true only works if sources do not already exist in local repository
> -------------------------------------------------------------------------------------
>
>                 Key: MIDEA-72
>                 URL: http://jira.codehaus.org/browse/MIDEA-72
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Bug
>         Environment: Clean install of Maven 2.04.
>            Reporter: Rob Butler
>
> Running mvn idea:idea -DdownloadSources=true will add source jars to idea project file if the source jars are downloaded (not in local repository).  If the project files are deleted and the command run again the sources will not be added to the project files because they already exist in the local repository and are not downloaded.

-- 
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: (MIDEA-72) -DdownloadSources=true only works if sources do not already exist in local repository

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MIDEA-72?page=comments#action_77694 ] 
            
Dennis Lundberg commented on MIDEA-72:
--------------------------------------

I have been unable to reproduce this. Here's what I did:

1. Create a small pom with a dependency for which the sources are not in my local repo
2. Run mvn -downloadSources=true idea:idea and watch the sources get downloaded
3. Check that the sources are attached in the .iml file
4. Run mvn idea:clean to clean away the IDEA project
5. Run mvn -downloadSources=true idea:idea this time no sources are downloaded
6. Check that the sources are attached in the .iml file and they are

I'm using the latest SVN version of the plugin.


> -DdownloadSources=true only works if sources do not already exist in local repository
> -------------------------------------------------------------------------------------
>
>                 Key: MIDEA-72
>                 URL: http://jira.codehaus.org/browse/MIDEA-72
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Bug
>         Environment: Clean install of Maven 2.04.
>            Reporter: Rob Butler
>
> Running mvn idea:idea -DdownloadSources=true will add source jars to idea project file if the source jars are downloaded (not in local repository).  If the project files are deleted and the command run again the sources will not be added to the project files because they already exist in the local repository and are not downloaded.

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