Maven 2.0.4, Initail setup Problem
Hi Users How can I do the setup Maven2.0.4 in my PC I am getting the following error, how can I solve this problem and Please help Thanks in Advance Sasikumar E:\maven-2.0.4mvn install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [install] [INFO] [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1281) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De faultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack aging(DefaultLifecycleExecutor.java:1011) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:975) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi nVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:158) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) ... 18 more [INFO] [INFO] Total time: 24 seconds [INFO] Finished at: Thu Jun 29 14:22:12 GMT+05:30 2006 [INFO] Final Memory: 1M/3M [INFO] E:\maven-2.0.4 Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
RE: Maven 2.0.4, Initail setup Problem
Now I am getting the following error. Actually I am doing the local repository download. [WARNING] The parameter expression: 'project.build.resources' used in mojo: 'resources' has been deprecated. Use 'projec t.resources' instead. [WARNING] The parameter expression: 'project.build.resources' used in mojo: 'resources' has been deprecated. Use 'projec t.resources' instead. [INFO] [resources:resources] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/apache/commons/io/FileUtils [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils at org.apache.maven.plugin.resources.ResourcesMojo.copyFile(ResourcesMojo.j ava:199) at org.apache.maven.plugin.resources.ResourcesMojo.copyResources(ResourcesM ojo.java:113) at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.ja va:92) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:47 5) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.jav a:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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) [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Thu Jun 29 15:44:56 GMT+05:30 2006 -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 2:54 PM To: Maven Users List Subject: Re: Maven 2.0.4, Initail setup Problem Hi, what exactly are you trying to do? You can't *setup* maven with 'mvn install'. The install goal is used to install a project artifact in you local repository. To get started with maven you should read the 'Geting Started Guide' [1] and/or the free Megere maven book [2]. If you are behind a proxy you also want to read the proxy setup guide [3]. Hope this helps -Tim [1] http://maven.apache.org/guides/getting-started/index.html [2] http://library.mergere.com/ [3] http://maven.apache.org/guides/mini/guide-proxies.html NATARAJAN Sasi Kumar schrieb: Hi Users How can I do the setup Maven2.0.4 in my PC I am getting the following error, how can I solve this problem and Please help Thanks in Advance Sasikumar E:\maven-2.0.4mvn install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [install] [INFO] [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
RE: [m2] goals for plugins
It may 'M2 -g' Sasi -Original Message- From: Mueffke, Friedger [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 3:46 PM To: users@maven.apache.org Subject: [m2] goals for plugins Hi, Is there a way to find out about valid goals of a plugin/all plugins available? I am looking for the one that creates reports of dependent projects. And I am curious what else I could do with the available plugins for m2. Thanks, Friedger Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re-send: ear question
Hai (maven 1.0.2) Can you do following settings(build.properties) maven.ear.final.name = petstore// ear file name maven.ear.src= ${maven.build.dir}/checkouts/Record // jar or class file location maven.ear.manifest = ${maven.ear.src}/META-INF/MANIFEST.MF / manifest file location maven.ear.appxml = ${maven.ear.src}/META-INF/application.xml // file may contain information of jar file name Cheers Sasikumar -Original Message- From: Anthony Kong [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 1:04 PM To: users@maven.apache.org Subject: Re-send: ear question Sorry. Hit the send button by mistake. Here is the complete message: Hi, all, I have the ear goal to build a ear file but it turns out that it does not include any class or jar files. Any suggestion to how I can solve this problem? The only property I used concering ear is this: maven.ear.appxml=${basedir}/resources/ear/META-INF/application.xml Cheers, AK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: help needed
Hai vijay Maven(1.0.2) Can you use following tag in plugin.jelly taskdef name=ftp classname=org.apache.tools.ant.taskdefs.optional.net.FTP / ant:ftp .. Cheers Sasikumar -Original Message- From: gonthina kishore [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 3:21 PM To: Maven Users List; dan tran Subject: Re: help needed Hi all, I checked in the archives. I couldnot found anything regarding how to load ftp tag. I searched by using the key ANT FTP with Maven. By seeing those archives i am not getting the clear idea. In those archives also it was not there how to load ftp tag. Plz help me Thanks Vijay --- dan tran [EMAIL PROTECTED] wrote: http://marc.theaimsgroup.com/?l=turbine-maven-user search for ANT FTP with Maven On 7/19/05, Rinku [EMAIL PROTECTED] wrote: you could google for maven mail archives here they are: (All archives) http://mail-archives.apache.org/mod_mbox/ (Maven user list archives) http://mail-archives.apache.org/mod_mbox/maven-users/ gonthina kishore wrote: Hi, I am new to this environment. I am not having the idea of how to load ftp tag by searching the archive. where the archive will be present. Plz help me Thanks Vijay --- dan tran [EMAIL PROTECTED] wrote: you need to load the ftp tag, search the archive for solution. -D On 7/19/05, gonthina kishore [EMAIL PROTECTED] wrote: Hi, I am trying to use the ant:ftp task in my script. I wrote the task as ant:ftp server=193.183.69.30 port=21 userid=auto password=abc ant:fileset dir=/home/cwzip/ /ant:ftp I setted the classpath for the 3 jar files jakarta-oro-2.0.8.jar NetComponents.jar commons-net-1.2.2.jar When i run the script i am getting the error as Could not convert tag: ftp into an Ant task, data type or property ftp password=abc.123 userid=autoscan server=193.186.79.34 port=21/ftp plz help me Thanks Vijay __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: zip not including empty directories in zip file
Hai Vinod (Maven1.0.2) Can you refer following url http://ant.apache.org/manual/CoreTasks/zip.html and use this EX: zip destfile=${dist}/manual.zip zipfileset dir=htdocs/manual prefix=docs/user-guide/ zipfileset dir=. includes=ChangeLog27.txt fullpath=docs/ChangeLog.txt/ zipfileset src=examples.zip includes=**/*.html prefix=docs/examples/ /zip Cheers Sasikumar -Original Message- From: Vinod Panicker [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 4:48 PM To: Maven Users List Subject: ant:zip not including empty directories in zip file Hi, I noticed that the ant:zip directive is not including empty directories in the destination zip file. Read that this was fixed in ant version1.6.3. I'm running ant 1.6.5 and Maven 1.0.2. I've also updated all the Maven plugins to the latest version and am still getting this problem. Any clues? Regards, Vinod. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Weblogic workspace(IDE) with maven
Hai All I would like to enable (or add) maven feature in weblogic IDE. How can I do that? Help can be appreciated. Thanks in Advance. Cheers Sasikumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
RE: [m2] Secure Passwords in the settings.xml
Hi All, I would like to read a file and store the contents to a maven variable (v 1.0.2) Thanks, Sasikumar Natarajan -Original Message- From: McGarr, Joseph M. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 4:58 PM To: 'Maven Users List' Subject: RE: [m2] Secure Passwords in the settings.xml Does anybody have any insight into this? -Original Message- From: McGarr, Joseph M. [mailto:[EMAIL PROTECTED] Sent: Sunday, July 03, 2005 2:19 PM To: 'users@maven.apache.org' Subject: [m2] Secure Passwords in the settings.xml Has there been any talk about adding security to the server passwords contained in the settings.xml file? Currently, the only way I have found to provide a server password is in plain text. Would there be a way to prompt the user for their password mid-build, and then have maven store an encrypted version of this password in the settings.xml file. I could also be missing some other feature that would solve my problem. Any help would be greatly appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: unable to deploy site using ftp
Hai Arnaud I wrote custom plugin with Brett help. FTP is working for me Maven 1.0.2 with ant 1.6. I use following code forehead.config file [root] ${maven.home}/lib/ant-optional-1.5.3-1.jar ${maven.home}/lib/NetComponents.jar Plugin.jelly file goal name=source:ftp description=Copy the artifacts taskdef name=ftp classname=org.apache.tools.ant.taskdefs.optional.net.FTP / ant:ftp server=${maven.remote.machine} userid=${maven.remote.user} password=${maven.remote.password} remotedir=${maven.remote.dir} fileset dir=${maven.ftp.source} include name=**/*.*/ /fileset /ant:ftp /goal Build.properties file maven.remote.machine= maven.remote.user= maven.remote.password= maven.remote.port= maven.ftp.source= Cheers Sasikumar -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 12:22 PM To: Maven Users List Subject: Re: unable to deploy site using ftp The site:ftpdeploy goal doesn't work in maven 1.0.X. It's documented on subversion but it was not published :-( It's weird, I thought Brett did it. This issue is resolved in maven 1.1 which uses ant 1.6. Sorry Arnaud On 7/4/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote: Hai You can set following in forehead.config. This file available in maven bin directory. [root] ${maven.home}/lib/ant-optional-1.5.3-1.jar Cheers Sasikumar -Original Message- From: edovale [mailto:[EMAIL PROTECTED] Sent: Sunday, July 03, 2005 7:06 PM To: 'Maven Users List' Subject: unable to deploy site using ftp Hello there, I am trying to deploy the site using ftp and I am getting anexception saying the maven is unable to find classorg.apache.tools.ant.taskdefs.optional.net.FTP. When I look into the lib folder in my maven installationfolder I see there is ant-optional-1.5.3-1.jar and the the class org.apache.tools.ant.taskdefs.optional.net.FTPis in there. Have any one had this problem before?? Here goes the stack trace obtained running maven #8211;X Thanks. BUILD FAILED File.. C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6. 1\plugin.jelly Element... taskdef Line.. 130 Column 6 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be found com.werken.werkz.UnattainableGoalException: Unable to obtaingoal [site:deploy] -- C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin .jelly:130:6: taskdef taskdef classorg.apache.tools.ant.taskdefs.optional.nethttp://classorg.apache.t ools.ant.taskdefs.optional.net .FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) atcom.werken.werkz.Goal.attain(Goal.java:575) atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263) atorg.apache.maven.cli.App.doMain(App.java:488) atorg.apache.maven.cli.App.main(App.java:1239) atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) atjava.lang.reflect.Method.invoke(Method.java:585) atcom.werken.forehead.Forehead.run(Forehead.java:551) atcom.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Documents andSettings\edovale\.m aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:taskdef taskdef class o rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav a:683) atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) atcom.werken.werkz.Goal.fire(Goal.java:639) atcom.werken.werkz.Goal.attain(Goal.java:575) atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) atcom.werken.werkz.Goal.fire(Goal.java:639) atcom.werken.werkz.Goal.attain(Goal.java:575) atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671
RE: unable to deploy site using ftp
Hai You can set following in forehead.config. This file available in maven bin directory. [root] ${maven.home}/lib/ant-optional-1.5.3-1.jar Cheers Sasikumar -Original Message- From: edovale [mailto:[EMAIL PROTECTED] Sent: Sunday, July 03, 2005 7:06 PM To: 'Maven Users List' Subject: unable to deploy site using ftp Hello there, I am trying to deploy the site using ftp and I am getting anexception saying the maven is unable to find classorg.apache.tools.ant.taskdefs.optional.net.FTP. When I look into the lib folder in my maven installationfolder I see there is ant-optional-1.5.3-1.jar and the the class org.apache.tools.ant.taskdefs.optional.net.FTPis in there. Have any one had this problem before?? Here goes the stack trace obtained running maven #8211;X Thanks. BUILD FAILED File.. C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6. 1\plugin.jelly Element... taskdef Line.. 130 Column 6 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be found com.werken.werkz.UnattainableGoalException: Unable to obtaingoal [site:deploy] -- C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin .jelly:130:6: taskdef taskdef classorg.apache.tools.ant.taskdefs.optional.net .FTP cannot be found at com.werken.werkz.Goal.fire(Goal.java:646) atcom.werken.werkz.Goal.attain(Goal.java:575) atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263) atorg.apache.maven.cli.App.doMain(App.java:488) atorg.apache.maven.cli.App.main(App.java:1239) atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) atjava.lang.reflect.Method.invoke(Method.java:585) atcom.werken.forehead.Forehead.run(Forehead.java:551) atcom.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: C:\Documents andSettings\edovale\.m aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:taskdef taskdef class o rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav a:683) atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288) atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) atcom.werken.werkz.Goal.fire(Goal.java:639) atcom.werken.werkz.Goal.attain(Goal.java:575) atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) atcom.werken.werkz.Goal.fire(Goal.java:639) atcom.werken.werkz.Goal.attain(Goal.java:575) atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263) atorg.apache.maven.cli.App.doMain(App.java:488) atorg.apache.maven.cli.App.main(App.java:1239) atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) atjava.lang.reflect.Method.invoke(Method.java:585) atcom.werken.forehead.Forehead.run(Forehead.java:551) atcom.werken.forehead.Forehead.main(Forehead.java:581) Caused by: taskdef classorg.apache.tools.ant.taskdefs.optional.net.FTP cannot b e found atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240) atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162) atorg.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) ... 23 more Caused by: java.lang.NoClassDefFoundError:com/oroinc/net/ftp/FTP atjava.lang.Class.getDeclaredConstructors0(Native Method) atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328) atjava.lang.Class.getDeclaredConstructors(Class.java:1808) atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja va:484)
File Reading from maven
Hai All I would like read a file content and stored to maven variable (v 1.0.2) Thanks in Advance Sasikumar Natarajan Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
while run the Goal, how can I get Status by mail
Hai Maven Users 1.I integrated all goals in maven.xml. While run one goal, it initiates all dependent goals also ok, how I can get through mail all goals status. 2.what is the purpose of following tag in project.xml developer nameSasikumar/name idSasi/id email[EMAIL PROTECTED]/email organizationABC/organization /developer Thanks in Advance Cheers Sasikumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
Geronimo Remote Deployment
Hai All The following code is possible to deploy local. But I am expecting remote deployment how can I do. Anyone has idea please advice to me Thanks in Advance Kumar !-- === -- !-- Geronimo SETTINGS -- !-- === -- maven.geronimo.module=E:/Temp/jspaxissamples.war maven.geronimo.user=system maven.geronimo.password=manager maven.geronimo.home=D:/geronimo-1.0-M3 !-- == -- !-- Geronimo Deployment !-- == -- goal name=geronimo:deploy description=Deploys an application attainGoal name=geronimo:log/ java jar =${maven.geronimo.home}/bin/deployer.jar fork=true classpath refid=maven.dependency.classpath / arg value=--user/ arg value=${maven.geronimo.user}/ arg value=--password/ arg value=${maven.geronimo.password}/ arg value=deploy/ arg value=${maven.geronimo.module}/ /java /goal Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
RE: [Maven 1.0.2] How to do SSH/SCP/SFTP ?
Hai Alexandre SCP Goal , you can install OpenSSH in the server and pscp.exe also. Client side you can run pscp.exe and pageand.exe then use below code to your plugin.jelly and run the goal. Do you need question reply to me. pscp -scp localfile [EMAIL PROTECTED]:remotefile use this line for testing purpose. goal name=maven:pscp description=scp copy ant:exec executable=d:/Temp/pscp.exe ant:arg line=-v/ ant:arg line=D:/Temp/example.txt [EMAIL PROTECTED]:d:/Temp / echoCommand Executed/echo /ant:exec The above code working for me. And SFTP goal you can use 'taskdef' import that class and it will work Thanks Kumar -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 12:43 PM To: Maven Users List Subject: [Maven 1.0.2] How to do SSH/SCP/SFTP ? Hi all, I am using maven 1.0.2 with JDK 1.4.2. How can I do SSH SCP and SFTP? I was try ant:scp and ant:ssh but these tasks are not available into this version of maven. Do I try to execute the command with ant:exec ? Thanks for your help Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Maven 1.0.2] How to do SSH/SCP/SFTP ?
-Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 2:35 PM To: Maven Users List Subject: Re: [Maven 1.0.2] How to do SSH/SCP/SFTP ? Thanks for your response pscp -scp -pwd ** localfile [EMAIL PROTECTED]:remotefile how do you pass the password ? Did you create public and private keys and log on your server without pass any password ? Thanks Alexandre NATARAJAN Sasi Kumar wrote: Hai Alexandre SCP Goal , you can install OpenSSH in the server and pscp.exe also. Client side you can run pscp.exe and pageand.exe then use below code to your plugin.jelly and run the goal. Do you need question reply to me. pscp -scp localfile [EMAIL PROTECTED]:remotefile use this line for testing purpose. goal name=maven:pscp description=scp copy ant:exec executable=d:/Temp/pscp.exe ant:arg line=-v/ ant:arg line=D:/Temp/example.txt [EMAIL PROTECTED]:d:/Temp / echoCommand Executed/echo /ant:exec The above code working for me. And SFTP goal you can use 'taskdef' import that class and it will work Thanks Kumar -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 12:43 PM To: Maven Users List Subject: [Maven 1.0.2] How to do SSH/SCP/SFTP ? Hi all, I am using maven 1.0.2 with JDK 1.4.2. How can I do SSH SCP and SFTP? I was try ant:scp and ant:ssh but these tasks are not available into this version of maven. Do I try to execute the command with ant:exec ? Thanks for your help Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Maven 1.0.2] How to do SSH/SCP/SFTP ?
pscp -scp -pwd ** localfile [EMAIL PROTECTED]:remotefile let me know your comments Kumar -Original Message- From: NATARAJAN Sasi Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:58 PM To: Maven Users List Subject: RE: [Maven 1.0.2] How to do SSH/SCP/SFTP ? -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 2:35 PM To: Maven Users List Subject: Re: [Maven 1.0.2] How to do SSH/SCP/SFTP ? Thanks for your response pscp -scp -pwd ** localfile [EMAIL PROTECTED]:remotefile how do you pass the password ? Did you create public and private keys and log on your server without pass any password ? Thanks Alexandre NATARAJAN Sasi Kumar wrote: Hai Alexandre SCP Goal , you can install OpenSSH in the server and pscp.exe also. Client side you can run pscp.exe and pageand.exe then use below code to your plugin.jelly and run the goal. Do you need question reply to me. pscp -scp localfile [EMAIL PROTECTED]:remotefile use this line for testing purpose. goal name=maven:pscp description=scp copy ant:exec executable=d:/Temp/pscp.exe ant:arg line=-v/ ant:arg line=D:/Temp/example.txt [EMAIL PROTECTED]:d:/Temp / echoCommand Executed/echo /ant:exec The above code working for me. And SFTP goal you can use 'taskdef' import that class and it will work Thanks Kumar -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 12:43 PM To: Maven Users List Subject: [Maven 1.0.2] How to do SSH/SCP/SFTP ? Hi all, I am using maven 1.0.2 with JDK 1.4.2. How can I do SSH SCP and SFTP? I was try ant:scp and ant:ssh but these tasks are not available into this version of maven. Do I try to execute the command with ant:exec ? Thanks for your help Alexandre - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
remote system bat file execution
Hi All I am trying remote system .bat file need to execute through my location PC. How can I achieve this by use maven with ant. I tried so for goal name=maven:ssh description=scp copy taskdef name=sshexec classname=org.apache.tools.ant.taskdefs.optional.ssh.SSHExec classpathref=${maven.dependency.classpath}/ sshexec host=${maven.remote.machine} username=${maven.remote.user} password=${maven.remote.password} command=exec ant:exec executable=d:/Temp/sample.bat/ /sshexec /goal D:\Maven1\binmaven maven:ssh __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD FAILED File.. C:\Documents and Settings\snatarajan2\.maven\cache\maven-webtest-plugin-0.1.0\plugin.jell y Element... taskdef Line.. 84 Column 134 Reference not found. Total time: 2 seconds Finished at: Tue May 24 09:51:55 GMT+05:30 2005 Any one has idea advice me Thanks in Advance Kumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
RE: plugins information
http://maven.apache.org/reference/plugins/war/ Kumar -Original Message- From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 6:41 PM To: Maven Users List Subject: plugins information Hi to all, Where can I find some documentation regarding the maven 2.0 plugins (for example, for the maven-war-plugin which configuration parameters exist)? Pedro Salgado - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
C# compile by use Maven1.x, i got build failed
Hai all i am compiling C# using ant task in maven 1.x, if compile one file no problem if compile more than one file , i got Build failed do you know anyone the above question advise me thanks in advance I am using tag goal name=csc:c# description=Compile C# ant:csc srcdir =${basedir} targettype=exe incremental=false destdir=${basedir}/target/net/ src dir=${basedir}/*.cs includes=*.cs / /ant:csc /goal I am getting ERROR D:\Maven1\binmaven csc:c# __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: csc:c#: [csc] compiling 2 files [csc] Executing 'csc' with arguments: '/nologo' '/debug+' '/incremental-' '/optimize-' '/target:exe' '/warn:3' '/nostdlib-' '/reference:Accessibility.dll;cscompmgd.dll;CustomMarshalers.dll;Mscorcf g.dll;System.Configuration.Install.dll;System.Da .dll;System.Design.dll;System.DirectoryServices.dll;System.EnterpriseSer vices.dll;System.dll;System.Drawing.Design.dll;S tem.Drawing.dll;System.Management.dll;System.Messaging.dll;System.Runtim e.Remoting.dll;System.Runtime.Serialization.Form ters.Soap.dll;System.Security.dll;System.ServiceProcess.dll;System.Web.d ll;System.Web.RegularExpressions.dll;System.Web. rvices.dll;System.Windows.Forms.dll;System.XML.dll;' '/fullpaths' 'D:\Maven1\bin\Class1.cs' 'D:\Maven1\bin\Class2.cs' The ' characters around the executable and arguments are not part of the command. [csc] d:\Maven1\bin\Class1.cs(16,15): error CS0017: Program 'd:\Maven1\bin\Class1.exe' has more than one entry point efined: 'EnvironmentVariables.Class1.Main()' [csc] d:\Maven1\bin\Class2.cs(16,15): error CS0017: Program 'd:\Maven1\bin\Class1.exe' has more than one entry point efined: 'EnvironmentVariables.Class2.Main()' BUILD FAILED File.. C:\Documents and Settings\snatarajan2\.maven\cache\maven-webtest-plugin-0.1.0\plugin.jell y Element... ant:csc Line.. 75 Column 104 CSC returned: 1 Total time: 2 seconds Finished at: Mon Apr 25 12:16:06 GMT+05:30 2005 Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
Ant task using Maven1.0.2 ant:exec ../
I want to execute cmd file with argument, I have wrote following tag in plugin.jelly goal name=maven:bdcmd description=xczxczxkl !-- execute bdcmd -- ant:exec executable=bdcmd.cmd dir=${maven.exec.target} os=Windows XP output=dir.txt arg line=-sub BP / arg line=-version 1 / arg line=-mode deploy/ /ant:exec /goal I am getting ERROR D:\Maven1\binmaven mcone:bdcmd __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD FAILED File.. C:\Documents and Settings\snatarajan2\.maven\cache\maven-webtest-plugin-0.1.0\plugin.jell y Element... ant:exec Line.. 61 Column 106 Execute failed: java.io.IOException: CreateProcess: bdcmd.cmd -sub BP -version 1 -mode deploy error=2 Total time: 2 seconds Finished at: Thu Apr 21 11:27:01 GMT+05:30 2005 D:\Maven1\bin Anyone knows ant:exec / let me know Thanks in Advance Kumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
how can i use ant task in our own custom plugin
I used some own goal in plugin.jelly file maven1.x, Likewise where I have to put our own goal in Maven2 and I am using **.mmld file for create custom plugin is it correct .. , how can i use ant task in our own custom plugin Thanks in Advance Kumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
how can i put war,jar file our own location
created war, jar . it goes to local repository, is there any way to put my own location, which tag i need to add Thanks in Advance Kumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
How can I use multiproject Goal in Maven2
I tried m2 multiproject unable to download Downloading: org/apache/maven/plugins/maven-multiproject-plugin/1.0-SNAPSHOT/maven-mu ltiproject-plugin-1.0-SNAPSHOT.jar I am getting ERROR D:\Maven2.0\binm2 multiproject [INFO] [INFO] Building null [INFO] Downloading: org/apache/maven/plugins/maven-multiproject-plugin/1.0-SNAPSHOT/maven-mu ltiproject-plugin-1.0-SNAPSHOT.jar [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 --- constituent[0]: file:/D:/Maven2.0/bin/../lib/commons-cli-1.0-beta-2.jar constituent[1]: file:/D:/Maven2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar constituent[2]: file:/D:/Maven2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar constituent[3]: file:/D:/Maven2.0/bin/../lib/maven-core-2.0-alpha-1.jar constituent[4]: file:/D:/Maven2.0/bin/../lib/maven-model-2.0-alpha-1.jar constituent[5]: file:/D:/Maven2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar constituent[6]: file:/D:/Maven2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar constituent[7]: file:/D:/Maven2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar constituent[8]: file:/D:/Maven2.0/bin/../lib/maven-settings-2.0-alpha-1.jar constituent[9]: file:/D:/Maven2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar constituent[10]: file:/D:/Maven2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar constituent[11]: file:/D:/Maven2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar constituent[12]: file:/D:/Maven2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar constituent[13]: file:/D:/Maven2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar --- org.apache.maven.reactor.ReactorException: Error executing project within the reactor at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:144) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error during lifecycle execution at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:154) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) ... 9 more Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: The artifact is not present locally as: org/apache/maven/plugins/maven-multiproject-plugin/1.0-SNAPSHOT/maven-mu ltiproject-plugin-1.0-SNAPSHOT.jar or in any of the specified remote repositories: http://repo1.maven.org/maven2 at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:131) at org.codehaus.plexus.DefaultArtifactEnabledContainer.addComponent(Default ArtifactEnabledContainer.java:93) at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:299) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:272) at org.apache.maven.plugin.DefaultPluginManager.verifyPluginForGoal(Default PluginManager.java:219) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyMojoPhase(Defa ultLifecycleExecutor.java:377) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoalChain(Def aultLifecycleExecutor.java:353) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:136) ... 11 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul tWagonManager.java:196) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:119) ... 18 more D:\Maven2.0\bin Anyone have solution for this Goal Thanks in Advance Kumar
unable to create war file by using maven2
I used following tag, shall I need any change on the tag?. Please let me know project model modelVersion4.0.0/modelVersion groupIdcom.mycompany.app/groupId artifactIdmy-app/artifactId packagingjar/packaging version1.0-SNAPSHOT/version build sourceDirectory ${basedir}/src/java /sourceDirectory /build dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /model model modelVersion4.0.0/modelVersion groupIdcom.mycompany.app/groupId artifactIdmy-webapp/artifactId packagingwar/packaging version1.0-SNAPSHOT/version dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build plugins plugin artifactIdmaven-war-plugin/artifactId version1.0-alpha-1/version configuration warNamemy-webapp/warName /configuration /plugin /plugins /build /model /project I am getting following ERROR D:\Maven2.0\binm2 install [INFO] [INFO] Building null [INFO] [INFO] [resources:resources] [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Setting reports dir: D:\Maven2.0\bin\target/surefire-reports --- T E S T S --- There are no test to run. Results : [surefire] Tests run: 0, Failures: 0, Errors: 0 [INFO] [jar:jar] [INFO] Building jar: D:\Maven2.0\bin\target\my-app-1.0-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing D:\Maven2.0\bin\target\my-app-1.0-SNAPSHOT.jar to C:\Documents and Settings\snatarajan2\.m2\repositor om\mycompany\app\my-app\1.0-SNAPSHOT\my-app-1.0-SNAPSHOT.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 0 seconds [INFO] Finished at: Tue Apr 19 15:53:05 GMT+05:30 2005 [INFO] Final Memory: 1M/2M [INFO] D:\Maven2.0\binm2 install [INFO] [INFO] Building null [INFO] [INFO] [resources:resources] [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Setting reports dir: D:\Maven2.0\bin\target/surefire-reports --- T E S T S --- There are no test to run. Results : [surefire] Tests run: 0, Failures: 0, Errors: 0 [INFO] [war:war] [INFO] Copy webapp resources to D:\Maven2.0\bin\target\my-webapp-1.0-SNAPSHOT [INFO] Assembling webapp my-webapp in D:\Maven2.0\bin\target/my-webapp-1.0-SNAPSHOT [INFO] Generating war D:\Maven2.0\bin\target\my-webapp.war [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Error assembling WAR at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:256) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:432) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executePhase(Default LifecycleExecutor.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at
RE: unable to create war file by using maven2
-1.0-SNAPSHOT [INFO] Generating war D:\Maven2.0\bin\my-webapp\target\my-webapp.war [INFO] Building war: D:\Maven2.0\bin\my-webapp\target\my-webapp.war [INFO] [install:install] [INFO] Installing D:\Maven2.0\bin\my-webapp\target\my-webapp-1.0-SNAPSHOT.war to C:\Documents and Settings\snataraj \repository\com\mycompany\app\my-webapp\1.0-SNAPSHOT\my-webapp-1.0-SNAPS HOT.war [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Error installing artifact at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:93) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:432) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executePhase(Default LifecycleExecutor.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException: Error installing artifact: at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(Def aultArtifactInstaller.java:94) at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(Def aultArtifactInstaller.java:57) at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:83) ... 15 more Caused by: java.io.IOException: File D:\Maven2.0\bin\my-webapp\target\my-webapp-1.0-SNAPSHOT.war does not exist at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:753) at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(Def aultArtifactInstaller.java:83) ... 17 more [INFO] [INFO] Total time: 0 seconds [INFO] Finished at: Tue Apr 19 16:35:16 GMT+05:30 2005 [INFO] Final Memory: 1M/2M [INFO] D:\Maven2.0\bin -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 4:04 PM To: Maven Users List Subject: Re: unable to create war file by using maven2 these should be two separate files, and no model/ tags inside project/ See the getting started guide for a full example. - Brett On 4/19/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote: I used following tag, shall I need any change on the tag?. Please let me know project model modelVersion4.0.0/modelVersion - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to deploy maven2
I tried deployment in weblogic using Maven2 I updated my pom.xml with the following information, site idrepo1/id namepetsoteserver/name urlhttp://10.3.106.66:7001/url usernameweblogic/username usernamesasikumar/username /site When I executed m2 deploy, exceptions were thrown on the console as shown below. I am not sure how deployment will work. Do I need to do any thing more? Any help on this would be appreciated. Exceptions : D:\Maven2.0\binm2 deploy [INFO] [INFO] Building petsoteserver [INFO] [INFO] [resources:resources] [INFO] [compiler:compile] Compiling 1 source file to D:\Maven2.0\bin\target\classes [INFO] [resources:testResources] [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Setting reports dir: D:\Maven2.0\bin\target/surefire-reports --- T E S T S --- There are no test to run. Results : [surefire] Tests run: 0, Failures: 0, Errors: 0 [INFO] [jar:jar] [INFO] Building jar: D:\Maven2.0\bin\target\petstore-1.0.jar [INFO] [install:install] [INFO] Installing D:\Maven2.0\bin\target\petstore-1.0.jar to C:\Documents and Settings\snatarajan2\.m2\repository\com\my mpany\app\petstore\1.0\petstore-1.0.jar [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Error configuring plugin for execution. at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executePhase(Default LifecycleExecutor.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.plugin.PluginConfigurationException: The 'deploymentRepository' parameter is required for th execution of the deploy:deploy mojo and cannot be null. at org.apache.maven.plugin.DefaultPluginManager.getPluginConfigurationFromE xpressions(DefaultPluginManager.java: 8) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:411) ... 14 more [INFO] [INFO] Total time: 1 seconds [INFO] Finished at: Mon Apr 18 16:51:42 GMT+05:30 2005 [INFO] Final Memory: 1M/2M [INFO] Thanks in Advance Sasikumar Natarajan