RE: Dependencies on plugin classpath
I have a target in one of my ant plugin as below: I do have a jar installed in my repository containing com.ncc.Fusion.webMethods.test.IntegrationServerSixOhOneClient. It is included in my plugin's dependencies tag. I am still getting ClassNotFoundException. Please advise. Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: continuum build fails
Here is log from today's build... 2006-04-06 11:12:12,974 [main] INFO SCHEMA - Catalog "" , Schema "SA" initialised - managing 26 classes 2006-04-06 11:12:13,489 [main] INFO Continuum - 6:Ant CVS Project:ant 2006-04-06 11:12:13,489 [main] INFO Continuum - Starting C ontinuum. 2006-04-06 11:12:13,489 [main] INFO Continuum - 2006-04-06 11:12:13,489 [main] INFO Continuum - 2006-04-06 11:12:13,489 [main] INFO Continuum - < Continuu m 1.1-SNAPSHOT started! > 2006-04-06 11:12:13,489 [main] INFO Continuum - -- - 2006-04-06 11:12:13,489 [main] INFO Continuum -\ ^__^ 2006-04-06 11:12:13,489 [main] INFO Continuum - \ (oo)\___ 2006-04-06 11:12:13,489 [main] INFO Continuum - (__)\ )\/\ 2006-04-06 11:12:13,489 [main] INFO Continuum - ||w | 2006-04-06 11:12:13,489 [main] INFO Continuum - || || 2006-04-06 11:12:13,489 [main] INFO Continuum - 2006-04-06 11:12:13,489 [main] INFO Continuum - 2006-04-06 11:12:13,489 [main] INFO ContinuumInitializer - Continuum initializer running ... 2006-04-06 11:12:15,739 [main] INFO SchedulesActivator - Activating schedules ... 2006-04-06 11:12:15,755 [main] WARN ContinuumScheduler - Will not s chedule this job as a job {DEFAULT_SCHEDULE:DEFAULT} already exists. 2006-04-06 11:12:15,755 [main] INFO SchedulesActivator - null 2006-04-06 11:12:15,755 [main] INFO PlexusContainer- Loading on start [role,roleHint]: [org.codehaus.plexus.taskqueue.execution.TaskQueueExecut or,build-project] 2006-04-06 11:12:15,755 [main] WARN RecipientSource- Using '${m ail.override.to.address}' as the to address for all emails. 2006-04-06 11:12:15,755 [main] INFO TaskQueueExecutor:build-project - Starting task executor, thread name 'build-project'. 2006-04-06 11:12:15,755 [main] INFO PlexusContainer- Loading on start [role,roleHint]: [org.codehaus.plexus.taskqueue.execution.TaskQueueExecut or,check-out-project] 2006-04-06 11:12:15,755 [main] INFO TaskQueueExecutor:check-out-project - Start ing task executor, thread name 'check-out-project'. --- [2006.04.06 11:12:15] Integration test settings --- [2006.04.06 11:12:15] IT root: C:\svnmvn\maven\continuum\continuum-core-it\targe t\it [2006.04.06 11:12:15] Remoting method: jvm [2006.04.06 11:12:15] Store implementation: class org.apache.maven.continuum.sto re.JdoContinuumStore --- [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 16.499 sec <<<<<< << FAILURE !! [INFO] [ERROR] BUILD ERROR [INFO] [INFO] There are test failures. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 7 minutes 33 seconds [INFO] Finished at: Thu Apr 06 11:12:16 EDT 2006 [INFO] Final Memory: 61M/63M [INFO] -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:05 AM To: continuum-users@maven.apache.org Subject: Re: continuum build fails In console, you must have a line with "<<<<<<<< FAILURE !!" or you can look in continuum-core-it/target/surefire-reports Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : > Where does it write the log? I am not able to find it in the continuum > directory where I checked out the code and doing the build. > > Thanks, > Sandeep > > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 05, 2006 4:03 PM > To: continuum-users@maven.apache.org > Subject: Re: continuum build fails > > what is the test that failed? > > Emmanuel > > Dixit, Sandeep (ProSource Solutions) a écrit : > >>I am getting the following error message while trying to build on winxp >>machine. How do I resolve this? >> >>Thanks in advance, >>Sandeep >> >> >>--
RE: continuum build fails
See my log below. It does have <<<<<<<< FAILURE in it. Just doesn't have a detailed message. Do I need to run with -e option? Thanks, Sandeep -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:05 AM To: continuum-users@maven.apache.org Subject: Re: continuum build fails In console, you must have a line with "<<<<<<<< FAILURE !!" or you can look in continuum-core-it/target/surefire-reports Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : > Where does it write the log? I am not able to find it in the continuum > directory where I checked out the code and doing the build. > > Thanks, > Sandeep > > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 05, 2006 4:03 PM > To: continuum-users@maven.apache.org > Subject: Re: continuum build fails > > what is the test that failed? > > Emmanuel > > Dixit, Sandeep (ProSource Solutions) a écrit : > >>I am getting the following error message while trying to build on winxp >>machine. How do I resolve this? >> >>Thanks in advance, >>Sandeep >> >> >> >>--- >>[2006.04.05 14:55:39] Integration test settings >> >>--- >>[2006.04.05 14:55:39] IT root: C:\continuum\continuum-core-it\target\it >>[2006.04.05 14:55:39] Remoting method: jvm >>[2006.04.05 14:55:39] Store implementation: class >>org.apache.maven.continuum.sto >>re.JdoContinuumStore >> >>--- >>[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.938 sec >><<<<<<< >>< FAILURE !! >>[INFO] >> >>[ERROR] BUILD ERROR >>[INFO] >> >>[INFO] There are test failures. >>[INFO] >> >>[INFO] For more information, run Maven with the -e switch >>[INFO] >> >>[INFO] Total time: 7 minutes 5 seconds >>[INFO] Finished at: Wed Apr 05 14:55:39 EDT 2006 >>[INFO] Final Memory: 60M/63M >>[INFO] >> >> >>--- >>***National City made the following annotations >>--- >>This communication is a confidential and proprietary business communication. >>It is intended solely for the use of the designated recipient(s). If this >>communication is received in error, please contact the sender and delete >>this communication. >>=== >> >> >> > > > > > > >
RE: continuum build fails
Where does it write the log? I am not able to find it in the continuum directory where I checked out the code and doing the build. Thanks, Sandeep -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 4:03 PM To: continuum-users@maven.apache.org Subject: Re: continuum build fails what is the test that failed? Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : > I am getting the following error message while trying to build on winxp > machine. How do I resolve this? > > Thanks in advance, > Sandeep > > > > --- > [2006.04.05 14:55:39] Integration test settings > > --- > [2006.04.05 14:55:39] IT root: C:\continuum\continuum-core-it\target\it > [2006.04.05 14:55:39] Remoting method: jvm > [2006.04.05 14:55:39] Store implementation: class > org.apache.maven.continuum.sto > re.JdoContinuumStore > > --- > [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.938 sec > <<<<<<< > < FAILURE !! > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] There are test failures. > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 7 minutes 5 seconds > [INFO] Finished at: Wed Apr 05 14:55:39 EDT 2006 > [INFO] Final Memory: 60M/63M > [INFO] > > > --- > ***National City made the following annotations > --- > This communication is a confidential and proprietary business communication. > It is intended solely for the use of the designated recipient(s). If this > communication is received in error, please contact the sender and delete > this communication. > === > > >
continuum build fails
I am getting the following error message while trying to build on winxp machine. How do I resolve this? Thanks in advance, Sandeep --- [2006.04.05 14:55:39] Integration test settings --- [2006.04.05 14:55:39] IT root: C:\continuum\continuum-core-it\target\it [2006.04.05 14:55:39] Remoting method: jvm [2006.04.05 14:55:39] Store implementation: class org.apache.maven.continuum.sto re.JdoContinuumStore --- [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.938 sec <<< < FAILURE !! [INFO] [ERROR] BUILD ERROR [INFO] [INFO] There are test failures. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 7 minutes 5 seconds [INFO] Finished at: Wed Apr 05 14:55:39 EDT 2006 [INFO] Final Memory: 60M/63M [INFO] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. ===
RE: build error on win2k
I used the following: svn co https://svn.apache.org/repos/asf/maven/trunks maven I do see plugins folder along with components and archtype folders. Thanks, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Wednesday, April 05, 2006 1:33 PM To: Maven Users List Subject: Re: build error on win2k You proably need to checkout also the plugins folder from svn On 4/5/06, Dixit, Sandeep (ProSource Solutions) <[EMAIL PROTECTED]> wrote: > I am getting a following error while building on win2k machine. Can > someone please help me with this error? > > > > Thanks in advance, > > Sandeep > > > > [INFO] Scanning for projects... > > [INFO] > > > [ERROR] FATAL ERROR > > [INFO] > > > [INFO] Error building POM (may not be this project's POM). > > > > > > Project ID: unknown > > > > Reason: Could not find the model file > 'C:\sd\maven_svn\maven_all\maven\plugins\m > > aven-antrun-plugin\pom.xml'. > > > > > > [INFO] > > > [INFO] Trace > > org.apache.maven.reactor.MavenExecutionException: Could not find the > model file > > 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'. > > at > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) > > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) > > 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. > > java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > sorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > 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.project.ProjectBuildingException: Could not > find the > > model file > 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml > > '. > > at > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default > > MavenProjectBuilder.java:1245) > > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi > > leInternal(DefaultMavenProjectBuilder.java:412) > > at > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave > > nProjectBuilder.java:190) > > at > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) > > at > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) > > at > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) > > at > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) > > ... 11 more > > Caused by: java.io.FileNotFoundException: > C:\sd\maven_svn\maven_all\maven\plugin > > s\maven-antrun-plugin\pom.xml (The system cannot find the path > specified) > > at java.io.FileInputStream.open(Native Method) > > at java.io.FileInputStream.(FileInputStream.java:106) > > at java.io.FileReader.(FileReader.java:55) > > at > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default > > MavenProjectBuilder.java:1240) > > ... 17 more > > [INFO] > > > [INFO] Total time: < 1 second > > [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006 > > [INFO] Final Memory: 1M/2M > > [INFO] > > > Total time: 2 minutes 50 seconds > > Finished at: Wed Apr 05 13:07:08 EDT 2006 > > Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml > > Using the following proxy : authproxy.ntl-city.com/8080 > > Using the following for your local repository: > C:/maven-2.0.3-SNAPSHOT/repositor > > y > > Using the following for your remote repository: > [ht
build error on win2k
I am getting a following error while building on win2k machine. Can someone please help me with this error? Thanks in advance, Sandeep [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\m aven-antrun-plugin\pom.xml'. [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'. at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) 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. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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.project.ProjectBuildingException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml '. at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1245) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi leInternal(DefaultMavenProjectBuilder.java:412) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave nProjectBuilder.java:190) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more Caused by: java.io.FileNotFoundException: C:\sd\maven_svn\maven_all\maven\plugin s\maven-antrun-plugin\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileReader.(FileReader.java:55) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1240) ... 17 more [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Total time: 2 minutes 50 seconds Finished at: Wed Apr 05 13:07:08 EDT 2006 Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml Using the following proxy : authproxy.ntl-city.com/8080 Using the following for your local repository: C:/maven-2.0.3-SNAPSHOT/repositor y Using the following for your remote repository: [http://repo1.maven.org/maven2, http://snapshots.maven.codehaus.org/maven2/] Analysing dependencies ... Building project in C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver ifier -- Cleaning C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe t... Compiling sources ... Compiling 12 source files to C:\sd\maven_svn\maven_all\maven\components\maven-co re-it-verifier\target\classes Packaging resources ... Packaging C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ et\maven-core-it-verifier.jar ... -- Total time: 1 seconds Finished at: Wed Apr 05 13:07:09 EDT 2006 ECHO is off. --- Running integration tests --- Using default local repository: C:\maven-2.0.3-SNAPSHOT\repository it0102... Test it0102 in C:\sd\maven_svn\maven_all\maven\components\maven-core-i t/it0102 does not exist Thanks, Sandeep --- ***National City made the following annotations ---
Using mail task from ant plug-in
I am trying to use Ant's mail task within my Ant-based plug-in. The mail task requires mail.jar and activation.jar. I have included these as dependencies section of my plug-in's pom.xml. However it appears that it is not working. Has anyone tried something similar? Any pointers would be very helpful. Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven plugin gets called only once
I have a project with multiple modules. Three of the modules use a same plug-in with different values. However whenever I run "myPlugin", it executes for the first in sequence module only and then quits. Shouldn't it continue and execute for the remaining two modules as well? Any pointers would be greatly appreciated. Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inaccurate interpretation of strings
The value is not hard-coded. It is read from ${project.build.directory}. How do I accomplish this then? -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 2:23 PM To: Maven Users List Subject: Re: Inaccurate interpretation of strings On Tue, 2006-03-21 at 12:37 -0500, Dixit, Sandeep (ProSource Solutions) > ${project.build.directory}/EFTAppl-1.0-SNAPSHOT.ear > > If the ${project.build.directory} contains special characters for > example c:\abc\t.., it takes the \t as tab and thus the plug-in fails. > Is there a way to deal with this? Set project.build.directory to "c:/abc/t" instead? File paths using forward slashes work fine on Windows. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Inaccurate interpretation of strings
I have a written that looks like: com.ncc.task.plugins task-plugin 1.0-SNAPSHOT mygoal EFTApplication ${project.build.directory}/EFTAppl-1.0-SNAPSHOT.ear /var/log/builds/EFTApplication.log The problem I am having is from the tag: ${project.build.directory}/EFTAppl-1.0-SNAPSHOT.ear If the ${project.build.directory} contains special characters for example c:\abc\t.., it takes the \t as tab and thus the plug-in fails. Is there a way to deal with this? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to specify multiple excludes in war-plugin?
I tried your resolution as below: org.apache.maven.plugins maven-war-plugin 2.0-beta-2 JavaSource WebContent WEB-INF/lib/commons-collections-2.1.jar WEB-INF/lib/anttasks-6.0.jar true However this doesn't exclude anything? What am I doing wrong? Thanks, Sandeep -Original Message- From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 2:48 PM To: Maven Users List Subject: Re: How to specify multiple excludes in war-plugin? Please refer to this thread: http://www.nabble.com/WAR-plugin-in-M2%3A-excludes-not-all-files-t114005 7.html It could be a bug though. _Mang Lau "Dixit, Sandeep (ProSource Solutions)" <[EMAIL PROTECTED]> 03/08/2006 02:41 PM Please respond to "Maven Users List" To "Maven Users List" cc Subject How to specify multiple excludes in war-plugin? I am trying to exclude few libraries (.jar) from getting packaged into war. How do I specify it using tag? I tried using comma, space as well as multiple tags. Nothing worked. It is only able to exclude a single jar. Please advise. org.apache.maven.plugins maven-war-plugin 2.0-beta-2 JavaSource WebContent WEB-INF/lib/commons-collections-2.1.jar, WEB-INF/lib/anttasks-6.0.jar true Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - 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]
How to specify multiple excludes in war-plugin?
I am trying to exclude few libraries (.jar) from getting packaged into war. How do I specify it using tag? I tried using comma, space as well as multiple tags. Nothing worked. It is only able to exclude a single jar. Please advise. org.apache.maven.plugins maven-war-plugin 2.0-beta-2 JavaSource WebContent WEB-INF/lib/commons-collections-2.1.jar, WEB-INF/lib/anttasks-6.0.jar true Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to setup FTP-based internal repository ?
Search for my latest posting. I was able to do FTP-based internal repository after copying three jars to MAVEN_HOME/lib and defining central and central-plugins repositories and pluginRepositories... Hope this helps, Sandeep -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 8:29 AM To: Maven Users List Subject: Re: How to setup FTP-based internal repository ? I have the same exact problem as you. I am able to deploy to my internal repository but not to download from it. It seems the ftp extensions is only valid when you built your project and not when you are downloading dependencies. I'll some stuff and write back if I can find a solution. On 2/22/06, Dixit, Sandeep (ProSource Solutions) <[EMAIL PROTECTED]> wrote: > Okay. After lot's of trial and error, I was able to move forward one > step. Below is what I did: > 1. copied wagon-ftp-1.0-alpha-6.jar, oro-2.0.8.jar and > commons-net-1.4.1.jar to MAVEN_HOME/lib folder > 2. Per the repository setup created a > > central > Central Repository > ftp://my_ip_address/ > default > > true > > > > Poining to my internal remote repository. > > Now it starts by downloading from "my" central. However now it fails at > maven-site-plugin download with this message below: > > [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not > exist or > no valid version could be found > [INFO] > > - > --- > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > 'org.apache.m > aven.plugins:maven-site-plugin' does not exist or no valid version could > be foun > d > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa > ultLifecycleExecutor.java:1247) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > (DefaultLifecycleExecutor.java:1483) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP > ackaging(DefaultLifecycleExecutor.java:979) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl > eMappings(DefaultLifecycleExecutor.java:943) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:450) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:139) > 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:249) > 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:324) > 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 p > lugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no > valid ve > rsion could be found > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > uginVersion(DefaultPluginVersionManager.java:225) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > uginVersion(DefaultPluginVersionManager.java:87) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug > inManager.java:160) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa > ultLifecycleExecutor.java:1218) > ... 18 more > [INFO] > > - > > > > Any pointers on resolving this error? > > Thanks, > Sandeep > > > > > > > > > > > > > > > -Original Message- >
How to activate Plugin Repository?
In my settings.xml, I have the following: myConfig-dev true always warn true always warn central Central Repository ftp://10.49.209.166//pub default true always warn true always warn central-plugins Central Plugins Repository ftp://10.49.209.166//pub default My repository seems to work okay (after I copied three jars to MAVEN_HOME/lib), however my pluginRepository is not working. Any pointers? Thanks, Saneeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to setup FTP-based internal repository ?
Okay. After lot's of trial and error, I was able to move forward one step. Below is what I did: 1. copied wagon-ftp-1.0-alpha-6.jar, oro-2.0.8.jar and commons-net-1.4.1.jar to MAVEN_HOME/lib folder 2. Per the repository setup created a central Central Repository ftp://my_ip_address/ default true Poining to my internal remote repository. Now it starts by downloading from "my" central. However now it fails at maven-site-plugin download with this message below: [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-site-plugin' does not exist or no valid version could be foun d at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1247) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP ackaging(DefaultLifecycleExecutor.java:979) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl eMappings(DefaultLifecycleExecutor.java:943) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:450) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:139) 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:249) 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:324) 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 p lugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid ve rsion could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:160) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1218) ... 18 more [INFO] - Any pointers on resolving this error? Thanks, Sandeep -----Original Message----- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:59 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ? I have added it in my pom.xml inside ... The only diff is I am using 1.0-alpha-6 Thanks, Sandeep -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:39 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ? You need the ftp extension: org.apache.maven.wagon wagon-ftp 1.0-alpha-5 -----Original Message----- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 10:03 AM To: Maven Users List Subject: How to setup FTP-based internal repository ? How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site -plugin' could not be retrieved from repository: central due to an error: Unsupp orted Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp [INFO] Repository 'ce
RE: How to setup FTP-based internal repository ?
Brian, Do you have it working in your environment using FTP? Thanks, Sandeep -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:39 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ? You need the ftp extension: org.apache.maven.wagon wagon-ftp 1.0-alpha-5 -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 10:03 AM To: Maven Users List Subject: How to setup FTP-based internal repository ? How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site -plugin' could not be retrieved from repository: central due to an error: Unsupp orted Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp [INFO] Repository 'central' will be blacklisted As far as FTP access is concerned, I can do: 1) ftp://ip_address/pub in the browser and it shows the directory. I can traverse the repository from the browser. The FTP is enabled for anonymous access. 2) From Windows command prompt, I can type ftp and then enter anonymous/anonymous to log in successfully. I have in my settings.xml central anonymous anonymous ... myConfig-dev central NCC Repository ftp://ip_address//pub true env dev myConfig-dev What am I missing here? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - 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]
RE: How to setup FTP-based internal repository ?
I have added it in my pom.xml inside ... The only diff is I am using 1.0-alpha-6 Thanks, Sandeep -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:39 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ? You need the ftp extension: org.apache.maven.wagon wagon-ftp 1.0-alpha-5 -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 10:03 AM To: Maven Users List Subject: How to setup FTP-based internal repository ? How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site -plugin' could not be retrieved from repository: central due to an error: Unsupp orted Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp [INFO] Repository 'central' will be blacklisted As far as FTP access is concerned, I can do: 1) ftp://ip_address/pub in the browser and it shows the directory. I can traverse the repository from the browser. The FTP is enabled for anonymous access. 2) From Windows command prompt, I can type ftp and then enter anonymous/anonymous to log in successfully. I have in my settings.xml central anonymous anonymous ... myConfig-dev central NCC Repository ftp://ip_address//pub true env dev myConfig-dev What am I missing here? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - 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]
RE: How to setup FTP-based internal repository ?
OK. Added: org.apache.maven.wagon wagon-ftp 1.0-alpha-6 To my pom.xml. Copied only wagon-ftp-1.0-alpha-6.jar to MAVEN_INSTALL\lib and got the following error: Reason: Error getting POM for 'org.apache.maven.wagon:wagon-ftp' from the reposi tory: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requeste d protocol: ftp org.apache.maven.wagon:wagon-ftp:pom:1.0-alpha-6.jar from the specified remote repositories: ncc-central-plugins (ftp://10.49.209.166//pub), ncc-snapshots (ftp://10.49.209.166//pub), central (ftp://10.49.209.166//pub) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:29 AM To: Maven Users List Subject: Re: How to setup FTP-based internal repository ? And you must add it as an extension of your pom http://maven.apache.org/guides/mini/guide-deploy-ftp.html Emmanuel Emmanuel Venisse a écrit : > Why two jars? you need only this one : wagon-ftp-1.0-alpha-6.jar > > Emmanuel > > Dixit, Sandeep (ProSource Solutions) a écrit : > >> I copied both wagon-ftp-1.0-alpha-6-SNAPSHOT.jar and >> wagon-ftp-1.0-alpha-6.jar to MAVEN/lib... Now got the following error: >> >> [INFO] Skipping missing optional mojo: >> org.apache.maven.plugins:maven-site-plugi >> n:attach-descriptor >> - >> this realm = plexus.core.maven >> urls[0] = file:/c:/MAVEN-~1.2/bin/../lib/commons-cli-1.0.jar >> urls[1] = file:/c:/MAVEN-~1.2/bin/../lib/doxia-sink-api-1.0-alpha-7.jar >> urls[2] = file:/c:/MAVEN-~1.2/bin/../lib/jsch-0.1.24.jar >> urls[3] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-2.0.2.jar >> urls[4] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-manager-2.0.2.jar >> urls[5] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2-javadoc.jar >> urls[6] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2.jar >> urls[7] = >> file:/c:/MAVEN-~1.2/bin/../lib/maven-error-diagnostics-2.0.2.jar >> urls[8] = file:/c:/MAVEN-~1.2/bin/../lib/maven-model-2.0.2.jar >> urls[9] = file:/c:/MAVEN-~1.2/bin/../lib/maven-monitor-2.0.2.jar >> urls[10] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-api-2.0.2.jar >> urls[11] = >> file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-descriptor-2.0.2.jar >> urls[12] = >> file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-parameter-documenter-2.0. >> 2.jar >> urls[13] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-registry-2.0.2.jar >> urls[14] = file:/c:/MAVEN-~1.2/bin/../lib/maven-profile-2.0.2.jar >> urls[15] = file:/c:/MAVEN-~1.2/bin/../lib/maven-project-2.0.2.jar >> urls[16] = file:/c:/MAVEN-~1.2/bin/../lib/maven-reporting-api-2.0.2.jar >> urls[17] = >> file:/c:/MAVEN-~1.2/bin/../lib/maven-repository-metadata-2.0.2.jar >> urls[18] = file:/c:/MAVEN-~1.2/bin/../lib/maven-settings-2.0.2.jar >> urls[19] = >> file:/c:/MAVEN-~1.2/bin/../lib/plexus-interactivity-api-1.0-alpha-4.j >> ar >> urls[20] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-file-1.0-alpha-6.jar >> urls[21] = >> file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6-SNAPSHOT.jar >> urls[22] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6.jar >> urls[23] = >> file:/c:/MAVEN-~1.2/bin/../lib/wagon-http-lightweight-1.0-alpha-6.jar >> >> urls[24] = >> file:/c:/MAVEN-~1.2/bin/../lib/wagon-provider-api-1.0-alpha-6.jar >> urls[25] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-1.0-alpha-6.jar >> urls[26] = >> file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-external-1.0-alpha-6.jar >> Number of imports: 0 >> >> >> this realm = plexus.core >> urls[0] = >> file:/c:/MAVEN-~1.2/bin/../core/plexus-container-default-1.0-alpha-9.j >> ar >> urls[1] = file:/c:/MAVEN-~1.2/bin/../core/plexus-utils-1.1.jar >> Number of imports: 0 >> - >> [INFO] >> - >> --- >> [ERROR] BUILD ERROR >> [INFO] >> - >> --- >> [INFO] Error building POM (may not be this project's POM). >> >> >> Project ID: classworlds:classworlds >> >> Reason: Error getting POM for 'classworlds:classworlds' from the >> repository: Uns >> upported Protocol: 'ftp': Cannot find wagon which supports the >> requested protoco >> l: ftp >> classworlds:classworlds:pom:1.1-alpha-2 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2), >> snapshots
RE: How to setup FTP-based internal repository ?
I copied both wagon-ftp-1.0-alpha-6-SNAPSHOT.jar and wagon-ftp-1.0-alpha-6.jar to MAVEN/lib... Now got the following error: [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugi n:attach-descriptor - this realm = plexus.core.maven urls[0] = file:/c:/MAVEN-~1.2/bin/../lib/commons-cli-1.0.jar urls[1] = file:/c:/MAVEN-~1.2/bin/../lib/doxia-sink-api-1.0-alpha-7.jar urls[2] = file:/c:/MAVEN-~1.2/bin/../lib/jsch-0.1.24.jar urls[3] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-2.0.2.jar urls[4] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-manager-2.0.2.jar urls[5] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2-javadoc.jar urls[6] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2.jar urls[7] = file:/c:/MAVEN-~1.2/bin/../lib/maven-error-diagnostics-2.0.2.jar urls[8] = file:/c:/MAVEN-~1.2/bin/../lib/maven-model-2.0.2.jar urls[9] = file:/c:/MAVEN-~1.2/bin/../lib/maven-monitor-2.0.2.jar urls[10] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-api-2.0.2.jar urls[11] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-descriptor-2.0.2.jar urls[12] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-parameter-documenter-2.0. 2.jar urls[13] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-registry-2.0.2.jar urls[14] = file:/c:/MAVEN-~1.2/bin/../lib/maven-profile-2.0.2.jar urls[15] = file:/c:/MAVEN-~1.2/bin/../lib/maven-project-2.0.2.jar urls[16] = file:/c:/MAVEN-~1.2/bin/../lib/maven-reporting-api-2.0.2.jar urls[17] = file:/c:/MAVEN-~1.2/bin/../lib/maven-repository-metadata-2.0.2.jar urls[18] = file:/c:/MAVEN-~1.2/bin/../lib/maven-settings-2.0.2.jar urls[19] = file:/c:/MAVEN-~1.2/bin/../lib/plexus-interactivity-api-1.0-alpha-4.j ar urls[20] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-file-1.0-alpha-6.jar urls[21] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6-SNAPSHOT.jar urls[22] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6.jar urls[23] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-http-lightweight-1.0-alpha-6.jar urls[24] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-provider-api-1.0-alpha-6.jar urls[25] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-1.0-alpha-6.jar urls[26] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-external-1.0-alpha-6.jar Number of imports: 0 this realm = plexus.core urls[0] = file:/c:/MAVEN-~1.2/bin/../core/plexus-container-default-1.0-alpha-9.j ar urls[1] = file:/c:/MAVEN-~1.2/bin/../core/plexus-utils-1.1.jar Number of imports: 0 - [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] Error building POM (may not be this project's POM). Project ID: classworlds:classworlds Reason: Error getting POM for 'classworlds:classworlds' from the repository: Uns upported Protocol: 'ftp': Cannot find wagon which supports the requested protoco l: ftp classworlds:classworlds:pom:1.1-alpha-2 from the specified remote repositories: central (http://repo1.maven.org/maven2), snapshots (http://snapshots.maven.codehaus.org/maven2) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:09 AM To: Maven Users List Subject: Re: How to setup FTP-based internal repository ? You must add wagon-ftp jar in $MAVEN_HOME/lib http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ftp/ Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : > How do I configure Internal Remote repository for FTP access? I am > getting: > > > > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for > updates > > from central > > [WARNING] repository metadata for: 'artifact > org.apache.maven.plugins:maven-site > > -plugin' could not be retrieved from repository: central due to an > error: Unsupp > > orted Protocol: 'ftp': Cannot find wagon which supports the requested > protocol: > > ftp > > [INFO] Repository 'central' will be blacklisted > > > > > > As far as FTP access is concerned, I can do: > > 1) ftp://ip_address/pub in the browser and it shows the directory. > I can traverse the repository from the browser. The FTP is enabled for > anonymous access. > > 2) From Windows command prompt, I can type ftp and > then enter anonymous/anonymous to log in successfully. > > > > I have in my settings.xml > > > > > > central > > anonymous > > anonymous > > > > > > ... > > > > > > myConfig-dev > > > > > > central > > NCC Repository > > ftp://ip_address//pub > >
How to setup FTP-based internal repository ?
How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site -plugin' could not be retrieved from repository: central due to an error: Unsupp orted Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp [INFO] Repository 'central' will be blacklisted As far as FTP access is concerned, I can do: 1) ftp://ip_address/pub in the browser and it shows the directory. I can traverse the repository from the browser. The FTP is enabled for anonymous access. 2) From Windows command prompt, I can type ftp and then enter anonymous/anonymous to log in successfully. I have in my settings.xml central anonymous anonymous ... myConfig-dev central NCC Repository ftp://ip_address//pub true env dev myConfig-dev What am I missing here? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. ===
RE: cannot find internal repository
Has anyone successfully setup internal repository? I am struggling for the last week. I am though using FTP protocol. Thanks, Sandeep -Original Message- From: luca rasconi [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:25 AM To: Maven Users List Subject: Re: cannot find internal repository tnx for the suggestion but it doesn't work. the error is the same. do you use different profile? On 2/16/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > Add the following: after : > > > development > > > -Stephen > > On 2/16/06, Rasconi Luca (u.e.) <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > i created my own archetypes and deployed it in my internal repository. > > > > Now I would like to create my app according to these archetypes. > > > > So: > > > > 1) I modified settings.xml adding this new profile: > > > > > > > > > > > > development > > > > > > > > true > > > > > > > > > > > > > > > > rossoalice-repo > > > > proxy repository > > > > http://192.168.25.217:8089/maven-proxy/repository > > > > > > > > > > > > > > > > > > > > > > > > 2) Execute mvn archetype:create ... > > > > > > > > But maven is unable to find my internal repository: > > > > [ERROR] BUILD ERROR > > > > [INFO] > > > > --- > > > > [INFO] Failed to resolve artifact. > > > > > > > > GroupId: it.telecomitalia.rossoalice.maven.archetype > > > > ArtifactId: rossoalice-archetype-app > > > > Version: 1.0-SNAPSHOT > > > > > > > > Reason: Unable to download the artifact from any repository > > > > > > > > > > it.telecomitalia.rossoalice.maven.archetype:rossoalice-archetype-app:jar > > :1.0-S > > > > NAPSHOT > > > > > > > > from the specified remote repositories: > > > > central (http://repo1.maven.org/maven2) > > > > > > > > somebody can help me? Is a bug? > > > > > > > > Tnx in advance, > > > > Luca > > > > > > > > > > > > > > > > > > > > > -- > Stephen Duncan Jr > www.stephenduncanjr.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need help with Internal Repository - FTP
Can someone help me with the setting up an internal repository and accessing it using ftp? I keep getting the following error: Reason: Error getting POM for 'XXX:XXX' from the repository: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp I want the local repositories to use internal repository only. Is this possible? I am using Maven 2.0.2 and have the following in my settings.xml myConfig-dev ncc-repository NCC Repository ftp://10.49.209.166//pub default myConfig-dev is a default active profile I also have server defined in settings.xml as ncc-repository anonymous anonymous Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. ===
RE: Using
Hi John, >From the websphere_tasks project (a pom-only project that is using an antrun plugin. There is no jar.) I am inheriting the WebSphere admin functionality (WebSphere deploy, install, uninstall, etc.) in EAR module only. >From the parent distributionProject pom, I am inheriting the common dependencies. Thanks, Sandeep -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 10:48 AM To: Maven Users List Subject: Re: Using In general, Maven follows the Java-ish single-inheritance model. What you're trying to do is multiple inheritance of POMs, which we don't support. What specifically is in your websphere tasks project that you want inherited here? Maybe there is another approach that will solve your problem, but I cannot tell from this little information... -john Dixit, Sandeep (ProSource Solutions) wrote: > Here is my project structure: > > - websphere tasks project (deployed in the rep) > - distributionProject > - EJB module : pom inherits distributionProject pom > - WEB module : pom inherits distributionProject pom > - EAR module : pom inherits distributionProject pom; I ALSO WANT > inherit websphere tasks here. However my websphere project is non-jar, > POM only project. > > Could you please provide me some pointers on how to achieve this? I was > thinking of using to achieve this... > > Thanks, > Sandeep > > > > -Original Message- > From: John Casey [mailto:[EMAIL PROTECTED] > Sent: Monday, February 06, 2006 4:53 PM > To: Maven Users List > Subject: Re: Using > > Not sure what the end goal is here, but I assume you're saying you're > trying to do something like: > > > > >some.group.id >some-artifact >1.1.1.1 >pom > > > > > Other than playing the trick of having that POM's dependencies all > included in the core classloader of Maven, I'm not sure what this would > acoomplish. BTW, it's entirely possible that the element isn't > allowed here, I don't remember for sure. It would seem to make some > amount of sense not to allow this, though... > > -john > > Dixit, Sandeep (ProSource Solutions) wrote: >> Is there a way to extend a POM only project using >> ... tag? >> >> I am not able to do so as by default extension is looking for JAR type >> project. And mine is POM. Extension tag is not allowing defining of >> tag. >> >> Thanks, >> Sandeep >> >> >> > > --- >> ***National City made the following annotations >> > > --- >> This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please > contact the sender and delete this communication. > > === >> - >> 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] > > - 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]
RE: Using
Here is my project structure: - websphere tasks project (deployed in the rep) - distributionProject - EJB module : pom inherits distributionProject pom - WEB module : pom inherits distributionProject pom - EAR module : pom inherits distributionProject pom; I ALSO WANT inherit websphere tasks here. However my websphere project is non-jar, POM only project. Could you please provide me some pointers on how to achieve this? I was thinking of using to achieve this... Thanks, Sandeep -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 4:53 PM To: Maven Users List Subject: Re: Using Not sure what the end goal is here, but I assume you're saying you're trying to do something like: some.group.id some-artifact 1.1.1.1 pom Other than playing the trick of having that POM's dependencies all included in the core classloader of Maven, I'm not sure what this would acoomplish. BTW, it's entirely possible that the element isn't allowed here, I don't remember for sure. It would seem to make some amount of sense not to allow this, though... -john Dixit, Sandeep (ProSource Solutions) wrote: > Is there a way to extend a POM only project using > ... tag? > > I am not able to do so as by default extension is looking for JAR type > project. And mine is POM. Extension tag is not allowing defining of > tag. > > Thanks, > Sandeep > > > --- > ***National City made the following annotations > --- > This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. > === > > - > 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]
Using
Is there a way to extend a POM only project using ... tag? I am not able to do so as by default extension is looking for JAR type project. And mine is POM. Extension tag is not allowing defining of tag. Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to include ant-based project
I have a project for webSphere admin tasks. Is there a way I can include it as a plugin rather than as a parent in my ear project's pom? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Maven 2 from Eclipse/RAD 6.0
Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Another CLASSPATH question
There are about 50 jars in WAS. Do I need to install each one of them - one at a time - in my local directory? Is there a tool that can do this or why can't we have systemPath dependency accept a directory? Thanks, Sandeep -Original Message- From: Lee Meador [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 3:27 PM To: Maven Users List Subject: Re: Another CLASSPATH question You can load the websphere jars into your local repository. The way to do that is here: http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html There is also the issue of getting a pom.xml to accompany it. Perhaps someone else will clarify or you can search the email archives here: http://www.nabble.com/Maven---Users-f178.html The problem is that I don't really know what to do about it. For a while you had to make your own dummy ones and then there was/is a command line option for the mvn install:install-file command that creates the dummy pom, and then there was a bug in that code and then it may/or may not have gotten into whatever build of maven. So ... you see why I hope someone more knowledgable will answer. thanks. -- Lee On 1/18/06, Dixit, Sandeep (ProSource Solutions) < [EMAIL PROTECTED]> wrote: > > I am still struggling with this. Any pointers would be highly > appreciated... > > Thanks, > Sandeep > > -----Original Message- > From: Dixit, Sandeep (ProSource Solutions) > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 12:57 PM > To: Maven Users List > Subject: Another CLASSPATH question > > My Maven project has a WebSphere 6 runtime library dependency. How do I > provide this path during the compile time (I mean mvn install)? > > Thanks, > Sandeep > > > --- > ***National City made the following annotations > > --- > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please > contact the sender and delete this communication. > > === > > - > 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] > > -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: M2 - add custom classpath to plugin compiler:compile
How can I setup a shared repository? Do I have to install each and every jar manually in it? Thanks, Sandeep -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 3:19 PM To: Dixit, Sandeep (ProSource Solutions) Subject: Re: M2 - add custom classpath to plugin compiler:compile You should send this to the Maven users list: users@maven.apache.org As I said on the list, I don't actually use the systemPath myself. Instead, I put all the jars I need into a shared repository. -Stephen On 1/18/06, Dixit, Sandeep (ProSource Solutions) <[EMAIL PROTECTED]> wrote: > > > > I am having same problem: > > > How do I use > thegroup > theartifact > theversion > system > /path/to/websphere/lib/*.jar > > > *.jar doesn't work neither does path to dir. > > > > > > > Thanks, > > Sandeep > > > > --- > ***National City made the following annotations > --- > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please contact the > sender and delete this communication. > === -- Stephen Duncan Jr www.stephenduncanjr.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Another CLASSPATH question
I am still struggling with this. Any pointers would be highly appreciated... Thanks, Sandeep -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 12:57 PM To: Maven Users List Subject: Another CLASSPATH question My Maven project has a WebSphere 6 runtime library dependency. How do I provide this path during the compile time (I mean mvn install)? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - 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]
Another CLASSPATH question
My Maven project has a WebSphere 6 runtime library dependency. How do I provide this path during the compile time (I mean mvn install)? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using tag
I am trying to use an existing task installEar as below. However I get artifact not found message when I do mvn install. I did verify that the artifact is installed in the local repository. What am I doing wrong? com.ncc.wasTasks installEar 1.0-SNAPSHOT Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Site plugin problem - NullPointerException
Are you using systemPath in any of your dependencies? -Original Message- From: Xavier Frisaye [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 9:17 AM To: Maven Users List Subject: Site plugin problem - NullPointerException Hi all, I'm encountering a problem when i use maven (2.0.1) site in our project (see logs below). This is not critical at all for us but i wonder if this is a known issue. I know that the site plugin is beta stage but it seems the exception occurs in maven core code. Thanks for replying, Regards, Xavier Frisaye Programmeur T4HR [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] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] [INFO] Generate "Continuous Integration" report. [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [INFO] Generate "Dependencies" report. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:82) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:387) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository( DefaultMavenProjectBuilder.java:352) at org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende rer.getMavenProjectFromRepository(DependenciesReport.java:362) at org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende rer.renderBody(DependenciesReport.java:286) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMa venReportRenderer.java:65) at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Dep endenciesReport.java:157) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep ort.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.jav a:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:432) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:530) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:472) at org.apache.mave
RE: Overwriting a goal in subproject
No, I rather don't know how to override a phase:goal written using maven-antrun-plugin. Could you give me an example? Thanks, Sandeep -Original Message- From: Henry Isidro [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 6:45 PM To: Maven Users List Subject: Re: Overwriting a goal in subproject Dixit, Sandeep (ProSource Solutions) wrote: >How would that allow selective on and off? Wouldn't it set one value for >all (parent and child projects)? > >Thanks, >Sandeep > > > Yup, sorry about that, I didn't fully understand your question. Have you tried overriding the property in the child pom? - Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException while running mvn site:site
Yes, upgrading maven-project-info-reports-plugin resolved the NPE error. Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 2:50 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site as requested, you installed maven-plugin-plugin : good but I made a stupid mistake : what you needed was maven-project-info-reports-plugin instead (it's another plugin, placed at the same directory level as maven-plugin-plugin) then you'll have to do the same commands with it : svn checkout, then mvn install Le Mardi 10 Janvier 2006 20:00, Dixit, Sandeep (ProSource Solutions) a écrit : > I am not clear on this... From this url, I got the code and then used mvn > install. Do I need to do anything else? I thought mvn install should put > the latest plug-in in my local repository. > > Thanks, > Sandeep > > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 10, 2006 1:57 PM > To: Maven Users List > Subject: Re: NullPointerException while running mvn site:site > > whoops, why did I ask you to recompile maven-plugin-plugin since you're in > trouble with maven-project-info-reports-plugin ? > > please try again with maven-project-info-reports-plugin... > > and yes, as you saw, plugins have moved since they have been published the > last time : you're looking at the right place. > > Le Mardi 10 Janvier 2006 16:27, Dixit, Sandeep (ProSource Solutions) a écrit : > > I was able to locate maven-plugin-plugin at this url below: > > http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-plugin-plugin > >/ > > > > Is this the right place? If it is, I am still getting NPE during mvn site > > (after installing maven-plugin-plugin by running mvn install in the > > maven-plugin-plugin dir.) > > > > Please advise. > > > > Thanks, > > Sandeep > > > > -Original Message- > > From: Dixit, Sandeep (ProSource Solutions) > > [mailto:[EMAIL PROTECTED] Sent: Tuesday, > > January 10, 2006 9:51 AM > > To: Maven Users List > > Subject: RE: NullPointerException while running mvn site:site > > > > I am getting the following error while accessing the code: > > > > C:\sd\maven_svn\maven_plugin>c:\subversion\bin\svn checkout > > http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/mave > >n- plugin-plugin maven-plugin-plugin > > > > svn: URL > > 'http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/mav > >en -plugin-plugin' doesn't exist > > > > Has the url changed? > > > > Thanks, > > Sandeep > > > > -Original Message- > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 06, 2006 1:55 PM > > To: Maven Users List > > Subject: Re: NullPointerException while running mvn site:site > > > > yes, you'll need to compile and install the plugin. > > It's the classical way : > > > > 1. extract the plugin sources > > as explained in > > http://maven.apache.org/plugins/maven-plugin-plugin/source-repository.htm > >l just run the following command : > > svn checkout > > http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/mave > >n- plugin-plugin maven-plugin-plugin > > > > 2. compile and install the plug-in : > > simply run : mvn install > > for more information, just see "Guide to developing Java Plugins" > > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > > > > Le Vendredi 06 Janvier 2006 19:41, Dixit, Sandeep (ProSource Solutions) a > > > > écrit : > > > I added this tag in my POMs. Still the error persists. > > > > > > Your wrote : > > > >>> I built and installed the plugin locally, and it works nicely > > > > > > I don't have source on my machine. I am using Maven 2.0.1 (bin dist). > > > How do I go about getting this update? > > > > > > Thanks, > > > Sandeep > > > > > > -Original Message- > > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > > Sent: Friday, January 06, 2006 1:31 PM > > > To: Maven Users List > > > Subject: Re: NullPointerException while running mvn site:site > > > > > > I don't have any tag for the plug-in : it is declared in > > > its simplest form in my pom : > > > > > > > > > > > > org.apache.maven.plugins > > > maven-project
RE: NullPointerException while running mvn site:site
I am not clear on this... From this url, I got the code and then used mvn install. Do I need to do anything else? I thought mvn install should put the latest plug-in in my local repository. Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 1:57 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site whoops, why did I ask you to recompile maven-plugin-plugin since you're in trouble with maven-project-info-reports-plugin ? please try again with maven-project-info-reports-plugin... and yes, as you saw, plugins have moved since they have been published the last time : you're looking at the right place. Le Mardi 10 Janvier 2006 16:27, Dixit, Sandeep (ProSource Solutions) a écrit : > I was able to locate maven-plugin-plugin at this url below: > http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-plugin-plugin/ > > Is this the right place? If it is, I am still getting NPE during mvn site > (after installing maven-plugin-plugin by running mvn install in the > maven-plugin-plugin dir.) > > Please advise. > > Thanks, > Sandeep > > -----Original Message- > From: Dixit, Sandeep (ProSource Solutions) > [mailto:[EMAIL PROTECTED] Sent: Tuesday, January > 10, 2006 9:51 AM > To: Maven Users List > Subject: RE: NullPointerException while running mvn site:site > > I am getting the following error while accessing the code: > > C:\sd\maven_svn\maven_plugin>c:\subversion\bin\svn checkout > http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven- >plugin-plugin maven-plugin-plugin > > svn: URL > 'http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven >-plugin-plugin' doesn't exist > > Has the url changed? > > Thanks, > Sandeep > > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 1:55 PM > To: Maven Users List > Subject: Re: NullPointerException while running mvn site:site > > yes, you'll need to compile and install the plugin. > It's the classical way : > > 1. extract the plugin sources > as explained in > http://maven.apache.org/plugins/maven-plugin-plugin/source-repository.html > just run the following command : > svn checkout > http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven- >plugin-plugin maven-plugin-plugin > > 2. compile and install the plug-in : > simply run : mvn install > for more information, just see "Guide to developing Java Plugins" > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > > Le Vendredi 06 Janvier 2006 19:41, Dixit, Sandeep (ProSource Solutions) a > > écrit : > > I added this tag in my POMs. Still the error persists. > > > > Your wrote : > > >>> I built and installed the plugin locally, and it works nicely > > > > I don't have source on my machine. I am using Maven 2.0.1 (bin dist). How > > do I go about getting this update? > > > > Thanks, > > Sandeep > > > > -Original Message- > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 06, 2006 1:31 PM > > To: Maven Users List > > Subject: Re: NullPointerException while running mvn site:site > > > > I don't have any tag for the plug-in : it is declared in its > > simplest form in my pom : > > > > > > > > org.apache.maven.plugins > > maven-project-info-reports-plugin > > > > > > > > > > or I did not understand what you are asking for... > > > > Le Vendredi 06 Janvier 2006 13:51, Dixit, Sandeep (ProSource Solutions) a > > > > écrit : > > > Could you please send me your tag for the plug-in? > > > > > > Thanks, > > > Sandeep > > > > > > -Original Message- > > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, January 05, 2006 3:07 PM > > > To: Maven Users List > > > Subject: Re: NullPointerException while running mvn site:site > > > > > > I confirm : svn has a fix (modified since the patch from MNG-1455) > > > I built and installed the plugin locally, and it works nicely > > > > > > Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : > > > > Hello, > > > > > > > > see http://jira.codehaus.org/browse/MNG-1455 but the patch was > > > > reverted. > > > > > > > > I think the maven-project-info-reports-plugin in the svn has a fix > > > > fo
RE: NullPointerException while running mvn site:site
I was able to locate maven-plugin-plugin at this url below: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-plugin-plugin/ Is this the right place? If it is, I am still getting NPE during mvn site (after installing maven-plugin-plugin by running mvn install in the maven-plugin-plugin dir.) Please advise. Thanks, Sandeep -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 9:51 AM To: Maven Users List Subject: RE: NullPointerException while running mvn site:site I am getting the following error while accessing the code: C:\sd\maven_svn\maven_plugin>c:\subversion\bin\svn checkout http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin maven-plugin-plugin svn: URL 'http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin' doesn't exist Has the url changed? Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 1:55 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site yes, you'll need to compile and install the plugin. It's the classical way : 1. extract the plugin sources as explained in http://maven.apache.org/plugins/maven-plugin-plugin/source-repository.html just run the following command : svn checkout http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin maven-plugin-plugin 2. compile and install the plug-in : simply run : mvn install for more information, just see "Guide to developing Java Plugins" http://maven.apache.org/guides/plugin/guide-java-plugin-development.html Le Vendredi 06 Janvier 2006 19:41, Dixit, Sandeep (ProSource Solutions) a écrit : > I added this tag in my POMs. Still the error persists. > > Your wrote : > >>> I built and installed the plugin locally, and it works nicely > > I don't have source on my machine. I am using Maven 2.0.1 (bin dist). How > do I go about getting this update? > > Thanks, > Sandeep > > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 1:31 PM > To: Maven Users List > Subject: Re: NullPointerException while running mvn site:site > > I don't have any tag for the plug-in : it is declared in its > simplest form in my pom : > > > > org.apache.maven.plugins > maven-project-info-reports-plugin > > > > > or I did not understand what you are asking for... > > Le Vendredi 06 Janvier 2006 13:51, Dixit, Sandeep (ProSource Solutions) a > > écrit : > > Could you please send me your tag for the plug-in? > > > > Thanks, > > Sandeep > > > > -Original Message- > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 05, 2006 3:07 PM > > To: Maven Users List > > Subject: Re: NullPointerException while running mvn site:site > > > > I confirm : svn has a fix (modified since the patch from MNG-1455) > > I built and installed the plugin locally, and it works nicely > > > > Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : > > > Hello, > > > > > > see http://jira.codehaus.org/browse/MNG-1455 but the patch was > > > reverted. > > > > > > I think the maven-project-info-reports-plugin in the svn has a fix for > > > it. Maybe a SNAPSHOT version is available. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > >-- ***National City made the following annotations > > - > >-- This communication is a confidential and proprietary > > business communication. It is intended solely for the use of the > > designated recipient(s). If this communication is received in error, > > please contact the sender and delete this communication. > > = > >== > > > > - > > 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] > > > >
RE: NullPointerException while running mvn site:site
I am getting the following error while accessing the code: C:\sd\maven_svn\maven_plugin>c:\subversion\bin\svn checkout http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin maven-plugin-plugin svn: URL 'http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin' doesn't exist Has the url changed? Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 1:55 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site yes, you'll need to compile and install the plugin. It's the classical way : 1. extract the plugin sources as explained in http://maven.apache.org/plugins/maven-plugin-plugin/source-repository.html just run the following command : svn checkout http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-plugin-plugin maven-plugin-plugin 2. compile and install the plug-in : simply run : mvn install for more information, just see "Guide to developing Java Plugins" http://maven.apache.org/guides/plugin/guide-java-plugin-development.html Le Vendredi 06 Janvier 2006 19:41, Dixit, Sandeep (ProSource Solutions) a écrit : > I added this tag in my POMs. Still the error persists. > > Your wrote : > >>> I built and installed the plugin locally, and it works nicely > > I don't have source on my machine. I am using Maven 2.0.1 (bin dist). How > do I go about getting this update? > > Thanks, > Sandeep > > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 1:31 PM > To: Maven Users List > Subject: Re: NullPointerException while running mvn site:site > > I don't have any tag for the plug-in : it is declared in its > simplest form in my pom : > > > > org.apache.maven.plugins > maven-project-info-reports-plugin > > > > > or I did not understand what you are asking for... > > Le Vendredi 06 Janvier 2006 13:51, Dixit, Sandeep (ProSource Solutions) a > > écrit : > > Could you please send me your tag for the plug-in? > > > > Thanks, > > Sandeep > > > > -Original Message- > > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 05, 2006 3:07 PM > > To: Maven Users List > > Subject: Re: NullPointerException while running mvn site:site > > > > I confirm : svn has a fix (modified since the patch from MNG-1455) > > I built and installed the plugin locally, and it works nicely > > > > Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : > > > Hello, > > > > > > see http://jira.codehaus.org/browse/MNG-1455 but the patch was > > > reverted. > > > > > > I think the maven-project-info-reports-plugin in the svn has a fix for > > > it. Maybe a SNAPSHOT version is available. > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > >-- ***National City made the following annotations > > - > >-- This communication is a confidential and proprietary > > business communication. It is intended solely for the use of the > > designated recipient(s). If this communication is received in error, > > please contact the sender and delete this communication. > > = > >== > > > > - > > 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] - 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]
RE: Overwriting a goal in subproject
How would that allow selective on and off? Wouldn't it set one value for all (parent and child projects)? Thanks, Sandeep -Original Message- From: Henry Isidro [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 7:00 PM To: Maven Users List Subject: Re: Overwriting a goal in subproject Dixit, Sandeep (ProSource Solutions) wrote: >I apologize. Error on my part... false did work. >I have one more question: > >Project structure: >-- >LEVEL 1: GENRIC_PROJ: has app server deploy goal >LEVEL 1: PROJ_PARENT: inherits GENRIC_PROJ and SHOULD NOT inherit the >deploy goal >LEVEL 2: PROJ_CHILD: inherits PROJ_PARENT and SHOULD NOT inherit >the deploy goal >LEVEL 2: PROJ_CHILD_2: inherits PROJ_PARENT and SHOULD inherit >the deploy goal > >Can I achieve the above - selective on and off? > >Thanks, >Sandeep > > You can try using properties. In your pom.xml, add the ff: false In your plugin configuration, do this: ... ${inheritGoal} Then, when you want the goal to be inherited, you invoke maven by passing a value to the property: mvn -DinheritGoal=true install Let me know if this works. Regards, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Overwriting a goal in subproject
I apologize. Error on my part... false did work. I have one more question: Project structure: -- LEVEL 1: GENRIC_PROJ: has app server deploy goal LEVEL 1: PROJ_PARENT: inherits GENRIC_PROJ and SHOULD NOT inherit the deploy goal LEVEL 2:PROJ_CHILD: inherits PROJ_PARENT and SHOULD NOT inherit the deploy goal LEVEL 2:PROJ_CHILD_2: inherits PROJ_PARENT and SHOULD inherit the deploy goal Can I achieve the above - selective on and off? Thanks, Sandeep -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 10:10 AM To: Maven Users List Subject: RE: Overwriting a goal in subproject Below is the project hierarchy I have: LEVEL 1: GENRIC_PROJ: has app server deploy goal LEVEL 1: PROJ_PARENT : inherits GENRIC_PROJ and should inherit the deploy goal LEVEL 2:PROJ_CHILD : inherits PROJ_PARENT and should not inherit the deploy goal I added false in my GENERIC pom.xml's ... ... ... false Is this correct? As it didn't work and both PROJ_PARENT and PROJ_CHILD called the app server deploy. Thanks, Sandeep -Original Message- From: Scokart Gilles [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 9:45 AM To: Maven Users List Subject: RE: Overwriting a goal in subproject Look at http://maven.apache.org/maven-model/maven.html , you should find a tag 'inherited'. Set it to false for your install plugin and you should have what you search. Gilles > -Original Message- > From: Dixit, Sandeep (ProSource Solutions) > [mailto:[EMAIL PROTECTED] > Sent: 09 January 2006 15:40 > To: Maven Users List > Subject: Overwriting a goal in subproject > > Is there a way I can overwrite a phase:goal, for example - > install:install in a child project? Let me explain:- > > I have a parent project that during install phase deploys an EAR to an > app server. Since its child project, let's say package an EJB jar, > inherits everything from its parent, also inherits the install to app > server functionality and tries to deploy the EJB jar to the app server. > I don't want this to happen. I would like to overwrite the > install:install of the child project with nothing or a simple text > message. Is this possible? How do I achieve this? > > Thanks, > Sandeep > > -Original Message- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 9:12 AM > To: Maven Users List > Subject: Re: [M1] Resetting Properties > > You can use a Jelly variable > > > > Arnaud > > On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > > > It seems that ant properties are immutable. Is there an alternative? > > > > On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > > Hi Folks, > > > I'n my maven XML i set a property with a particular name(modules > say), > > > and then elsewhere in the XML, I try to reset it to another value. > But > > > I found that the new value is not getting set and the property > retains > > > its old value. Is this a bug, or do I have to do something > different? > > > -- > > > Thanks > > > Afkham Azeez > > > > > > > > > -- > > Thanks > > Afkham Azeez > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > - > ***National City made the following annotations > -- > - > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please contact > the sender and delete this communication. > == > = > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Overwriting a goal in subproject
Below is the project hierarchy I have: LEVEL 1: GENRIC_PROJ: has app server deploy goal LEVEL 1: PROJ_PARENT : inherits GENRIC_PROJ and should inherit the deploy goal LEVEL 2:PROJ_CHILD : inherits PROJ_PARENT and should not inherit the deploy goal I added false in my GENERIC pom.xml's ... ... ... false Is this correct? As it didn't work and both PROJ_PARENT and PROJ_CHILD called the app server deploy. Thanks, Sandeep -Original Message- From: Scokart Gilles [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 9:45 AM To: Maven Users List Subject: RE: Overwriting a goal in subproject Look at http://maven.apache.org/maven-model/maven.html , you should find a tag 'inherited'. Set it to false for your install plugin and you should have what you search. Gilles > -Original Message- > From: Dixit, Sandeep (ProSource Solutions) > [mailto:[EMAIL PROTECTED] > Sent: 09 January 2006 15:40 > To: Maven Users List > Subject: Overwriting a goal in subproject > > Is there a way I can overwrite a phase:goal, for example - > install:install in a child project? Let me explain:- > > I have a parent project that during install phase deploys an EAR to an > app server. Since its child project, let's say package an EJB jar, > inherits everything from its parent, also inherits the install to app > server functionality and tries to deploy the EJB jar to the app server. > I don't want this to happen. I would like to overwrite the > install:install of the child project with nothing or a simple text > message. Is this possible? How do I achieve this? > > Thanks, > Sandeep > > -Original Message- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 9:12 AM > To: Maven Users List > Subject: Re: [M1] Resetting Properties > > You can use a Jelly variable > > > > Arnaud > > On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > > > It seems that ant properties are immutable. Is there an alternative? > > > > On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > > Hi Folks, > > > I'n my maven XML i set a property with a particular name(modules > say), > > > and then elsewhere in the XML, I try to reset it to another value. > But > > > I found that the new value is not getting set and the property > retains > > > its old value. Is this a bug, or do I have to do something > different? > > > -- > > > Thanks > > > Afkham Azeez > > > > > > > > > -- > > Thanks > > Afkham Azeez > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > - > ***National City made the following annotations > -- > - > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please contact > the sender and delete this communication. > == > = > > - > 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]
Overwriting a goal in subproject
Is there a way I can overwrite a phase:goal, for example - install:install in a child project? Let me explain:- I have a parent project that during install phase deploys an EAR to an app server. Since its child project, let's say package an EJB jar, inherits everything from its parent, also inherits the install to app server functionality and tries to deploy the EJB jar to the app server. I don't want this to happen. I would like to overwrite the install:install of the child project with nothing or a simple text message. Is this possible? How do I achieve this? Thanks, Sandeep -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 9:12 AM To: Maven Users List Subject: Re: [M1] Resetting Properties You can use a Jelly variable Arnaud On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > It seems that ant properties are immutable. Is there an alternative? > > On 1/9/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I'n my maven XML i set a property with a particular name(modules say), > > and then elsewhere in the XML, I try to reset it to another value. But > > I found that the new value is not getting set and the property retains > > its old value. Is this a bug, or do I have to do something different? > > -- > > Thanks > > Afkham Azeez > > > > > -- > Thanks > Afkham Azeez > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] NPE in "mvn site" using maven from SVN
Are you using systemPath in your pom? If yes, that is the reason. From what I know there is patch to this in svn... Thanks, Sandeep -Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] Sent: Saturday, January 07, 2006 9:32 AM To: Maven Users List Subject: Re: [m2] NPE in "mvn site" using maven from SVN Hi, Has anyone had a chance to look at this? On 12/23/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > Hi, > > I've received the following exception while running "mvn site" on a > multi-module project (using maven from SVN): > java.lang.NullPointerException > at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationMode lInheritanceAssembler.getParentPrefix(DefaultDecorationModelInheritanceA ssembler.java:255) > at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationMode lInheritanceAssembler.assembleModelInheritance(DefaultDecorationModelInh eritanceAssembler.java:46) > at org.apache.maven.plugins.site.SiteMojo.getDecorationModel(SiteMojo.java: 557) > at org.apache.maven.plugins.site.SiteMojo.getDecorationModel(SiteMojo.java: 472) > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:348) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:414) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:531) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:472) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:451) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:303) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:270) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:139) > 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:249) > 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) > > I know you guys don't like us "commoners" using maven from SVN (wink) > but I couldn't wait, seeing the JIRAs about making the site plugin > reactor-aware closed... > ;-) > > Regards, > _ > Arik Kfir[EMAIL PROTECTED] > -- Regards, _ Arik Kfir[EMAIL PROTECTED] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException while running mvn site:site
I added this tag in my POMs. Still the error persists. Your wrote : >>> I built and installed the plugin locally, and it works nicely I don't have source on my machine. I am using Maven 2.0.1 (bin dist). How do I go about getting this update? Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 1:31 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site I don't have any tag for the plug-in : it is declared in its simplest form in my pom : org.apache.maven.plugins maven-project-info-reports-plugin or I did not understand what you are asking for... Le Vendredi 06 Janvier 2006 13:51, Dixit, Sandeep (ProSource Solutions) a écrit : > Could you please send me your tag for the plug-in? > > Thanks, > Sandeep > > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 3:07 PM > To: Maven Users List > Subject: Re: NullPointerException while running mvn site:site > > I confirm : svn has a fix (modified since the patch from MNG-1455) > I built and installed the plugin locally, and it works nicely > > Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : > > Hello, > > > > see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted. > > > > I think the maven-project-info-reports-plugin in the svn has a fix for > > it. Maybe a SNAPSHOT version is available. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --- > ***National City made the following annotations > --- > This communication is a confidential and proprietary > business communication. It is intended solely for the use of the > designated recipient(s). If this communication is received in error, > please contact the sender and delete this communication. > === > > > - > 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]
RE: NullPointerException while running mvn site:site
Could you please send me your tag for the plug-in? Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 3:07 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site I confirm : svn has a fix (modified since the patch from MNG-1455) I built and installed the plugin locally, and it works nicely Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : > Hello, > > see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted. > > I think the maven-project-info-reports-plugin in the svn has a fix for > it. Maybe a SNAPSHOT version is available. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error building POM (may not be this project's POM)
Settings.xml -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:07 AM To: Maven Users List Subject: Re: Error building POM (may not be this project's POM) Oh .. thanks .. Could you tell me where to set it? On 1/5/06, Dixit, Sandeep (ProSource Solutions) < [EMAIL PROTECTED]> wrote: > > I remember this error. It was to do with my proxy - username/password > -settings. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 10:50 AM > To: users@maven.apache.org > Subject: Re: Error building POM (may not be this project's POM) > > Has anyone seen this error n knows how to correct it ? ... please help. > > > On 1/4/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I installed some jars into the repository using install:install-file. > Now > > I have this problem - every time I run mvn, I get the below error, > each time > > with some random module (it picks one of the modules I installed > manually). > > Please help me resolve this, and also tell me why I keep getting a > different > > module error every time, when all I do is run "mvn install" again and > again > > with no other changes. > > > > > > [ERROR] BUILD ERROR > > [INFO] > > > > - > > --- > > [INFO] Error building POM (may not be this project's POM). > > > > > > Project ID: hibernate:hibernate > > > > Reason: Error getting POM for 'hibernate:hibernate' from the > repository: > > Error t > > ransferring file > > hibernate:hibernate:pom:3.1 > > > > from the specified remote repositories: > > central ( http://repo1.maven.org/maven2) > > > > > > > > [INFO] > > > > - > > --- > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > > - > > > > > > This error goes away by itself during some runs, but it is totally > > unpredictable. Please help. > > > > Thanks > > Karthik. > > > > > > > --- > ***National City made the following annotations > > --- > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please contact > the sender and delete this communication. > > === > > - > 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]
RE: Error building POM (may not be this project's POM)
I remember this error. It was to do with my proxy - username/password -settings. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 10:50 AM To: users@maven.apache.org Subject: Re: Error building POM (may not be this project's POM) Has anyone seen this error n knows how to correct it ? ... please help. On 1/4/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > I installed some jars into the repository using install:install-file. Now > I have this problem - every time I run mvn, I get the below error, each time > with some random module (it picks one of the modules I installed manually). > Please help me resolve this, and also tell me why I keep getting a different > module error every time, when all I do is run "mvn install" again and again > with no other changes. > > > [ERROR] BUILD ERROR > [INFO] > - > --- > [INFO] Error building POM (may not be this project's POM). > > > Project ID: hibernate:hibernate > > Reason: Error getting POM for 'hibernate:hibernate' from the repository: > Error t > ransferring file > hibernate:hibernate:pom:3.1 > > from the specified remote repositories: > central ( http://repo1.maven.org/maven2) > > > > [INFO] > - > --- > [INFO] For more information, run Maven with the -e switch > [INFO] > - > > > This error goes away by itself during some runs, but it is totally > unpredictable. Please help. > > Thanks > Karthik. > > --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException while running mvn site:site
I think it needs to be incorporated into the release. One thing I don't understand is why is it null? Below is my tag: javax javax.ejb 5.0 system ${was.lib}/j2ee.jar The ${was.lib} is defined in settings.xml and is a valid value. Maybe the plugin is not properly resolving the ${was.lib} variable? Thanks, Sandeep -Original Message- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 3:05 AM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site Hello, see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted. I think the maven-project-info-reports-plugin in the svn has a fix for it. Maybe a SNAPSHOT version is available. My technical question It is allowed to return null for artifact.getFile() ? If not there should be different implementation or call of artifact.setFile for a system artifact. If it is allowed the patch should applied. Best Regards Bernd Bohmann Dixit, Sandeep (ProSource Solutions) schrieb: > I am getting the error below while running 'mvn site'. I read in the > mailing archive that it is related to the use of systemPaths in pom.xml, > but didn't see any resolution. Does anyone know how to resolve this? > > Thanks, > Sandeep > > > [INFO] [site:site] > [INFO] Generate "Continuous Integration" report. > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 > got 0 > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 > [INFO] Generate "Dependencies" report. > [INFO] > > - > --- > [ERROR] FATAL ERROR > [INFO] > > - > --- > [INFO] null > [INFO] > > - > --- > [INFO] Trace > java.lang.NullPointerException > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De > faultArtifactResolver.java:82) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De > faultArtifactResolver.java:63) > at > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo > sitory(DefaultMavenProjectBuilder.java:387) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito > ry(DefaultMavenProjectBuilder.java:352) > at > org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe > nderer.getMavenProjectFromRepository(DependenciesReport.java:362) > at > org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe > nderer.renderBody(DependenciesReport.java:242) > at > org.apache.maven.reporting.AbstractMavenReportRenderer.render(Abstrac > tMavenReportRenderer.java:65) > at > org.apache.maven.report.projectinfo.DependenciesReport.executeReport( > DependenciesReport.java:157) > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven > Report.java:98) > at > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo. > java:802) > at > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:432) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:530) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:485) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:455) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:139) > 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:249) > 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:32
NullPointerException while running mvn site:site
I am getting the error below while running 'mvn site'. I read in the mailing archive that it is related to the use of systemPaths in pom.xml, but didn't see any resolution. Does anyone know how to resolve this? Thanks, Sandeep [INFO] [site:site] [INFO] Generate "Continuous Integration" report. [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [INFO] Generate "Dependencies" report. [INFO] - --- [ERROR] FATAL ERROR [INFO] - --- [INFO] null [INFO] - --- [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:82) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo sitory(DefaultMavenProjectBuilder.java:387) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito ry(DefaultMavenProjectBuilder.java:352) at org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe nderer.getMavenProjectFromRepository(DependenciesReport.java:362) at org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRe nderer.renderBody(DependenciesReport.java:242) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(Abstrac tMavenReportRenderer.java:65) at org.apache.maven.report.projectinfo.DependenciesReport.executeReport( DependenciesReport.java:157) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven Report.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo. java:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:432) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:530) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:485) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:455) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:139) 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:249) 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:324) 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: 14 seconds [INFO] Finished at: Wed Jan 04 14:56:43 EST 2006 [INFO] Final Memory: 6M/11M [INFO] - --- --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: trying to understand dependencies and dependencyManagement and DIR structure
I am using: /my_project /commonJar_project /ejb_project /war_project /ear_project /generic_j2ee_project In my opinion Maven 2 is very flexible, you can setup your project/parent project/child project pretty much anyway you like and if required easily change it later by making changes to pom.xml. Hope this helps, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 1:19 PM To: users@maven.apache.org Subject: Re: trying to understand dependencies and dependencyManagement and DIR structure I have a build I want to create that has: yoursos (main pom.xml) -->ear -->projects -->commonJar -->commonWar -->sequenceGenerator -->propertyConfigurator -->commonManagers -->servlets I want to have some common reusable jars that get managed in the projects sub project, and then I want to create a war and and ear with this project. I want the common jars installed into my repo so that other projects can use these as well. Is this the proper structure I should be using to accomplish this? And how should I set up my dependencies as there are 3 different 2nd level pom\'s here. My main concern is having the version numbers of the ear and war managed in 1 place instead of each pom. Should I be combining some of the subprojects? Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting Services (Walnut Creek, CA) - 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] --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to use continuum with Maven2? - Please Help
Below is a sample ciManagement and scm tags from my pom.xml. Once you add this to the pom.xml, simply import or point to the pom url in continuum as per the user guide. scm|local|C:/proj_folder|module_folder continuum mail [EMAIL PROTECTED] Hope this helps, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 30, 2005 1:21 PM To: Maven Users List Subject: How to use continuum with Maven2? - Please Help Hi, Is there and kind of document which describes the steps to integrate Continuum with Maven2.? Or Can anyone provide me how to do this with some sample pom ? Thanks, === Raghurajan Gurunathan | === --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can I call Continuum goals from Maven?
I just successfully installed and configured Continuum and was able to import my Maven projects into it. Is there a way I can call Continuum tasks from Maven itself - mainly notification? Thanks, Sandeep --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. ===