Author: epunzalan
Date: Wed Apr  5 01:51:45 2006
New Revision: 391567

URL: http://svn.apache.org/viewcvs?rev=391567&view=rev
Log:
PR: MIDEA-43

Added expected remote-repo files and added more tests for the idea:module goal

Added:
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/general-plugin-config.xml
      - copied, changed from r391529, 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/plugin-config-exclude.xml
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/war-plugin-config.xml
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1-src.jar
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.jar
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.pom
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/
    maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/maven-metadata.xml
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/
    
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
Removed:
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/plugin-config-exclude.xml
Modified:
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
    
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ear-plugin-config.xml
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ejb-plugin-config.xml
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-plugin-config.xml
    
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-war-plugin-config.xml

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/IdeaModuleTest.java
 Wed Apr  5 01:51:45 2006
@@ -6,6 +6,7 @@
 import java.util.List;
 import java.util.Iterator;
 import java.util.ArrayList;
+import java.io.File;
 
 /*
  *  Copyright 2005-2006 The Apache Software Foundation.
@@ -161,19 +162,19 @@
                       deployDescriptor.attributeValue( "url" ) );
     }
 
-    public void testExcludes()
+    public void testGeneralConfigurations()
         throws Exception
     {
-        List expectedExcludes = new ArrayList();
-        expectedExcludes.add( 
"file://$MODULE_DIR$/src/main/resources/excluded" );
-        expectedExcludes.add( 
"file://$MODULE_DIR$/src/main/resources/excluded-too" );
-
-        Document imlDocument = executeMojo( 
"src/test/module-plugin-configs/plugin-config-exclude.xml" );
+        Document imlDocument = executeMojo( 
"src/test/module-plugin-configs/general-plugin-config.xml" );
 
         Element component = findComponent( imlDocument.getRootElement(), 
"NewModuleRootManager" );
 
         Element content = findElement( component, "content" );
 
+        List expectedExcludes = new ArrayList();
+        expectedExcludes.add( 
"file://$MODULE_DIR$/src/main/resources/excluded" );
+        expectedExcludes.add( 
"file://$MODULE_DIR$/src/main/resources/excluded-too" );
+
         List excludeList = content.elements( "excludeFolder" );
         for ( Iterator excludes = excludeList.iterator(); excludes.hasNext(); )
         {
@@ -191,15 +192,92 @@
                 expectedExcludes.remove( excluded );
             }
         }
-
         assertEquals( "Test all excludes", 0, expectedExcludes.size() );
+
+        List orderEntryList = findElementsByName( component, "orderEntry" );
+        for ( Iterator orderEntries = orderEntryList.iterator(); 
orderEntries.hasNext(); )
+        {
+            Element orderEntry = (Element) orderEntries.next();
+
+            if (  "module-library".equals( orderEntry.attributeValue( "type" ) 
) )
+            {
+                Element library = orderEntry.element( "library" );
+
+                String name = library.attributeValue( "name" );
+                assertTrue( "Test usage of fullnames", name.indexOf( ":" ) > 0 
);
+            }
+        }
+
+        File srcFile = new File( 
"target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar"
 );
+        assertTrue( "Test maven-model source is downloaded", srcFile.exists() 
);
+        srcFile = new File( 
"target/local-repo/junit/junit/3.8.1/junit-3.8.1-src.jar" );
+        assertTrue( "Test junit source is downloaded", srcFile.exists() );
+
+        File docFile = new File( 
"target/local-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar"
 );
+        assertTrue( "Test maven-model javadoc is downloaded", docFile.exists() 
);
+    }
+
+    public void testWarConfig()
+        throws Exception
+    {
+        List expectedLibs = new ArrayList();
+        expectedLibs.add( "/WEB-INF/lib/maven-model-2.0.1.jar" );
+        expectedLibs.add( "/WEB-INF/lib/junit-3.8.1.jar" );
+
+        Document imlDocument = executeMojo( 
"src/test/module-plugin-configs/war-plugin-config.xml" );
+
+        Element root = imlDocument.getRootElement();
+
+        assertEquals( "Test Project type", "J2EE_WEB_MODULE", 
root.attributeValue( "type" ) );
+
+        Element component = findComponent( root, "WebModuleBuildComponent" );
+
+        Element setting = findElement( component, "setting" );
+        assertTrue( "Test exploded url setting", "EXPLODED_URL".equals( 
setting.attributeValue( "name" ) ) );
+        assertTrue( "Test exploded url value",
+                    setting.attributeValue( "value" ).startsWith( 
"file://$MODULE_DIR$/target/" ) );
+
+        component = findComponent( root, "WebModuleProperties" );
+
+        Element deployDescriptor = component.element( "deploymentDescriptor" );
+        assertEquals( "Test deployment descriptor version", "2.3", 
deployDescriptor.attributeValue( "version" ) );
+        assertEquals( "Test deployment descriptor name", "web.xml", 
deployDescriptor.attributeValue( "name" ) );
+        assertEquals( "Test deployment descriptor optional", "false", 
deployDescriptor.attributeValue( "optional" ) );
+        assertEquals( "Test deployment descriptor file",
+                      "file://$MODULE_DIR$/src/main/web/WEB-INF/web.xml",
+                      deployDescriptor.attributeValue( "url" ) );
+
+        Element webroots = component.element( "webroots" );
+        Element webroot = webroots.element( "root" );
+        assertEquals( "Test webroot relative location", "/", 
webroot.attributeValue( "relative" ) );
+        assertEquals( "Test webroot url", 
"file://$MODULE_DIR$/src/main/webapp", webroot.attributeValue( "url" ) );
+
+        List containerElementList = findElementsByName( component, 
"containerElement" );
+        for ( Iterator containerElements = containerElementList.iterator(); 
containerElements.hasNext(); )
+        {
+            Element containerElement = (Element) containerElements.next();
+
+            assertEquals( "Test container element type", "library", 
containerElement.attributeValue( "type" ) );
+            assertEquals( "Test container element level", "module", 
containerElement.attributeValue( "level" ) );
+            assertTrue( "Test library url", containerElement.element( "url" 
).getText().startsWith( "jar://" ) );
+
+            Element attribute = findElementByNameAttribute( containerElement, 
"attribute", "method" );
+            assertEquals( "Test library method", "1", 
attribute.attributeValue( "value" ) );
+
+            attribute = findElementByNameAttribute( containerElement, 
"attribute", "URI" );
+            String attributeValue = attribute.attributeValue( "value" );
+            assertTrue( "Test library URI", expectedLibs.contains( 
attributeValue ) );
+            expectedLibs.remove( attributeValue );
+        }
+
+        assertTrue( "All libraries are present", expectedLibs.size() == 0 );
     }
 
     protected Document executeMojo( String pluginXml )
         throws Exception
     {
         List expectedDeps = new ArrayList();
-        expectedDeps.add( 
"/org.apache.maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" );
+        expectedDeps.add( 
"/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" );
         expectedDeps.add( "/junit/junit/3.8.1/junit-3.8.1.jar!/" );
 
         Document imlDocument = super.executeMojo( "module", pluginXml, "iml" );
@@ -278,9 +356,9 @@
 
                 String depUrl = root.attributeValue( "url" );
 
-                if ( depUrl.endsWith( 
"/org.apache.maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" ) )
+                if ( depUrl.endsWith( 
"/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" ) )
                 {
-                    expectedDeps.remove( 
"/org.apache.maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" );
+                    expectedDeps.remove( 
"/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar!/" );
                 }
                 else if ( depUrl.endsWith( 
"/junit/junit/3.8.1/junit-3.8.1.jar!/" ) )
                 {

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/IdeaArtifactStub.java
 Wed Apr  5 01:51:45 2006
@@ -78,6 +78,11 @@
         this.file = file;
     }
 
+    public String getType()
+    {
+        return "jar";
+    }
+
     public ArtifactVersion getSelectedVersion()
         throws OverConstrainedVersionException
     {

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/java/org/apache/maven/plugin/idea/stubs/SimpleMavenProjectStub.java
 Wed Apr  5 01:51:45 2006
@@ -17,8 +17,11 @@
  */
 
 import org.apache.maven.artifact.Artifact;
