Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven dependency on powermock-api-easymock doesn't bring in easymock #440

Closed
johanhaleby opened this issue Jul 24, 2015 · 1 comment
Closed

Comments

@johanhaleby
Copy link
Collaborator

From onlyn...@gmail.com on January 08, 2013 22:42:16

What steps will reproduce the problem? 1. Added the following to my pom.xml:

\<dependency>
  \<groupId>org.powermock</groupId>
  \<artifactId>powermock-api-easymock</artifactId>
  \<version>1.5</version>
  \<scope>test</scope>
\</dependency>
  1. Ran mvn test
  2. Got the following error: package org.easymock does not exist What is the expected output? What do you see instead? I expected that since the pom for powermock-api-easymock says it depends on easymock, that it would be pulled in. However I get the error:

package org.easymock does not exist What version of the product are you using? On what operating system? Version 1.5 on linux. Please provide any additional information below. It appears to be due to the parent pom saying that easymock should be provided: http://stackoverflow.com/questions/10382220/maven-test-dependency-not-being-found

Original issue: http://code.google.com/p/powermock/issues/detail?id=420

@johanhaleby
Copy link
Collaborator Author

From johan.ha...@gmail.com on January 21, 2013 23:45:23

Yes that's because PowerMock works with different version of EasyMock so you must decide which version of EasyMock you want to depend on. Unless more people vote this up I don't think I'll change anything.

Status: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant