Sorry for the noise, removing the following dependency fixed the problem:
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interactivity-api</artifactId>
<version>1.0-alpha-6</version>
</dependency>
It looks like something else depends on 1.0-alpha-4 and upgrading the
dependency breaks things.
Matt
On 5/8/07, Matt Raible <[EMAIL PROTECTED]> wrote:
Strangely enough, all tests pass when I use "mvn idea:idea" and run
them from IDEA.
Matt
On 5/8/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> My tests were passing fine last night, today I'm getting the following error:
>
>
> testGenerateJSF(org.appfuse.mojo.exporter.AppFuseGeneratorMojoTest)
> Time elapsed: 0 sec <<< ERROR!
> java.lang.NoSuchMethodError: initialize
> at org.codehaus.plexus.PlexusTestCase.setUp(PlexusTestCase.java:119)
> at
org.apache.maven.plugin.testing.AbstractMojoTestCase.setUp(AbstractMojoTestCase.java:62)
>
> Here's my dependencies - any ideas?
>
> <dependencies>
> <!-- This is for the prompter -->
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-interactivity-api</artifactId>
> <version>1.0-alpha-6</version>
> </dependency>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.1</version>
> </dependency>
> <dependency>
> <groupId>org.codehaus.mojo.hibernate3</groupId>
> <artifactId>maven-hibernate3-api</artifactId>
> <version>${hibernate3.plugin.version}</version>
> </dependency>
> <dependency>
> <groupId>org.codehaus.mojo.hibernate3</groupId>
> <artifactId>maven-hibernate3-jdk15</artifactId>
> <version>${hibernate3.plugin.version}</version>
> </dependency>
> <dependency>
> <groupId>org.codehaus.mojo.hibernate3</groupId>
> <artifactId>maven-hibernate3-jdk14</artifactId>
> <version>${hibernate3.plugin.version}</version>
> </dependency>
> <!-- This is to support the ant calls within the mojos -->
> <dependency>
> <groupId>ant</groupId>
> <artifactId>ant</artifactId>
> <version>1.6.5</version>
> </dependency>
> <dependency>
> <groupId>ant</groupId>
> <artifactId>ant-optional</artifactId>
> <version>1.5.3-1</version>
> </dependency>
> <dependency>
> <groupId>org.apache.maven.archetype</groupId>
> <artifactId>maven-archetype-core</artifactId>
> <version>1.0-alpha-4</version>
> <scope>test</scope>
> </dependency>
> <!--<dependency>
> <groupId>org.apache.maven</groupId>
> <artifactId>maven-core</artifactId>
> <version>2.0.4</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.maven</groupId>
> <artifactId>maven-embedder</artifactId>
> <version>2.0.4</version>
> <scope>test</scope>
> </dependency>-->
> <dependency>
> <groupId>org.apache.maven.shared</groupId>
> <artifactId>maven-plugin-testing-harness</artifactId>
> <version>1.0-beta-1</version>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>hsqldb</groupId>
> <artifactId>hsqldb</artifactId>
> <version>1.8.0.7</version>
> <scope>test</scope>
> </dependency>
> </dependencies>
>
> <properties>
>
<hibernate3.plugin.version>2.0-alpha-2-SNAPSHOT</hibernate3.plugin.version>
> </properties>
>
> Thanks,
>
> Matt
>
> --
> http://raibledesigns.com
>
--
http://raibledesigns.com
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email