We also noticed the same problem before. Seems Maven 2.0.10 is not fully compatible with Maven 2.0.9 and Tellurium is based on Maven 2.0.9. Please use Maven 2.0.9 for the time being. We will try to upgrade to Maven 2.0.10 later. I will create an issue for that.
Thanks, Jian On Wed, Jul 15, 2009 at 2:31 PM, Manoj Chavan <[email protected]>wrote: > Dont know if it is Maven issue or not.. but here is the problem I am > facing. I wanted to set up > a project on a colleagues computer and while creating the mvn create ran > into a problem > Attached in my settings.xml I looked at the xml and could not find > anything wrong with it. > Any pointers? Thank you. > > Manoj > > Command / Result.: > > D:\workspace>mvn archetype:create -DgroupId=NetFlixId -DartifactID=NetFlix > -Darc > hetypeArtifactId=tellurium-junit-archetype -DarchetypeGroupId=tellurium > -Darchet > ypeVersion=0.6.0 > --------------------------------------------------- > constituent[0]: file:/D:/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar > --------------------------------------------------- > java.lang.ClassCastException: Settings.addActiveProfiles(string) parameter > must > be instanceof java.lang.String > at > org.apache.maven.settings.Settings.addActiveProfile(Settings.java:112 > ) > at > org.apache.maven.settings.DefaultMavenSettingsBuilder.activateDefault > Profiles(DefaultMavenSettingsBuilder.java:198) > at > org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D > efaultMavenSettingsBuilder.java:178) > at > org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D > efaultMavenSettingsBuilder.java:154) > at > org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(D > efaultMavenSettingsBuilder.java:142) > at org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:344) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:200) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
