[ 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

        

Reply via email to