You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:35:37 UTC

[maven-help-plugin] 06/09: correct metadata - effective-settings doesn't require a project. Clean imports.

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-help-plugin-2.0.1
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git

commit 2ddeeb7549d1c6e65319f36de26048f23350d5b3
Author: Brett Leslie Porter <br...@apache.org>
AuthorDate: Mon Mar 20 03:54:18 2006 +0000

    correct metadata - effective-settings doesn't require a project. Clean imports.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-help-plugin@387126 13f79535-47bb-0310-9956-ffa450edef68
---
 .../maven/plugins/help/EffectiveSettingsMojo.java  | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java b/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
index 4e52bd8..adeb2bf 100644
--- a/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
+++ b/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
@@ -1,15 +1,5 @@
 package org.apache.maven.plugins.help;
 
-import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.settings.Settings;
-import org.apache.maven.settings.io.xpp3.SettingsXpp3Writer;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.StringWriter;
-
 /*
  * Copyright 2001-2005 The Apache Software Foundation.
  *
@@ -26,11 +16,21 @@ import java.io.StringWriter;
  * limitations under the License.
  */
 
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.settings.Settings;
+import org.apache.maven.settings.io.xpp3.SettingsXpp3Writer;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.StringWriter;
+
 /** Print out the calculated settings for this project, given any profile enhancement and 
  *  the inheritance of the global settings into the user-level settings.
  *  
  * @goal effective-settings
- * 
+ * @requiresProject false
  */
 public class EffectiveSettingsMojo
     extends AbstractMojo

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.