Author: jdcasey
Date: Tue Dec  5 20:31:23 2006
New Revision: 482889

URL: http://svn.apache.org/viewvc?view=rev&rev=482889
Log:
Adding plugin-IT plugin, starting with a staging mojo to aid the invoker plugin 
during integration testing.

Added:
    maven/sandbox/plugins/maven-plug-it-plugin/
    maven/sandbox/plugins/maven-plug-it-plugin/pom.xml   (with props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/
    maven/sandbox/plugins/maven-plug-it-plugin/src/main/
    maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/
    maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/
    maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/
    maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
   (with props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt  
 (with props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
   (with props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt   (with 
props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt   (with 
props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml
    maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml   (with props)
    maven/sandbox/plugins/maven-plug-it-plugin/src/test/
    maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/
    maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/
    maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/
    maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/
    
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
   (with props)

Added: maven/sandbox/plugins/maven-plug-it-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/pom.xml?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/pom.xml (added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/pom.xml Tue Dec  5 20:31:23 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>maven-plugins</artifactId>
+    <groupId>org.apache.maven.plugins</groupId>
+    <version>4</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.plugins</groupId>
+  <artifactId>maven-plug-it-plugin</artifactId>
+  <name>Maven Plugin-IT Plugin</name>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>maven-plugin</packaging>
+
+  <prerequisites>
+    <maven>2.0</maven>
+  </prerequisites>
+
+  <url>http://maven.apache.org/plugins/maven-plug-it-plugin</url>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>2.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-plugin-testing-tools</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-test-tools</artifactId>
+      <version>1.0-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java?view=auto&rev=482889
==============================================================================
--- 
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
 (added)
+++ 
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
 Tue Dec  5 20:31:23 2006
@@ -0,0 +1,95 @@
+package org.apache.maven.plugin.plugit;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.shared.test.plugin.PluginTestTool;
+import org.apache.maven.shared.test.plugin.TestToolsException;
+
+import java.io.File;
+
+/**
+ * Stage a plugin jar out to a testing local repository location, and rewrite 
the plugin's version
+ * (for the tests only) to a specified value (ideally this value won't 
correspond to a deployed 
+ * version, so the plugin is never resolved remotely by accident).
+ * 
+ * @goal stage
+ * @phase pre-integration-test
+ * 
+ * @author jdcasey
+ */
+public class StagePluginMojo
+    extends AbstractMojo
+{
+
+    /**
+     * Whether to allow the plugin's unit tests to run when the plugin jar is 
generated for 
+     * installation in the test local repository. This should be false if your 
plugin's unit tests
+     * run maven builds that need to have the plugin staged (via this plugin). 
In most cases, this
+     * plugin will not execute unless unit tests are run, so it should still 
be OK to skip unit
+     * tests here for improved performance.
+     * 
+     * @parameter default-value="true"
+     */
+    private boolean skipUnitTests;
+
+    /**
+     * Version to use when installing the plugin into the testing-only local 
repository.
+     * 
+     * @parameter default-value="testing"
+     * @required
+     */
+    private String pluginVersion;
+
+    /**
+     * The location of the testing-only local repository.
+     * 
+     * @parameter default-value="${project.build.directory}/local-repository"
+     * @required
+     */
+    private File repositoryDirectory;
+
+    /**
+     * Component that orchestrates the plugin staging. This plugin is really 
just a wrapper around
+     * the PluginTestTool.
+     * 
+     * @component
+     */
+    private PluginTestTool pluginTestTool;
+
+    public StagePluginMojo()
+    {
+        // used by Maven
+    }
+
+    StagePluginMojo( boolean skipUnitTests, String pluginVersion, File 
repositoryDirectory,
+                     PluginTestTool pluginTestTool )
+    {
+        this.skipUnitTests = skipUnitTests;
+        this.pluginVersion = pluginVersion;
+        this.repositoryDirectory = repositoryDirectory;
+        this.pluginTestTool = pluginTestTool;
+    }
+
+    public void execute()
+        throws MojoExecutionException, MojoFailureException
+    {
+        try
+        {
+            if ( skipUnitTests )
+            {
+                pluginTestTool.preparePluginForUnitTestingWithMavenBuilds( 
pluginVersion, repositoryDirectory );
+            }
+            else
+            {
+                pluginTestTool.preparePluginForIntegrationTesting( 
pluginVersion, repositoryDirectory );
+            }
+        }
+        catch ( TestToolsException e )
+        {
+            throw new MojoExecutionException( "Failed to stage plugin with 
version: " + pluginVersion
+                + " to test local repository: " + repositoryDirectory, e );
+        }
+    }
+
+}

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/main/java/org/apache/maven/plugin/plugit/StagePluginMojo.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt 
(added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt 
Tue Dec  5 20:31:23 2006
@@ -0,0 +1,13 @@
+  ---
+  Maven Plugin-IT Plugin: Examples Index
+  ---
+  John Casey
+  ---
+  05 December 2006
+  ---
+
+Examples Index
+
+* <<<stage>>> Mojo
+
+  * Minimal Configuration: Staging a plugin for integration testing. 
\[{{{stage/minimal.html}link}}\]

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/index.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt?view=auto&rev=482889
==============================================================================
--- 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
 (added)
+++ 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
 Tue Dec  5 20:31:23 2006
@@ -0,0 +1,55 @@
+  ---
+  Maven Plugin-IT Plugin: Stage Mojo: Minimal Example
+  ---
+  John Casey
+  ---
+  05 December 2006
+  ---
+
+Minimal Configuration for the <<<stage>>> Mojo
+
+  This example describes the minimalist case for integration-testing your 
plugin
+  using Maven builds. We're assuming your tests will be fine with the following
+  default information:
+
+  * Skip Unit Tests during Plugin Staging: <<Yes.>>
+
+  * Staged Plugin Version: <<testing>>
+
+  * Plugin Staging Local Repository: 
<<$\{project.build.directory\}/local-repository>>
+
+    <Usually <<<target/local-repository>>>.>
+
+  []
+
+  If all of this information is acceptable, simply add the following to your 
POM:
+
+---
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <artifactId>maven-plug-it-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>stage-plugin</id>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+---
+
+  <NOTE: Of course, you will have to add some other plugin to your POM to 
actually
+  execute the integration-test builds, such as the maven-invoker-plugin.>
+
+  The above configuration will result in your plugin being staged to the 
default local
+  repository location for integration testing (<<not>> your 
<<<$HOME/.m2/repository>>>
+  directory). This process will take place during the 
<<<pre-integration-test>>> phase,
+  so your plugin is ready to test when the <<<integration-test>>> phase starts.

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/examples/stage/minimal.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt (added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt Tue Dec  
5 20:31:23 2006
@@ -0,0 +1,23 @@
+  ---
+  Maven Plugin-IT Plugin (plug-it)
+  ---
+  John Casey
+  ---
+  05 December 2006
+  ---
+
+Maven Plugin-IT Plugin (plug-it)
+
+  This plugin deals with those tasks which are unique for integration-testing 
of
+  Maven plugins. Specifically, it currently contains a mojo for staging a 
plugin
+  jar out to a test-time local repository, against which multiple 
integration-test
+  builds can be run. When the plugin is staged to this testing repository, its
+  version is reset, to allow the tests to use a version which is unlikely to be
+  used in any sort of release (and therefore unlikely to be resolved from a 
remote
+  repository by accident).
+
+  * For more information about this plugin, see the {{{usage.html}usage 
instructions}}.
+
+  * For examples, see the {{{examples/index.html}examples index}}.
+
+  []

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/index.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt (added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt Tue Dec  
5 20:31:23 2006
@@ -0,0 +1,108 @@
+  ---
+  Maven Plugin-IT Plugin: Usage
+  ---
+  John Casey
+  ---
+  05 December 2006
+  ---
+
+Maven Plugin-IT Plugin Usage
+
+* <<<plug-it:stage>>>
+
+  The <<<plug-it:stage>>> mojo is quite simple to use; for many cases, the 
simplest
+  POM configuration is sufficient:
+
+---
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <artifactId>maven-plug-it-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>stage-plugin</id>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+---
+
+  In this case, the <<<stage>>> mojo will simply install your plugin - with its
+  version changed to <<<testing>>> - into 
<<<$\{project.build.directory\}/local-repository>>>.
+  By default, it will skip the unit tests for the plugin during this 
operation, since
+  unit testing is meant to happen in a different part of the main build.
+
+** Customizing the test-time version of your plugin
+
+  If you'd like to use a test-time version other than <<<testing>>> in your
+  integration-test builds, simply specify the <<<pluginVersion>>> parameter:
+
+---
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <artifactId>maven-plug-it-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>stage-plugin</id>
+            <configuration>
+              <pluginVersion>it</pluginVersion>
+            </configuration>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+---
+
+  Now, your integration-test builds should specify a version of <<<it>>> for
+  your plugin under test.
+
+** Using the <<<stage>>> mojo with unit-test builds
+
+  If, for some reason, you're running Maven builds as part of your plugin's 
unit
+  testing strategy (not sure why, but OK), you can bind the <<<stage>>> mojo to
+  a lifecycle phase that executes earlier than <<<test>>>, as follows:
+
+---
+<project>
+  [...]
+  <build>
+    [...]
+    <plugins>
+      <plugin>
+        <artifactId>maven-plug-it-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>stage-plugin</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
+---
+
+  <NOTE: Maven currently doesn't have a lifecycle phase specifically for 
preparing
+  the build for unit tests to execute, so we have to use the 
<<<process-test-classes>>>
+  phase instead.>
+

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/apt/usage.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml (added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/src/site/fml/faq.fml Tue Dec  5 
20:31:23 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+
+<!--
+  ~ Copyright 2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<faqs id="FAQ" title="Frequently Asked Questions">
+  <part id="Staging">
+    <faq id="alternative-repository-location">
+      <question>Can I use an alternative local repository location for staging 
my plugin?</question>
+      <answer>
+        <p>Definitely. Simply configure the &lt;repositoryDirectory&gt; 
parameter to point to your custom location.</p>
+      </answer>
+    </faq>
+  </part>
+</faqs>

Added: maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml?view=auto&rev=482889
==============================================================================
--- maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml (added)
+++ maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml Tue Dec  5 
20:31:23 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  ~ Copyright 2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project>
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+      <item name="Usage" href="usage.html"/>
+      <item name="FAQ" href="faq.html"/>
+    </menu>
+    
+    <menu name="Examples">
+      <item name="Examples Index" href="examples/index.html"/>
+    </menu>
+  </body>
+</project>

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/plugins/maven-plug-it-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
URL: 
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java?view=auto&rev=482889
==============================================================================
--- 
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
 (added)
+++ 
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
 Tue Dec  5 20:31:23 2006
@@ -0,0 +1,47 @@
+package org.apache.maven.plugin.plugit;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.shared.test.plugin.PluginTestTool;
+import org.apache.maven.shared.tools.easymock.TestFileManager;
+import org.codehaus.plexus.PlexusTestCase;
+
+import java.io.File;
+
+public class StagePluginMojoTest
+    extends PlexusTestCase
+{
+    
+    private PluginTestTool pluginTestTool;
+    
+    private TestFileManager fileManager = new TestFileManager( 
"StagePluginMojo.test", "" );
+    
+    public void setUp() throws Exception
+    {
+        super.setUp();
+        
+        this.pluginTestTool = (PluginTestTool) lookup( PluginTestTool.ROLE, 
"default" );
+    }
+    
+    public void tearDown() throws Exception
+    {
+        super.tearDown();
+        
+        fileManager.cleanUp();
+    }
+    
+    public void testShouldInstallThisPluginToSpecifiedTestLocalRepoLocation()
+        throws MojoExecutionException, MojoFailureException
+    {
+        File localRepoParent = fileManager.createTempDir();
+        File localRepo = new File( localRepoParent, "local-repository" );
+        
+        assertFalse( localRepo.exists() );
+        
+        // we must ALWAYS skip unit tests for this unit test...
+        new StagePluginMojo( true, "testing", localRepo, pluginTestTool 
).execute();
+        
+        assertTrue( localRepo.exists() );
+    }
+
+}

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/sandbox/plugins/maven-plug-it-plugin/src/test/java/org/apache/maven/plugin/plugit/StagePluginMojoTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"


Reply via email to