Author: dennisl
Date: Wed Sep 27 15:11:39 2006
New Revision: 450599

URL: http://svn.apache.org/viewvc?view=rev&rev=450599
Log:
[MIDEA-66] CVS support wrongly configured in IWS files due to upper/lowercase 
mismatch.

o Add translations from SCM type in Maven SCM connection URLs to IDEA VCS name 
format, for all 5 version control systems supported by IDEA 5.1.
o Add test cases.

Added:
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml
   (with props)
    
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml
   (with props)
Modified:
    
maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaWorkspaceMojo.java
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaWorkspaceTest.java

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaWorkspaceMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaWorkspaceMojo.java?view=diff&rev=450599&r1=450598&r2=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaWorkspaceMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaWorkspaceMojo.java
 Wed Sep 27 15:11:39 2006
@@ -143,10 +143,40 @@
                 {
                     scmType = connection.substring( startIndex + 1, endIndex );
 
+                    scmType = translateScmType( scmType );
+
                     return scmType;
                 }
             }
         }
         return null;
+    }
+
+    /**
+     * Translate the SCM type from the SCM connection URL to the format used by
+     * IDEA as the value for ACTIVE_VCS_NAME.
+     */
+    protected String translateScmType( String scmType )
+    {
+        if ( "cvs".equals( scmType ) )
+        {
+            return "CVS";
+        }
+        else if ( "perforce".equals( scmType ) )
+        {
+            return "Perforce";
+        }
+        else if ( "starteam".equals( scmType ) )
+        {
+            return "StarTeam";
+        }
+        else if ( "vss".equals( scmType ) )
+        {
+            return "SourceSafe";
+        }
+        else
+        {
+            return scmType;
+        }
     }
 }

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaWorkspaceTest.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaWorkspaceTest.java?view=diff&rev=450599&r1=450598&r2=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaWorkspaceTest.java
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaWorkspaceTest.java
 Wed Sep 27 15:11:39 2006
@@ -33,6 +33,30 @@
         executeMojo( "src/test/workspace-plugin-configs/min-plugin-config.xml" 
);
     }
 
