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 2007/07/07 05:11:36 UTC
svn commit: r554121 - in /maven/plugins/trunk/maven-eclipse-plugin: pom.xml
src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java
src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java
Author: brianf
Date: Fri Jul 6 20:11:35 2007
New Revision: 554121
URL: http://svn.apache.org/viewvc?view=rev&rev=554121
Log:
MECLIPSE-295: jar has incorrect version in META-INF/maven/plugin.xml
Modified:
maven/plugins/trunk/maven-eclipse-plugin/pom.xml
maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java
maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java
Modified: maven/plugins/trunk/maven-eclipse-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/pom.xml?view=diff&rev=554121&r1=554120&r2=554121
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/pom.xml Fri Jul 6 20:11:35 2007
@@ -155,7 +155,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-plugin-testing-tools</artifactId>
- <version>1.0-alpha-1</version>
+ <version>1.0-alpha-2-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java?view=diff&rev=554121&r1=554120&r2=554121
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java Fri Jul 6 20:11:35 2007
@@ -65,6 +65,11 @@
protected static File localRepositoryDirectory = getTestFile( "target/test-classes/m2repo" );
/**
+ * Pom File
+ */
+ protected static File PomFile = new File(getBasedir(),"pom.xml");
+
+ /**
* Group-Id for running test builds.
*/
protected static final String GROUP_ID = "org.apache.maven.plugins";
@@ -131,7 +136,7 @@
PluginTestTool pluginTestTool = (PluginTestTool) lookup( PluginTestTool.ROLE, "default" );
localRepositoryDirectory = pluginTestTool
- .preparePluginForUnitTestingWithMavenBuilds( "test", localRepositoryDirectory );
+ .preparePluginForUnitTestingWithMavenBuilds( PomFile, "test", localRepositoryDirectory );
System.out.println( "*** Installed test-version of the Eclipse plugin to: " + localRepositoryDirectory
+ "\n" );
Modified: maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java?view=diff&rev=554121&r1=554120&r2=554121
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java Fri Jul 6 20:11:35 2007
@@ -29,6 +29,11 @@
*/
public class EclipsePluginTest extends AbstractEclipsePluginTestCase
{
+ protected void setUp()
+ throws Exception
+ {
+ super.setUp();
+ }
public void testProject01() throws Exception
{
testProject( "project-01" );