[ http://jira.magnolia.info/browse/MPARCH-6?page=comments#action_15483 ] Vivian Steller commented on MPARCH-6: -------------------------------------
Try using -DarchetypeVersion=1.0 instead of the 1.0.0-SNAPSHOT version as the snapshot might not be deployed which causes that error. The ResourceManager issue does not prevent the archetype to work, I think. But I'll re-check if I can fix it. > Error when creating a new Module layout > --------------------------------------- > > Key: MPARCH-6 > URL: http://jira.magnolia.info/browse/MPARCH-6 > Project: Magnolia Maven Archetypes > Issue Type: Bug > Components: module archetype > Environment: Windows XP, Maven 2 > Reporter: Giancarlo Berner > Assigned To: Vivian Steller > > When using the archetype "maven-archetype-magnolia-module" to create a module > folder (as I did successfully with Magnolia 3.0.x), I get the error > "Archetype does not exist". > The last log entry before the error is > INFO: artifact info.magnolia:maven-archetype-magnolia-module: checking for > updates from id0 > After that I get the "build error": > Embedded error: Archetype does not exist. > Unable to determine the release version > I am using the mvn command: > mvn archetype:create -DarchetypeGroupId=info.magnolia \ > -DarchetypeArtifactId=maven-archetype-magnolia-module \ > -DarchetypeVersion=1.0.0-SNAPSHOT \ > -DgroupId=com.foo.bar \ > -DartifactId=my-module \ > -DremoteRepositories=http://svn.magnolia.info/maven/snapshots > In addition there is another (minor?) error: ResourceManager : unable to find > resource 'VM_global_library.vm" in any resource loader -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
