You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2006/03/20 04:54:19 UTC
svn commit: r387126 -
/maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
Author: brett
Date: Sun Mar 19 19:54:18 2006
New Revision: 387126
URL: http://svn.apache.org/viewcvs?rev=387126&view=rev
Log:
correct metadata - effective-settings doesn't require a project. Clean imports.
Modified:
maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
Modified: maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java?rev=387126&r1=387125&r2=387126&view=diff
==============================================================================
--- maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java (original)
+++ maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java Sun Mar 19 19:54:18 2006
@@ -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 @@
* 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