+    public void testCvsScmConnectionConfig()
+        throws Exception
+    {
+        Document iwsDocument = executeMojo( 
"src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml" );
+
+        Element component = findComponent( iwsDocument.getRootElement(), 
"VcsManagerConfiguration" );
+
+        Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
+
+        assertEquals( "Test scm type from scm connection", "CVS", 
element.attributeValue( "value" ) );
+    }
+
+    public void testPerforceScmConnectionConfig()
+        throws Exception
+    {
+        Document iwsDocument = executeMojo( 
"src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml" );
+
+        Element component = findComponent( iwsDocument.getRootElement(), 
"VcsManagerConfiguration" );
+
+        Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
+
+        assertEquals( "Test scm type from scm connection", "Perforce", 
element.attributeValue( "value" ) );
+    }
+
     public void testScmConnectionConfig()
         throws Exception
     {
@@ -67,6 +91,42 @@
         Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
 
         assertEquals( "Test scm type from scm connection", "type", 
element.attributeValue( "value" ) );
+    }
+
+    public void testStarTeamScmConnectionConfig()
+        throws Exception
+    {
+        Document iwsDocument = executeMojo( 
"src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml" );
+
+        Element component = findComponent( iwsDocument.getRootElement(), 
"VcsManagerConfiguration" );
+
+        Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
+
+        assertEquals( "Test scm type from scm connection", "StarTeam", 
element.attributeValue( "value" ) );
+    }
+
+    public void testSvnScmConnectionConfig()
+        throws Exception
+    {
+        Document iwsDocument = executeMojo( 
"src/test/workspace-plugin-configs/svn-connection-plugin-config.xml" );
+
+        Element component = findComponent( iwsDocument.getRootElement(), 
"VcsManagerConfiguration" );
+
+        Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
+
+        assertEquals( "Test scm type from scm connection", "svn", 
element.attributeValue( "value" ) );
+    }
+
+    public void testVssScmConnectionConfig()
+        throws Exception
+    {
+        Document iwsDocument = executeMojo( 
"src/test/workspace-plugin-configs/vss-connection-plugin-config.xml" );
+
+        Element component = findComponent( iwsDocument.getRootElement(), 
"VcsManagerConfiguration" );
+
+        Element element = findElementByNameAttribute( component, "option", 
"ACTIVE_VCS_NAME" );
+
+        assertEquals( "Test scm type from scm connection", "SourceSafe", 
element.attributeValue( "value" ) );
     }
 
     private Document executeMojo( String pluginXml )

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,37 @@
+package org.apache.maven.plugin.idea.stubs;
+
+/*
+ *
+ *  Copyright 2006 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+import org.apache.maven.model.Scm;
+
+/**
+ * @author Dennis Lundberg
+ */
+public class MavenProjectWithCvsScmConnectionStub
+    extends SimpleMavenProjectStub
+{
+    public Scm getScm()
+    {
+        Scm scm = new Scm();
+
+        scm.setConnection( "scm:cvs:" );
+
+        return scm;
+    }
+}

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithCvsScmConnectionStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,37 @@
+package org.apache.maven.plugin.idea.stubs;
+
+/*
+ *
+ *  Copyright 2006 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+import org.apache.maven.model.Scm;
+
+/**
+ * @author Dennis Lundberg
+ */
+public class MavenProjectWithPerforceScmConnectionStub
+    extends SimpleMavenProjectStub
+{
+    public Scm getScm()
+    {
+        Scm scm = new Scm();
+
+        scm.setConnection( "scm:perforce:" );
+
+        return scm;
+    }
+}

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithPerforceScmConnectionStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,37 @@
+package org.apache.maven.plugin.idea.stubs;
+
+/*
+ *
+ *  Copyright 2006 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+import org.apache.maven.model.Scm;
+
+/**
+ * @author Dennis Lundberg
+ */
+public class MavenProjectWithStarTeamScmConnectionStub
+    extends SimpleMavenProjectStub
+{
+    public Scm getScm()
+    {
+        Scm scm = new Scm();
+
+        scm.setConnection( "scm:starteam:" );
+
+        return scm;
+    }
+}

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithStarTeamScmConnectionStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,37 @@
+package org.apache.maven.plugin.idea.stubs;
+
+/*
+ *
+ *  Copyright 2006 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+import org.apache.maven.model.Scm;
+
+/**
+ * @author Dennis Lundberg
+ */
+public class MavenProjectWithSvnScmConnectionStub
+    extends SimpleMavenProjectStub
+{
+    public Scm getScm()
+    {
+        Scm scm = new Scm();
+
+        scm.setConnection( "scm:svn:" );
+
+        return scm;
+    }
+}

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithSvnScmConnectionStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,37 @@
+package org.apache.maven.plugin.idea.stubs;
+
+/*
+ *
+ *  Copyright 2006 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+import org.apache.maven.model.Scm;
+
+/**
+ * @author Dennis Lundberg
+ */
+public class MavenProjectWithVssScmConnectionStub
+    extends SimpleMavenProjectStub
+{
+    public Scm getScm()
+    {
+        Scm scm = new Scm();
+
+        scm.setConnection( "scm:vss|" );
+
+        return scm;
+    }
+}

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/MavenProjectWithVssScmConnectionStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,32 @@
+<!--
+  ~
+  ~  Copyright 2006 The Apache Software Foundation.
+  ~
+  ~  Licensed under the Apache License, Version 2.0 (the "License");
+  ~  you may not use this file except in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~       http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-idea-plugin</artifactId>
+        <configuration>
+          <executedProject 
implementation="org.apache.maven.plugin.idea.stubs.MavenProjectWithCvsScmConnectionStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/cvs-connection-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,32 @@
+<!--
+  ~
+  ~  Copyright 2006 The Apache Software Foundation.
+  ~
+  ~  Licensed under the Apache License, Version 2.0 (the "License");
+  ~  you may not use this file except in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~       http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-idea-plugin</artifactId>
+        <configuration>
+          <executedProject 
implementation="org.apache.maven.plugin.idea.stubs.MavenProjectWithPerforceScmConnectionStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/perforce-connection-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,32 @@
+<!--
+  ~
+  ~  Copyright 2006 The Apache Software Foundation.
+  ~
+  ~  Licensed under the Apache License, Version 2.0 (the "License");
+  ~  you may not use this file except in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~       http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-idea-plugin</artifactId>
+        <configuration>
+          <executedProject 
implementation="org.apache.maven.plugin.idea.stubs.MavenProjectWithStarTeamScmConnectionStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/starteam-connection-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,32 @@
+<!--
+  ~
+  ~  Copyright 2006 The Apache Software Foundation.
+  ~
+  ~  Licensed under the Apache License, Version 2.0 (the "License");
+  ~  you may not use this file except in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~       http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-idea-plugin</artifactId>
+        <configuration>
+          <executedProject 
implementation="org.apache.maven.plugin.idea.stubs.MavenProjectWithSvnScmConnectionStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/svn-connection-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml?view=auto&rev=450599
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml
 Wed Sep 27 15:11:39 2006
@@ -0,0 +1,32 @@
+<!--
+  ~
+  ~  Copyright 2006 The Apache Software Foundation.
+  ~
+  ~  Licensed under the Apache License, Version 2.0 (the "License");
+  ~  you may not use this file except in compliance with the License.
+  ~  You may obtain a copy of the License at
+  ~
+  ~       http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~
+  -->
+
+<project>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-idea-plugin</artifactId>
+        <configuration>
+          <executedProject 
implementation="org.apache.maven.plugin.idea.stubs.MavenProjectWithVssScmConnectionStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
maven/plugins/trunk/maven-idea-plugin/src/test/workspace-plugin-configs/vss-connection-plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to