maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r474384 [2/2] - in /maven/plugins/trunk/maven-eclipse-plugin: ./ src/main/java/org/apache/maven/plugin/eclipse/ src/main/java/org/apache/maven/plugin/eclipse/writers/ src/main/java/org/apache/maven/plugin/eclipse/writers/rad/ src/main/java/...
Date Mon, 13 Nov 2006 16:10:44 GMT
Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/InstallPluginsMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/InstallPluginsMojoTest.java?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/InstallPluginsMojoTest.java
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/InstallPluginsMojoTest.java
Mon Nov 13 08:10:39 2006
@@ -36,7 +36,7 @@
 
     private static final String VERSION = "0.0.9";
 
-    private static final String SOURCE_PATH = "M2REPO/org/codehaus/m2eclipse/" + ARTIFACT_ID
+ "/" + VERSION + "/"
+    private static final String SOURCE_PATH = "/org/codehaus/m2eclipse/" + ARTIFACT_ID +
"/" + VERSION + "/"
         + ARTIFACT_ID + "-" + VERSION + ".jar";
 
     private File sourceFile;
@@ -170,11 +170,18 @@
     {
         fileManager = new TestFileManager( "InstallPluginsMojo.test.", "" );
 
-        URL resource = Thread.currentThread().getContextClassLoader().getResource( SOURCE_PATH
);
+        URL resource = null;
+        
+        resource = Thread.currentThread().getContextClassLoader().getResource( "m2repo" +
SOURCE_PATH );
+        
+        if ( resource == null )
+        {
+            resource = Thread.currentThread().getContextClassLoader().getResource( "M2REPO"
+ SOURCE_PATH );
+        }
 
         if ( resource == null )
         {
-            throw new IllegalStateException( "Cannot find test source jar: " + SOURCE_PATH
+ " in context classloader!" );
+            throw new IllegalStateException( "Cannot find test source jar: (m2repo|M2REPO)"
+ SOURCE_PATH + " in context classloader!" );
         }
 
         sourceFile = new File( resource.getPath() );

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-01/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-01/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-01/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-01/pom.xml
Mon Nov 13 08:10:39 2006
@@ -18,6 +18,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
         </configuration>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-02/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-02/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-02/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-02/pom.xml
Mon Nov 13 08:10:39 2006
@@ -25,6 +25,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-03/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-03/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-03/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-03/pom.xml
Mon Nov 13 08:10:39 2006
@@ -50,6 +50,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-04/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-04/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-04/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-04/pom.xml
Mon Nov 13 08:10:39 2006
@@ -32,6 +32,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <outputDir>../../../../target/project-4-test/</outputDir>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-05/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-05/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-05/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-05/pom.xml
Mon Nov 13 08:10:39 2006
@@ -27,6 +27,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-06/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-06/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-06/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-06/pom.xml
Mon Nov 13 08:10:39 2006
@@ -19,6 +19,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-07/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-07/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-07/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-07/pom.xml
Mon Nov 13 08:10:39 2006
@@ -26,6 +26,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-08/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-08/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-08/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-08/pom.xml
Mon Nov 13 08:10:39 2006
@@ -21,6 +21,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-09/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-09/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-09/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-09/pom.xml
Mon Nov 13 08:10:39 2006
@@ -25,6 +25,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <outputDirectory>target/eclipse-classes</outputDirectory>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-10/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-10/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-10/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-10/pom.xml
Mon Nov 13 08:10:39 2006
@@ -25,6 +25,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-11/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-11/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-11/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-11/pom.xml
Mon Nov 13 08:10:39 2006
@@ -11,6 +11,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>R7</wtpversion>
           <projectnatures>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-12/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-12/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-12/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-12/pom.xml
Mon Nov 13 08:10:39 2006
@@ -11,6 +11,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>1.0</wtpversion>
         </configuration>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-14/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-14/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-14/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-14/pom.xml
Mon Nov 13 08:10:39 2006
@@ -11,6 +11,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <additionalProjectnatures>
             <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-18/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-18/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-18/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-18/pom.xml
Mon Nov 13 08:10:39 2006
@@ -19,6 +19,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <outputDir>../../../../target/project-18-test/</outputDir>
         </configuration>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-19/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-19/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-19/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-19/pom.xml
Mon Nov 13 08:10:39 2006
@@ -16,6 +16,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration></configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-20/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-20/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-20/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-20/pom.xml
Mon Nov 13 08:10:39 2006
@@ -11,6 +11,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <wtpversion>1.5</wtpversion>
         </configuration>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-21/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-21/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-21/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-21/pom.xml
Mon Nov 13 08:10:39 2006
@@ -10,6 +10,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <pde>true</pde>
         </configuration>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-22/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-22/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-22/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-22/pom.xml
Mon Nov 13 08:10:39 2006
@@ -13,4 +13,13 @@
       <version>3.8.1</version>
     </dependency>
   </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-23/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-23/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-23/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-23/pom.xml
Mon Nov 13 08:10:39 2006
@@ -11,6 +11,8 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
+        <extensions>true</extensions>
         <configuration>
           <additionalConfig>
             <file>

Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-24/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-24/pom.xml?view=diff&rev=474384&r1=474383&r2=474384
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-24/pom.xml
(original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/resources/projects/project-24/pom.xml
Mon Nov 13 08:10:39 2006
@@ -10,6 +10,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
+        <version>test</version>
         <configuration>
           <pde>true</pde>
         </configuration>



Mime
View raw message