maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r381367 - in /maven/components/branches/maven-embedder-refactor: maven-cli/src/main/java/org/apache/maven/cli/ maven-core/src/main/java/org/apache/maven/
Date Mon, 27 Feb 2006 15:52:38 GMT
Author: jvanzyl
Date: Mon Feb 27 07:52:34 2006
New Revision: 381367

URL: http://svn.apache.org/viewcvs?rev=381367&view=rev
Log:
o creating a wrapper interface for a transfer listener so we can couch everything in term
of maven and
  hide wagon.

Added:
    maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
  (with props)
Modified:
    maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/BatchModeDownloadMonitor.java
    maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
    maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java

Modified: maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/BatchModeDownloadMonitor.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/BatchModeDownloadMonitor.java?rev=381367&r1=381366&r2=381367&view=diff
==============================================================================
--- maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/BatchModeDownloadMonitor.java
(original)
+++ maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/BatchModeDownloadMonitor.java
Mon Feb 27 07:52:34 2006
@@ -19,6 +19,7 @@
 import org.apache.maven.wagon.WagonConstants;
 import org.apache.maven.wagon.events.TransferEvent;
 import org.apache.maven.wagon.events.TransferListener;
+import org.apache.maven.MavenTransferListener;
 import org.codehaus.plexus.logging.AbstractLogEnabled;
 
 /**
@@ -29,7 +30,7 @@
  */
 public class BatchModeDownloadMonitor
     extends AbstractLogEnabled
-    implements TransferListener
+    implements MavenTransferListener
 {
     public void transferInitiated( TransferEvent transferEvent )
     {

Modified: maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java?rev=381367&r1=381366&r2=381367&view=diff
==============================================================================
--- maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
(original)
+++ maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
Mon Feb 27 07:52:34 2006
@@ -19,6 +19,7 @@
 import org.apache.maven.wagon.WagonConstants;
 import org.apache.maven.wagon.events.TransferEvent;
 import org.apache.maven.wagon.events.TransferListener;
+import org.apache.maven.MavenTransferListener;
 import org.codehaus.plexus.logging.AbstractLogEnabled;
 
 /**
@@ -29,7 +30,7 @@
  */
 public class ConsoleDownloadMonitor
     extends AbstractLogEnabled
-    implements TransferListener
+    implements MavenTransferListener
 {
     private long complete;
 

Modified: maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java?rev=381367&r1=381366&r2=381367&view=diff
==============================================================================
--- maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java
(original)
+++ maven/components/branches/maven-embedder-refactor/maven-cli/src/main/java/org/apache/maven/cli/MavenCli.java
Mon Feb 27 07:52:34 2006
@@ -18,6 +18,7 @@
 
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.ParseException;
+import org.apache.maven.MavenTransferListener;
 import org.apache.maven.SettingsConfigurationException;
 import org.apache.maven.embedder.MavenEmbedder;
 import org.apache.maven.embedder.MavenEmbedderException;
@@ -25,7 +26,6 @@
 import org.apache.maven.execution.MavenExecutionRequest;
 import org.apache.maven.reactor.MavenExecutionException;
 import org.apache.maven.settings.Settings;
-import org.apache.maven.wagon.events.TransferListener;
 import org.codehaus.classworlds.ClassWorld;
 
 import java.io.File;
@@ -277,7 +277,7 @@
                 }
             }
 
-            TransferListener transferListener;
+            MavenTransferListener transferListener;
 
             if ( interactive )
             {

Added: maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java?rev=381367&view=auto
==============================================================================
--- maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
(added)
+++ maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
Mon Feb 27 07:52:34 2006
@@ -0,0 +1,12 @@
+package org.apache.maven;
+
+import org.apache.maven.wagon.events.TransferListener;
+
+/**
+ * @author Jason van Zyl
+ * @version $Revision:$
+ */
+public interface MavenTransferListener
+    extends TransferListener
+{
+}

Propchange: maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-embedder-refactor/maven-core/src/main/java/org/apache/maven/MavenTransferListener.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message