Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Support Specs2 1.9 #4

Closed
wants to merge 2 commits into from

2 participants

@taylorleese

I ran into two different classpath issues that took me a while to track down until I realized they were related to trying to use specs2 1.9 while the plugin was still using specs2 1.6.1 and mockito 1.8.5.

Taylor Leese added some commits
@mmakowski
Owner

Thanks for this. I'll have a look at integrating this over the weekend. The merge is trivial, but I'll have to do a bit of work to publish the release to Maven Central.

I might also fix it properly, i.e. make the plugin use whichever version of specs2 is specified in project's pom, if I find time.

@mmakowski mmakowski was assigned
@taylorleese

That would be even better.

@mmakowski
Owner

I have now updated the plugin to not pull in its own version of specs2/mockito/hamcrest. I still have issues releasing it (probably a fallout of migration from scala-tools to Sonatype OSS), but will have 0.3.0 released as soon as I manage to resolve them.

Thanks for prompting me to finally implement this properly!

@mmakowski mmakowski closed this
@taylorleese

Great, I'll give it a try once it's in the central maven repo. I've published a few artifacts there so let me know if you have any troubles.

@taylorleese

Has this been published to maven central yet?

@mmakowski
Owner

No, apologies -- haven't had the time to follow up with Sonatype guys. I'll give it a go today.

@mmakowski
Owner

0.3.0 is now in maven central. Please let me know in case of any problems with it.

@taylorleese

Thanks. It worked fine except for one nuance which is that I had to add specs2 as a dependency in my parent pom rather than each individual module's POM since I had the plugin defined in the parent pom. Not a big deal, but something you should be aware of. This actually fixed another classpath issue I was having with mockito as well.

@mmakowski
Owner

Thanks for the feedback. I opened Issue #5 to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 11, 2012
  1. support specs2 1.9

    Taylor Leese authored
  2. fix type-o in version

    Taylor Leese authored
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 8 deletions.
  1. +7 −5 .gitignore
  2. +3 −3 pom.xml
View
12 .gitignore
@@ -1,6 +1,8 @@
+.DS_Store
+*.iml
+.idea
/target
-
-/.settings
-/.cache
-/.classpath
-/.project
+/.settings
+/.cache
+/.classpath
+/.project
View
6 pom.xml
@@ -92,7 +92,7 @@
<dependency>
<groupId>org.specs2</groupId>
<artifactId>specs2_${scala.version}</artifactId>
- <version>1.6.1</version>
+ <version>1.9</version>
</dependency>
<dependency>
<groupId>com.github.scala-incubator.io</groupId>
@@ -131,7 +131,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
- <version>1.8.5</version>
+ <version>1.9.0</version>
</dependency>
</dependencies>
-</project>
+</project>
Something went wrong with that request. Please try again.