Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0.1
-
Component/s: None
-
Labels:None
Description
hi
I'm facing difficulties setting up a mavenised grails 1.3 project.
mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate /
-DarchetypeGroupId=org.grails -DarchetypeArtifactId=grails-maven-archetype /
-DarchetypeVersion=1.3.0 -DgroupId=mypackage.myapp -DartifactId=my-app
I have the following result:
[INFO] Unable to find resource 'org.grails:grails-maven-archetype:jar:1.3.0' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The desired archetype does not exist (org.grails:grails-maven-archetype:1.3.0) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Wed May 12 14:37:39 CEST 2010 [INFO] Final Memory: 8M/15M [INFO] ------------------------------------------------------------------------
hich is quite normal, as there is no 1.3.0 version in http://repo1.maven.org/maven2/org/grails/grails-maven-archetype/
But then, how do I set up a mavenised grails 1.3.0 up as explained here?