You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Larry Hamel (JIRA)" <ji...@codehaus.org> on 2007/04/22 02:26:46 UTC
[jira] Created: (MIDEA-88) version control setting lost on update
version control setting lost on update
--------------------------------------
Key: MIDEA-88
URL: http://jira.codehaus.org/browse/MIDEA-88
Project: Maven 2.x Idea Plugin
Issue Type: Bug
Affects Versions: 2.0
Environment: idea 6.0.5 windows xp
Reporter: Larry Hamel
have project with version control set to cvs.
change pom for a new dependency.
close project. in idea
mvn idea:idea
open project in idea
see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94032 ]
Dennis Lundberg commented on MIDEA-88:
--------------------------------------
Looks like you are running into MIDEA-66.
Could you please try your project using the 2.1-SNAPSHOT version of this plugin?
For instructions on how to do this, see:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94028 ]
Dennis Lundberg commented on MIDEA-88:
--------------------------------------
Let's see if I get this now. Is this correct:
1. Generate IDEA files using 'mvn idea:idea'. Version control is now available in the IDEA project files.
2. Add a new dependency.
3. Run 'mvn idea:idea' again to get the new dependency. The version control is gone from the IDEA project files.
Is this a single or multi module Maven project?
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94021 ]
Dennis Lundberg commented on MIDEA-88:
--------------------------------------
This plugin uses the scm section of your pom to configure the version control in IDEA.
Do you have an scm section in your pom?
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Larry Hamel (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94026 ]
Larry Hamel commented on MIDEA-88:
----------------------------------
Yes, scm section has been there all along, and that scm works for calls like mvn scm:checkout. Here it is, with some details edited out:
<scm>
<!-- to use this scm declaration in continuum,
must have 'ext' set up to so ssh with appropriate private key -->
<connection>scm:cvs:ext:${cvsUserName}@blah.com:/ssr/blahk:faqtory</connection>
<developerConnection>scm:cvs:ext:${cvsUserName}@blah.com:/ssr/blahk:faqtory</developerConnection>
<!--<tag>HEAD</tag>-->
<url>https://blah.com/scgi-bin/viewcvs.cgi</url>
</scm>
The key is that is clearly has 'cvs' as provider. that is the key setting that is lost in an idea:idea update.
WORKAROUND: if just updating dependencies, idea:module is sufficient and doesn't change project.
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Larry Hamel (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94043 ]
Larry Hamel commented on MIDEA-88:
----------------------------------
Yes, fixed there, thank you.
larry
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MIDEA-88.
--------------------------------
Assignee: Dennis Lundberg
Resolution: Duplicate
Fix Version/s: 2.1
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
> Assignee: Dennis Lundberg
> Fix For: 2.1
>
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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-88) version control setting lost on update
Posted by "Larry Hamel (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94031 ]
Larry Hamel commented on MIDEA-88:
----------------------------------
Single-module Maven project.
Re: your step 1: I don't think mvn idea:idea picks up the version control from the pom.xml. Do you get that to happen? In my case, it is more like:
1. Generate
2. Manually edit Idea project to add cvs version control
3. Add new dependency
4. mvn idea:idea
5. version control setting is overwritten to 'no version control'
thanks,
larry
> version control setting lost on update
> --------------------------------------
>
> Key: MIDEA-88
> URL: http://jira.codehaus.org/browse/MIDEA-88
> Project: Maven 2.x Idea Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: idea 6.0.5 windows xp
> Reporter: Larry Hamel
>
> have project with version control set to cvs.
> change pom for a new dependency.
> close project. in idea
> mvn idea:idea
> open project in idea
> see that version control setting is lost
--
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