[ http://jira.codehaus.org/browse/MIDEA-60?page=all ]

David Hay updated MIDEA-60:
---------------------------

    Attachment: ideatest-after-module-rebuild.jar

I'm attaching two project directories.  The first, ideatest-with-source.jar, it 
my initial directory setup.  I did the following to create this project:

1. mvn archetype:create -DgroupId=com.ideatest -DartifactId=ideatest
2. cd ideatest
3. Edit pom and add dependency to spring 2.0-rc2
4. mvn idea:idea
5. Open the project in Intellij and attach source to the spring jar file

The second attachment, ideatest-after-module-rebuild.jar shows the state of the 
project after running 'mvn idea:module' in the project. Note that the sources 
are no longer attached to the spring jar file.

> Keep attached sources when replacing libraries in module
> --------------------------------------------------------
>
>                 Key: MIDEA-60
>                 URL: http://jira.codehaus.org/browse/MIDEA-60
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: David Hay
>         Attachments: ideatest-after-module-rebuild.jar, 
> ideatest-with-source.jar
>
>
> Many times, the dependencies downloaded by Maven do not have corresponding 
> source jars.  So I download the source separately and attach it to the 
> dependencies in my module.  However, if I regenerate the module, those source 
> attachments are lost.
> I'd like to see the Idea plugin (perhaps optionally) keep any source or 
> javadoc attachments that have been made.

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