-import org.apache.maven.model.Dependency;
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.artifact.repository.DefaultArtifactRepository;
+import org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout;
 import org.apache.maven.model.Build;
+import org.apache.maven.model.Dependency;
 import org.apache.maven.model.Resource;
 import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
 
@@ -39,6 +42,8 @@
 
     private List testArtifacts;
 
+    private List remoteRepositories;
+
     public SimpleMavenProjectStub()
     {
         TestCounter.nextCount();
@@ -141,7 +146,16 @@
 
     public List getRemoteArtifactRepositories()
     {
-        return Collections.EMPTY_LIST;
+        if ( remoteRepositories == null )
+        {
+            File testRepo = new File( "src/test/remote-repo" );
+            ArtifactRepository repository = new DefaultArtifactRepository( 
"test-repo",
+                                                                           
"file://" + testRepo.getAbsolutePath(),
+                                                                           new 
DefaultRepositoryLayout() );
+            remoteRepositories = Collections.singletonList( repository );
+        }
+
+        return remoteRepositories;
     }
 
     public List getCompileSourceRoots()
@@ -188,7 +202,8 @@
         artifact.setGroupId( groupId );
         artifact.setArtifactId( artifactId );
         artifact.setVersion( version );
-        artifact.setFile( new File( "/localRepository/" + 
artifact.getId().replace( ':', '/' ) +
+        artifact.setFile( new File( "target/local-repo/" + 
artifact.getGroupId().replace( '.', '/' ) +
+                          "/" + artifact.getArtifactId() + "/" + 
artifact.getVersion() +
                           "/" + artifact.getArtifactId() + "-" + 
artifact.getVersion() + ".jar" ) );
 
         return artifact;

Copied: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/general-plugin-config.xml
 (from r391529, 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/plugin-config-exclude.xml)
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/general-plugin-config.xml?p2=maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/general-plugin-config.xml&p1=maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/plugin-config-exclude.xml&r1=391529&r2=391567&rev=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/plugin-config-exclude.xml
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/general-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -17,11 +17,11 @@
             <reactorProject 
implementation="org.apache.maven.plugin.idea.stubs.ReactorMavenProjectStub"/>
           </reactorProjects>
           <linkModules>true</linkModules>
-          <useFullNames>false</useFullNames>
-          <downloadSources>false</downloadSources>
-          <sourceClassifier>sources</sourceClassifier>
-          <downloadJavadocs>false</downloadJavadocs>
-          <javadocClassifier>javadoc</javadocClassifier>
+          <useFullNames>true</useFullNames>
+          <downloadSources>true</downloadSources>
+          <sourceClassifier>src</sourceClassifier>
+          <downloadJavadocs>true</downloadJavadocs>
+          <javadocClassifier>doc</javadocClassifier>
           <dependenciesAsLibraries>true</dependenciesAsLibraries>
           
<exclude>src/main/resources/excluded,src/main/resources/excluded-too,src/main/resources/excluded/sub</exclude>
         </configuration>

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ear-plugin-config.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ear-plugin-config.xml?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ear-plugin-config.xml
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ear-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -34,7 +34,7 @@
           <sourceClassifier>sources</sourceClassifier>
           <downloadJavadocs>false</downloadJavadocs>
           <javadocClassifier>javadoc</javadocClassifier>
-          <dependenciesAsLibraries>true</dependenciesAsLibraries>
+          <dependenciesAsLibraries>false</dependenciesAsLibraries>
         </configuration>
       </plugin>
     </plugins>

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ejb-plugin-config.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ejb-plugin-config.xml?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ejb-plugin-config.xml
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-ejb-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -34,7 +34,7 @@
           <sourceClassifier>sources</sourceClassifier>
           <downloadJavadocs>false</downloadJavadocs>
           <javadocClassifier>javadoc</javadocClassifier>
-          <dependenciesAsLibraries>true</dependenciesAsLibraries>
+          <dependenciesAsLibraries>false</dependenciesAsLibraries>
         </configuration>
       </plugin>
     </plugins>

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-plugin-config.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-plugin-config.xml?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-plugin-config.xml
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -34,7 +34,7 @@
           <sourceClassifier>sources</sourceClassifier>
           <downloadJavadocs>false</downloadJavadocs>
           <javadocClassifier>javadoc</javadocClassifier>
-          <dependenciesAsLibraries>true</dependenciesAsLibraries>
+          <dependenciesAsLibraries>false</dependenciesAsLibraries>
         </configuration>
       </plugin>
     </plugins>

Modified: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-war-plugin-config.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-war-plugin-config.xml?rev=391567&r1=391566&r2=391567&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-war-plugin-config.xml
 (original)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/min-war-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -34,7 +34,7 @@
           <sourceClassifier>sources</sourceClassifier>
           <downloadJavadocs>false</downloadJavadocs>
           <javadocClassifier>javadoc</javadocClassifier>
-          <dependenciesAsLibraries>true</dependenciesAsLibraries>
+          <dependenciesAsLibraries>false</dependenciesAsLibraries>
         </configuration>
       </plugin>
     </plugins>

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/war-plugin-config.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/war-plugin-config.xml?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/war-plugin-config.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/module-plugin-configs/war-plugin-config.xml
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1,31 @@
+<!--
+  ~  Copyright 2005-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.WarMavenProjectStub"/>
+          <localRepo>${localRepository}</localRepo>
+          <overwrite>false</overwrite>
+          <reactorProjects>
+            <reactorProject 
implementation="org.apache.maven.plugin.idea.stubs.ReactorMavenProjectStub"/>
+            <reactorProject 
implementation="org.apache.maven.plugin.idea.stubs.ReactorMavenProjectStub"/>
+            <reactorProject 
implementation="org.apache.maven.plugin.idea.stubs.ReactorMavenProjectStub"/>
+          </reactorProjects>
+          <linkModules>true</linkModules>
+          <useFullNames>false</useFullNames>
+          <downloadSources>false</downloadSources>
+          <sourceClassifier>sources</sourceClassifier>
+          <downloadJavadocs>false</downloadJavadocs>
+          <javadocClassifier>javadoc</javadocClassifier>
+          <dependenciesAsLibraries>false</dependenciesAsLibraries>
+          
<deploymentDescriptorFile>src/main/web/WEB-INF/web.xml</deploymentDescriptorFile>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1-src.jar
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1-src.jar?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1-src.jar
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1-src.jar
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1 @@
+This is not an actual jar
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.jar
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.jar?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.jar
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.jar
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1 @@
+This is a not an actual jar
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.pom
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.pom?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.pom
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/junit/junit/3.8.1/junit-3.8.1.pom
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1,6 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>junit</groupId>
+  <artifactId>junit</artifactId>
+  <version>3.8.1</version>
+</project>

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-doc.jar
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1 @@
+This is a not an actual jar
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1-src.jar
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1 @@
+This is a not an actual jar
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.jar
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1 @@
+This is a not an actual jar
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/2.0.1/maven-model-2.0.1.pom
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <parent>
+    <artifactId>maven</artifactId>
+    <groupId>org.apache.maven</groupId>
+    <version>2.0.1</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven</groupId>
+  <artifactId>maven-model</artifactId>
+  <version>2.0.1</version>
+</project>
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/maven-metadata.xml
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/maven-metadata.xml?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/maven-metadata.xml
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven-model/maven-metadata.xml
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0"?><metadata>
+  <groupId>org.apache.maven</groupId>
+  <artifactId>maven-model</artifactId>
+  <versioning>
+    <release>2.0.1</release>
+    <versions>
+      <version>2.0.1</version>
+    </versions>
+    <lastUpdated>20060327221453</lastUpdated>
+  </versioning>
+</metadata>
\ No newline at end of file

Added: 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
URL: 
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom?rev=391567&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
 (added)
+++ 
maven/plugins/trunk/maven-idea-plugin/src/test/remote-repo/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
 Wed Apr  5 01:51:45 2006
@@ -0,0 +1,340 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven</groupId>
+  <artifactId>maven</artifactId>
+  <packaging>pom</packaging>
+  <name>Maven</name>
+  <version>2.0.1</version>
+  <description>Maven is a project development management and comprehension 
tool. Based on the concept of a project object model: builds, dependency 
management, documentation creation, site publication, and distribution 
publication are all controlled from the declarative file. Maven can be extended 
by plugins to utilise a number of other development tools for reporting or the 
build process.</description>
+  <url>http://maven.apache.org/</url>
+  <issueManagement>
+    <system>jira</system>
+    <url>http://jira.codehaus.org/browse/MNG</url>
+  </issueManagement>
+  <ciManagement>
+    <system>continuum</system>
+    <notifiers>
+      <notifier>
+        <configuration>
+          <address>[email protected]</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <mailingLists>
+    <mailingList>
+      <name>Maven User List</name>
+      <subscribe>[EMAIL PROTECTED]</subscribe>
+      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+      <post>[email protected]</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-users</archive>
+      <otherArchives>
+        
<otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive>
+        
<otherArchive>http://www.nabble.com/Maven---Users-f178.html</otherArchive>
+      </otherArchives>
+    </mailingList>
+    <mailingList>
+      <name>Maven Developer List</name>
+      <subscribe>[EMAIL PROTECTED]</subscribe>
+      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+      <post>[email protected]</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
+    </mailingList>
+    <mailingList>
+      <name>Maven Commits List</name>
+      <subscribe>[EMAIL PROTECTED]</subscribe>
+      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+      <post>[email protected]</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
+    </mailingList>
+    <mailingList>
+      <name>Apache Announce List</name>
+      <subscribe>[EMAIL PROTECTED]</subscribe>
+      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
+      <post>[email protected]</post>
+      <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
+    </mailingList>
+  </mailingLists>
+  <developers>
+    <developer>
+      <id>jvanzyl</id>
+      <name>Jason van Zyl</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Chair</role>
+      </roles>
+      <timezone>-5</timezone>
+    </developer>
+    <developer>
+      <id>brett</id>
+      <name>Brett Porter</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>+10</timezone>
+    </developer>
+    <developer>
+      <id>evenisse</id>
+      <name>Emmanuel Venisse</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>jdcasey</id>
+      <name>John Casey</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>-5</timezone>
+    </developer>
+    <developer>
+      <id>kenney</id>
+      <name>Kenney Westerhof</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>Neonics</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>trygvis</id>
+      <name>Trygve Laugstol</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>vmassol</id>
+      <name>Vincent Massol</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>PMC Member</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+    <developer>
+      <id>vsiveton</id>
+      <name>Vincent Siveton</name>
+      <email>[EMAIL PROTECTED]</email>
+      <organization>ASF</organization>
+      <roles>
+        <role>Committer</role>
+      </roles>
+      <timezone>-5</timezone>
+    </developer>
+  </developers>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.1</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.1</developerConnection>
+    
<url>http://svn.apache.org/viewcvs.cgi/maven/components/tags/maven-2.0.1</url>
+  </scm>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>RELEASE</version>
+      </extension>
+    </extensions>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            
<tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+  <modules>
+    <module>maven-archiver</module>
+    <module>maven-artifact</module>
+    <module>maven-artifact-manager</module>
+    <module>maven-artifact-test</module>
+    <module>maven-core</module>
+    <module>maven-error-diagnostics</module>
+    <module>maven-model</module>
+    <module>maven-model-converter</module>
+    <module>maven-monitor</module>
+    <module>maven-plugin-api</module>
+    <module>maven-plugin-descriptor</module>
+    <module>maven-plugin-parameter-documenter</module>
+    <module>maven-plugin-registry</module>
+    <module>maven-plugin-tools</module>
+    <module>maven-profile</module>
+    <module>maven-project</module>
+    <module>maven-reporting</module>
+    <module>maven-repository-metadata</module>
+    <module>maven-script</module>
+    <module>maven-settings</module>
+  </modules>
+  <repositories>
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots</id>
+      <name>Maven Central Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </repository>
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>apache.snapshots</id>
+      <name>Apache Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </pluginRepository>
+  </pluginRepositories>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changelog-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-container-default</artifactId>
+        <version>1.0-alpha-9</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-utils</artifactId>
+        <version>1.0.5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-provider-api</artifactId>
+        <version>1.0-alpha-5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh</artifactId>
+        <version>1.0-alpha-5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-file</artifactId>
+        <version>1.0-alpha-5</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-http-lightweight</artifactId>
+        <version>1.0-alpha-5</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <distributionManagement>
+    <repository>
+      <id>repo1</id>
+      <name>Maven Central Repository</name>
+      
<url>scpexe://repo1.maven.org/home/projects/maven/repository-staging/to-ibiblio/maven2</url>
+    </repository>
+    <snapshotRepository>
+      <id>apache.snapshots</id>
+      <name>Apache Development Repository</name>
+      
<url>scpexe://minotaur.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
+    </snapshotRepository>
+    <site>
+      <id>website</id>
+      <url>scpexe://minotaur.apache.org/www/maven.apache.org/</url>
+    </site>
+  </distributionManagement>
+</project>


Reply via email to