greyblue9 / dexmaker

Automatically exported from code.google.com/p/dexmaker
1 stars 0 forks source link

Maven dependency dexmaker-mockito broken #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. include this in pom.xml:
        <!-- Mockito: mock objects -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.9.5-rc1</version>
        </dependency>
        <!-- Dexmaker: API for compile time/runtime Android code generation -->
        <dependency>
            <groupId>com.google.dexmaker</groupId>
            <artifactId>dexmaker</artifactId>
            <version>0.9</version>
        </dependency>
        <dependency>
            <groupId>com.google.dexmaker</groupId>
            <artifactId>dexmaker-mockito</artifactId>
            <version>0.9</version>
        </dependency>
2. Attempt to run (like mvn clean install android:deploy)

What is the expected output? What do you see instead?
Instead of working, I get that mvn couldn't find transitive dependency for 
mockito-core 1.9.8, a check into the pom.xml for dexmaker-mockito confirms that 
it was declaring that version of mockito as a dependency, which shouldn't make 
sense, as 1.9.5-rc1 should be the highest version currently. Just changing that 
version should resolve the issue.

Original issue reported on code.google.com by dandre.a...@gmail.com on 5 Oct 2012 at 7:48

GoogleCodeExporter commented 8 years ago
Fixed: 
https://code.google.com/p/dexmaker/source/detail?r=23d7c83cc2b1f1fd40f6f3c22d0eb
9aa9b7f6982

Original comment by limpbizkit on 10 Oct 2012 at 3:41

GoogleCodeExporter commented 8 years ago
Fixed: 
https://code.google.com/p/dexmaker/source/detail?r=23d7c83cc2b1f1fd40f6f3c22d0eb
9aa9b7f6982

Original comment by limpbizkit on 10 Oct 2012 at 3:42