maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r814350 - in /maven/maven-3/trunk: maven-core/src/main/java/org/apache/maven/execution/ maven-core/src/main/java/org/apache/maven/lifecycle/ maven-embedder/src/main/java/org/apache/maven/cli/
Date Sun, 13 Sep 2009 17:29:26 GMT
Author: bentmann
Date: Sun Sep 13 17:29:26 2009
New Revision: 814350

URL: http://svn.apache.org/viewvc?rev=814350&view=rev
Log:
o Refactored code

Added:
    maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java
      - copied, changed from r814297, maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/AbstractExecutionListener.java
Removed:
    maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/AbstractExecutionListener.java
Modified:
    maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
    maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java

Copied: maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java
(from r814297, maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/AbstractExecutionListener.java)
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java?p2=maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java&p1=maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/AbstractExecutionListener.java&r1=814297&r2=814350&rev=814350&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/AbstractExecutionListener.java
(original)
+++ maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java
Sun Sep 13 17:29:26 2009
@@ -1,7 +1,5 @@
-package org.apache.maven.lifecycle;
+package org.apache.maven.execution;
 
-import org.apache.maven.execution.ExecutionEvent;
-import org.apache.maven.execution.ExecutionListener;
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one

Modified: maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java?rev=814350&r1=814349&r2=814350&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
(original)
+++ maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
Sun Sep 13 17:29:26 2009
@@ -1,6 +1,5 @@
 package org.apache.maven.execution;
 
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,7 +20,9 @@
  */
 
 /**
- * Defines events that Maven fires during a build.
+ * Defines events that Maven fires during a build. <strong>Warning:</strong>
This interface might be extended in future
+ * Maven versions to support further events. Hence it is strongly recommended to derive custom
listeners from
+ * {@link AbstractExecutionListener} in order to avoid interoperability problems.
  * 
  * @author Benjamin Bentmann
  */

Modified: maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java?rev=814350&r1=814349&r2=814350&view=diff
==============================================================================
--- maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java
(original)
+++ maven/maven-3/trunk/maven-embedder/src/main/java/org/apache/maven/cli/ExecutionEventLogger.java
Sun Sep 13 17:29:26 2009
@@ -25,13 +25,13 @@
 import java.util.TimeZone;
 
 import org.apache.maven.embedder.MavenEmbedderLogger;
+import org.apache.maven.execution.AbstractExecutionListener;
 import org.apache.maven.execution.BuildFailure;
 import org.apache.maven.execution.BuildSuccess;
 import org.apache.maven.execution.BuildSummary;
 import org.apache.maven.execution.ExecutionEvent;
 import org.apache.maven.execution.MavenExecutionResult;
 import org.apache.maven.execution.MavenSession;
-import org.apache.maven.lifecycle.AbstractExecutionListener;
 import org.apache.maven.plugin.MojoExecution;
 import org.apache.maven.project.MavenProject;
 



Mime
View raw message