Closed superflav closed 12 years ago
A quick workaround might be to exclude svn from the plugin in BuildConfig.groovy:
compile (":twitter-bootstrap:2.0.2.25") { excludes 'svn' }
This stops the download and install of the svn plugin for me (I'm using Grails 2.0.0).
That did the trick, thanks!
Anyone know if this project is dead on the vine? Twitter Bootstrap is up to 2.0.4 and the code for this Grails plugin hasn't been updated in months.
Thanks for the fix @chrisbrookes.
np @kimifoud. @superflav if it's not dead, it's certainly laying very still...
Karol added me as a second admin to this project. If anybody else has the time and wants to support the plugin, feel free to talk to us :)
should be fixed now. can you test it, please?
v2.0.4 of this plugin works great for me, and without the excludes: svn. Thanks!
Hi, I also encountered the same issue using Grails 2.1.0 and twitter-bootstrap 2.0.4. This issue happened when I also installed less-resources 1.3.0.2. Is this issue related to twitter-bootstrap? Or I should report this issue to less-resources?
Can you run dependency-report to make sure that it's really the twitter bootstrap plugin that wants to include the svn plugin? I guess less-resources is still including it.
Yes, it is required by less-resource 1.3.0.2. I just reported a similar issue on that, thanks for you help.
When upgrading to Grails 2.1.0.RC2, twitter-bootstrap plugin version 2.0.2.25 throws "unable to resolve class" errors due to not being able to find org.tmatesoft.svn.*, on which it depends. Version 2.0.1.22 works just fine however.
From digging into each of the two plugin version's pom files on the Grails Repo, I noticed that the 2.0.2.25 version has a dependency on svn, whereas the 2.0.1.22 version does not.
My guess is that the 2.0.2.25 version of the plugin was published using a version of the Grails Release plugin that depended on SVN, and that the SVN dependency somehow made it's way into the pom.
Grails Artifactory-based Repo
http://repo.grails.org/grails/simple/plugins-releases-local/org/grails/plugins/twitter-bootstrap/
How to publish to the new Grails Central Repo
http://grails.github.com/grails-howtos/en/migrateToTheNewCentralRepository.html
Get the latest Grails Release Plugin, which no longer depends on SVN
http://grails.org/plugin/release
To recreate
Create a new app using grails 2.1.0.RC2. Once it's created, install twitter-bootstrap. Version 2.0.1.22 (which is not the latest version) will be downloaded and installed. Then do a grails compile and everything will complete without error.
Upgrade to the latest twitter-bootstrap by opening application.properties, and setting plugins.twitter-bootstrap=2.0.2.25 . Once that's done, do a grails compile and you'll get import errors.