Re: missing
Thanks wayne; following is settings.xml file from conf folder of maven please have a look at it and tell me the error as i am very much new to the maven http://maven.apache.org/SETTINGS/1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd";> Wayne Fay wrote: > >> javax.faces:jsf-api:jar:1.2_12:compile >> javax.faces:jsf-impl:jar:1.2_12:compile >> 4/23/10 4:55:53 PM IST: Missing artifact el-impl:el-impl:jar:1.0:provided >> org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT:compile >> org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:compile >> org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT:compile >> org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:provided > > It seems you are missing a declaration in your settings.xml > file. > > SNAPSHOTs are not hosted in Central. And the latest jsf-api and -impl > versions in Central is 1.2_02. > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/missing-tp28363089p28373087.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
missing
while creating a maven project in eclipse, it creates project successfully but showing following errors after building a project 4/23/10 4:55:53 PM IST: Missing artifact javax.faces:jsf-api:jar:1.2_12:compile 4/23/10 4:55:53 PM IST: Missing artifact javax.faces:jsf-impl:jar:1.2_12:compile 4/23/10 4:55:53 PM IST: Missing artifact el-impl:el-impl:jar:1.0:provided 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:provided please help me out -- View this message in context: http://old.nabble.com/missing-tp28363089p28363089.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
missing artifact
while creating a maven project in eclipse, it creates project successfully but showing following errors after building a project 4/23/10 4:55:53 PM IST: Missing artifact javax.faces:jsf-api:jar:1.2_12:compile 4/23/10 4:55:53 PM IST: Missing artifact javax.faces:jsf-impl:jar:1.2_12:compile 4/23/10 4:55:53 PM IST: Missing artifact el-impl:el-impl:jar:1.0:provided 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT:compile 4/23/10 4:55:53 PM IST: Missing artifact org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT:provided please help me out -- View this message in context: http://old.nabble.com/missing-artifact-tp28341290p28341290.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: integration problem
the command: mvn install:install-file -DgroupId=el-impl -DartifactId=el-impl -Dversion= 1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=el-impl -DartifactId=el-impl -Dversion=1. 0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) el-impl:el-impl:jar:1.0 -- 6 required artifacts are missing. for artifact: org.docs.richfaces:jsf-app:war:3.3.3 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Fri Apr 23 18:29:09 IST 2010 [INFO] Final Memory: 7M/18M [INFO] C:\sample2\jsf-app> please tell me what would be the problem for above Aleksey Didik wrote: > > Ok, I have capitulated. > > Sorry pankjajain, but it's much difficult to start maven project then 5 > minute install. > Maven environment need to be configured. Different repositories must be > added to your configuration. > Try to read what Maven is. It will lead your to the right way. > > By the way, try to change archetype version in command to earlier, like > > 3.3.1.GA > 3.3.0.GA > 3.2.2.GA > 3.3.1.GA > > May be the luck will be with you in one moment and this version of > archetype will use only releases... > > Aleksey. > > > > > 23.04.2010 16:34, pankjajain15 пишет: >> till it is asking for snapshot version >> >> >> >> Aleksey Didik wrote: >> >>> Ok, I undertsand. >>> >>> Looks like this archetype is quite difficult as I think before. >>> You need to add JBoss Snapshot repo to you maven settings.xml. >>> >>> Try to change previously added section to listed below and >>> try again with command. >>> >>> >>> >>> jboss-repo >>> >>> >>> jboss >>> http://repository.jboss.org/maven2 >>> true >>> false >>> >>> >>> >>> >>> >>> jboss-repo-snapshots >>> >>> >>> jboss-snapshots >>> http://snapshots.jboss.org/maven2/ >>> false >>> true >>> >>> >>> >>> >>> >>> jboss-repo >>> jboss-repo-snapshots >>> >>> >>> >>> >>> >>> 23.04.2010 16:11, pankjajain15 пишет: >>> >>>> i used same command as u told me >>>> >>>> the command is as follow >>>> C:\sample2>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk >>>> -Darchety >>>> peArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA >>>> -DgroupId=org >>>> .docs.richfaces -DartifactId=jsf-app >>>> -DarchetypeRepository=http://repository.jbo >>>> ss.org/maven2 >>>> >>>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >>> >>> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28341185.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: integration problem
till it is asking for snapshot version Aleksey Didik wrote: > > Ok, I undertsand. > > Looks like this archetype is quite difficult as I think before. > You need to add JBoss Snapshot repo to you maven settings.xml. > > Try to change previously added section to listed below and > try again with command. > > > > jboss-repo > > > jboss > http://repository.jboss.org/maven2 > true > false > > > > > > jboss-repo-snapshots > > > jboss-snapshots > http://snapshots.jboss.org/maven2/ > false > true > > > > > > jboss-repo > jboss-repo-snapshots > > > > > > 23.04.2010 16:11, pankjajain15 пишет: >> >> i used same command as u told me >> >> the command is as follow >> C:\sample2>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk >> -Darchety >> peArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA >> -DgroupId=org >> .docs.richfaces -DartifactId=jsf-app >> -DarchetypeRepository=http://repository.jbo >> ss.org/maven2 >> > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28340758.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: integration problem
i used same command as u told me the command is as follow C:\sample2>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -Darchety peArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA -DgroupId=org .docs.richfaces -DartifactId=jsf-app -DarchetypeRepository=http://repository.jbo ss.org/maven2 -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28340531.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: integration problem
ya i tried your command, but again foung following error -- 1) org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=ri chfaces-api -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=rich faces-api -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[u rl] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT 2) org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=ri chfaces-impl -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=rich faces-impl -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[ url] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT 3) org.richfaces.ui:richfaces-ui:jar:3.3.2.GA Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.richfaces.ui -DartifactId=richfaces -ui -Dversion=3.3.2.GA -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.richfaces.ui -DartifactId=richfaces-u i -Dversion=3.3.2.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposito ryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) org.richfaces.ui:richfaces-ui:jar:3.3.2.GA 4) el-impl:el-impl:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=el-impl -DartifactId=el-impl -Dversion= 1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=el-impl -DartifactId=el-impl -Dversion=1. 0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) el-impl:el-impl:jar:1.0 5) javax.faces:jsf-api:jar:1.2_12 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api -Dvers ion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversio n=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) javax.faces:jsf-api:jar:1.2_12 6) javax.faces:jsf-impl:jar:1.2_12 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dver sion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversi on=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.docs.richfaces:jsf-app:war:3.3.3 2) javax.faces:jsf-impl:jar:1.2_12 -- 6 required artifacts are missing. for artifact: org.docs.richfaces:jsf-app:war:3.3.3 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 12 seconds [INFO] Finished at: Fri Apr 23 16:39:44 IST 2010 [INFO] Final Memory: 7M/18M [INFO] C:\sample\jsf-app> -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28340212.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: integration problem
i did it as you said but now it showing me following errors C:\project>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -Darchetyp eArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2-GA -DgroupId=org. docs.richfaces -DartifactId=jsf-app -DarchetypeRepository=http://repository.jbos s.org/maven2 [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:generate] (aggregator-style) [INFO] [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:generate {execution: default-cli}] [INFO] Generating project in Interactive mode [INFO] Archetype defined by properties Downloading: http://repository.jboss.org/maven2/org/richfaces/cdk/maven-archetyp e-jsfwebapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar [INFO] Unable to find resource 'org.richfaces.cdk:maven-archetype-jsfwebapp:jar: 3.3.2-GA' in repository maven-archetype-jsfwebapp-repo (http://repository.jboss. org/maven2) Downloading: http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-jsf webapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar [INFO] Unable to find resource 'org.richfaces.cdk:maven-archetype-jsfwebapp:jar: 3.3.2-GA' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The desired archetype does not exist (org.richfaces.cdk:maven-archetype-j sfwebapp:3.3.2-GA) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Fri Apr 23 11:47:50 IST 2010 [INFO] Final Memory: 8M/21M [INFO] C:\project> -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28337627.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
integration problem
Hi, i want to integrate maven with richfaces , i have followed section 3.3 from this http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/GettingStarted.html link. i have installed maven on c drive on windows machine . as per instruction mentioned in above link , i created a folder "project" on c drive and run a command line from it as mentioned in above link the command is mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.3-SNAPSHOT -DgroupId=org.docs.richfaces -DartifactId=jsf-app after executing above code , it shows me following error on command prompt C:\project>mvn -e archetype:generate -DarchetypeGroupId=org.richfaces.cdk -Darche typeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.3-SNAPSHOT -Dgro upId=org.docs.richfaces -DartifactId=jsf-app + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO] task-segment: [archetype:generate] (aggregator-style) [INFO] [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus .velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [archetype:generate {execution: default-cli}] [INFO] Generating project in Interactive mode [WARNING] No archetype repository found. Falling back to central repository (htt p://repo1.maven.org/maven2). [WARNING] Use -DarchetypeRepository= if archetype's repository is elsewhere. [INFO] snapshot org.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT: chec king for updates from maven-archetype-jsfwebapp-repo Downloading: http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-jsf webapp/3.3.3-SNAPSHOT/maven-archetype-jsfwebapp-3.3.3-SNAPSHOT.jar [INFO] Unable to find resource 'org.richfaces.cdk:maven-archetype-jsfwebapp:jar: 3.3.3-SNAPSHOT' in repository maven-archetype-jsfwebapp-repo (http://repo1.maven .org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The desired archetype does not exist (org.richfaces.cdk:maven-archetype-j sfwebapp:3.3.3-SNAPSHOT) [INFO] [INFO] Trace org.apache.maven.BuildFailureException: The desired archetype does not exist (or g.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 0) 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) Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype d oes not exist (org.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT) at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execu te(CreateProjectFromArchetypeMojo.java:201) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:694) ... 17 more [INFO] [INFO] Total time: 9 seconds [INFO] Finished at: Thu Apr 22 18:52:03 IST 2010 [INFO] Final Memory: 8M/21M [INFO] C:\project> please help me out -- View this message in context: http://old.nabble.com/integration-problem-tp28337509p28337509.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: use