Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0-M1
-
Fix Version/s: 2.3-M2
-
Component/s: Build System
-
Labels:None
-
Environment:Grails 2.0.0.BUILD-SNAPSHOT (Aug-30)
Description
grails upgrade downloads old versions of tomcat and hibernate plugin before upgrading.
grails -plain-output upgrade
|Loading Grails 2.0.0.BUILD-SNAPSHOT
|Configuring classpath
.
|Environment set to development
................................
|NOTE: Your application currently expects grails version [1.4.0.M1], this target will upgrade it to Grails 2.0.0.BUILD-SNAPSHOT
WARNING: This target will upgrade an older Grails application to 2.0.0.BUILD-SNAPSHOT.
Are you sure you want to continue?
[y,n] y
.....................
|Resolving plugin hibernate. Please wait...
|Downloading: hibernate-2.0.0.BUILD-SNAPSHOT.pom
|Downloading: grails-hibernate-2.0.0.BUILD-SNAPSHOT.zip
|Downloading: grails-hibernate-2.0.0.BUILD-SNAPSHOT.zip.sha1
|Installing zip hibernate-2.0.0.BUILD-SNAPSHOT.zip...
...
|Installed plugin hibernate-2.0.0.BUILD-SNAPSHOT
|Resolving plugin JAR dependencies
|Downloading: tomcat-1.4.0.M1.pom
|Downloading: hibernate-1.4.0.M1.pom
|Downloading: grails-tomcat-1.4.0.M1.zip
|Downloading: grails-tomcat-1.4.0.M1.zip.sha1
|Downloading: grails-hibernate-1.4.0.M1.zip
|Downloading: grails-hibernate-1.4.0.M1.zip.sha1
...
|Resolving plugin tomcat. Please wait...
|Downloading: tomcat-2.0.0.BUILD-SNAPSHOT.pom
|Downloading: grails-tomcat-2.0.0.BUILD-SNAPSHOT.zip
|Downloading: grails-tomcat-2.0.0.BUILD-SNAPSHOT.zip.sha1
|Installing zip tomcat-2.0.0.BUILD-SNAPSHOT.zip...
...
|Installed plugin tomcat-2.0.0.BUILD-SNAPSHOT
|Resolving plugin JAR dependencies
...
|Please make sure you view the README for important information about changes to your source code.
|Project upgraded
Steps to reproduce:
1. Create a new Grails app with an older version of Grails.
2. Switch to new version of Grails (GRAILS_HOME/PATH)
3. Empty the ivy2 cache and project's work directory (~/.grails/2.0.0.BUILD-SNAPSHOT/projects/projectname)
4. run "grails -plain-output upgrade"
Issue Links
- is related to
-
GRAILS-8107
"grails upgrade" won't upgrade hibernate and tomcat plugins if Grails is not able to resolve the old versions of the plugins.
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Lowering priority as I think this is less critical as long as
GRAILS-8107is resolved.