How to refer to the installation directory; how to create sym links
I need to do some additional manipulations in the installation directory, so I need to refer to the installation directory. For example, my installation directory is /repo/com/mycompany/myproject/1.3.2. What property I can use in pom.xml to refer to it? Something like ${project.?}? Related question: where can I find the list of all properties that I can use in pom.xml in that fashion? Another question I have: is there any plugin that can create symbolic links (in unix)? I have a C++ project that produces so library, using native plugin. The artifact, of course, has a version number in its name. In unix, the required style of installing shared libraries is: install a library with version in the name, but also create a symbolic link to it. I can write my own plugin to do that, but I wonder if it exists already. Thanks in advance, Leonid This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
scm:bootstrap checks out twice
I am using the maven-scm-plugin, the scm:bootstrap goal. Everything works OK, except that it does the checkout from svn twice: it cleans the .../target/checkout directory, performs the checkout, and then cleans again and checks out again. Only after that it does the specified goals. This is annoying because the checkout may take essential time. What is the problem? Is anybody else experiencing the same ? This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
Deploying assembly
I am using mvn assembly:assembly deploy command to upload my distribution to the repository. After that, to deploy it on the target machine, I use a simple Perl script that downloads the assembly using http and then unpacks it. Seems that this is pretty convenient thing, and my distributions are under maven control, with names, versions, etc. I had a discussion with my colleague, and he says that this usage of Maven may be not appropriate, that Maven should be used for libraries and not for executable packages. I would like to hear what maven community thinks about this. Another question: is there a way to download and unpack the assembly using Maven? This would be more organized way for deployment. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
How to download and unzip the assembled package.
I have a tar.gz file in the remote repository that was created by mvn assembly:assembly deploy command. There are sha1 and md5 files next to it. Now I need to download it to deployment machine and unzip. How I do it the maven style? So far I wrote a simple perl script to do it, and it works, but I want to know if maven can also do it, with checking the checksums, etc. Please reply to my email address. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Maven2 How to deploy assembled file
In my pom.xml I put the maven-assembly-plugin configuration, so now not only I can do mvn install to make my program jar (i.e. pks-3.0.jar), but also mvn assembly:assembly to produce the whole application package (pks-3.0-jar-with-dependencies.jar). When I do mvn deploy, it deploys the pks-3.0.jar to remote repository. How can I deploy pks-3.0-jar-with-dependencies.jar ? Please respond to my email address (I do not subscribe currently to the mail group). If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
M2: JVM options for unit test
My test requires big memory. When I build the project, the test fails (actually it does not say why it failed - this is an error reporting problem, but I just know that memory is the problem). Where can I specify in pom.xml additional JVM options ? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: M2: JVM options for unit test
Thanks Kenney, it worked. However, setting MAVEN_OPTS should not be the way to do it. It seems in Maven1 you could control this feature in properties file. Another question: can I put something in pom.xml to just skip the test? -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 1:26 PM To: Maven Users List Subject: Re: M2: JVM options for unit test On Tue, 23 Aug 2005, Ilyevsky, Leonid (Equity Trading) wrote: You can't. Java is already running when it reads the pom, and tests currently cannot be forked. It's easiest to set the MAVEN_OPTS environment variable ( for instance export MAVEN_OPTS=-Xmx1024m ). -- Kenney My test requires big memory. When I build the project, the test fails (actually it does not say why it failed - this is an error reporting problem, but I just know that memory is the problem). Where can I specify in pom.xml additional JVM options ? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - 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]
M@: skipping tests
To skip tests, Erick Dovale and Emmanuel Venisse suggested to do m2 -Dmaven.test.skip=true install. Does not work for me, still running the test. I am using the latest alpha-3. What is the secret? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: Maven2 using Maven1 repository
If I need to do 10 - 15 poms, I can write them by hand in 30 minutes. If it is 30+, I would write a perl script in 30 minutes. Between 15 and 30 - whatever you feel is easier. -Original Message- From: Eric Weiss [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 12:55 PM To: Maven Users List Subject: Re: Maven2 using Maven1 repository Most likely a dumb question: what is the best way to generate the .poms for artifacts in our repo that don't already have a .pom? Or do we have to build them manually? Eric At 06:23 PM 7/25/2005, Brett Porter wrote: The next release will allow using a Maven1 repo OOTB, but I highly recommend converting (although this tool is also pending release) your M1 repo (with M1 POMs) to an M2 repo so that you get the extra dependency information. - Brett On 7/26/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: Thanks, but I already did that. Temporary workaround. The problem is, I have to manually copy the jar file. When the other team is ready with their new release, I have to do this again, copy the jar and create the pom. I guess, if Maven2 is that strict, I should ask my colleagues to publish the poms. -Original Message- From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 4:15 PM To: Maven Users List Subject: RE: Maven2 using Maven1 repository I've been creating simple poms in my local repository. Not the optimal solution, but it should get you moving forward. An example of the POM is: project modelVersion4.0.0/modelVersion groupIdjta/groupId artifactIdjta/artifactId version1.0.1/version /project -Original Message- From: Ilyevsky, Leonid (Equity Trading) [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:53 AM To: users@maven.apache.org Subject: Maven2 using Maven1 repository We use packages from another group that uses maven1. Since maven1 does not really require the pom files in repository, they don't bother to publish them I tried my Maven2 with legacy layout. It understands the layout but still tries to download the pom file from the poms subdirectory. Is there any way to tell Maven2 to skip the poms? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. - 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] Eric Weiss email: [EMAIL PROTECTED] office: 925.422.4238 icq:321045132 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 using Maven1 repository
Thanks, but I already did that. Temporary workaround. The problem is, I have to manually copy the jar file. When the other team is ready with their new release, I have to do this again, copy the jar and create the pom. I guess, if Maven2 is that strict, I should ask my colleagues to publish the poms. -Original Message- From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 4:15 PM To: Maven Users List Subject: RE: Maven2 using Maven1 repository I've been creating simple poms in my local repository. Not the optimal solution, but it should get you moving forward. An example of the POM is: project modelVersion4.0.0/modelVersion groupIdjta/groupId artifactIdjta/artifactId version1.0.1/version /project -Original Message- From: Ilyevsky, Leonid (Equity Trading) [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:53 AM To: users@maven.apache.org Subject: Maven2 using Maven1 repository We use packages from another group that uses maven1. Since maven1 does not really require the pom files in repository, they don't bother to publish them I tried my Maven2 with legacy layout. It understands the layout but still tries to download the pom file from the poms subdirectory. Is there any way to tell Maven2 to skip the poms? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. - 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: Maven2: Wrong ACK
Here is the SSH I am using: OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f What is jcsh? What could be wrong with my setup? Where should I look? Thanks, Leonid -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 11:28 AM To: Maven Users List Subject: Re: Maven2: Wrong ACK On Thu, Jul 14, 2005 at 10:02:32AM -0400, Ilyevsky, Leonid (Equity Trading) wrote: This happens consistently. All the time, so I cannot do my build with this. Seems like there is a issue with your setup and/or jcsh. What SSH server are you using? We've been deploying using the scp provider all the time against OpenSSH. However, I found this workaround: replaced scp by file, and it works. I remember trying file long time back, with alpha-1 release, and it was not supported at that time. Question: should file protocol work when repository is really a remote repository? In my case, I refer to it as remote, but that directory happens to also be mounted on my machine. I wonder what happens if it is not mounted. Not unless you know that everybody can mount the repository. If it's not mounted it will say that it can download the artifact because the file isn't there. -- Trygve -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 9:01 PM To: Maven Users List Subject: Re: Maven2: Wrong ACK On Wed, Jul 13, 2005 at 05:07:42PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: This used to work before. At least with alpha-1 release, I remember it worked. What could be the problem? This is most likely a error message from the scp provider (I noticed that you're using the scp:// url), did you get this error message if you tried again? -- Trygve If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2: Wrong ACK
I just tried it. Does not help, the same Wrong ACK. Our Linux guy says that nothing was changed about ssh. Well, there probably were some patches installed. Outside maven the scp works fine. Any more clues? Emmanuel, could you also replace that jar with 0.1.21 and reproduce the problem again? -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 1:32 PM To: Maven Users List Subject: Re: Maven2: Wrong ACK On Fri, Jul 15, 2005 at 01:24:01PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: I see /qsatools/tools/maven-2.0-alpha-3/lib/jsch-0.1.17.jar . On the Jsch website they have 0.1.21. Is this a problem? If I download the latest one, where I should tell maven to use it? It should work by just replacing the jar assuming that it's binary compatible with the current version that we're using. Can you add a issue about upgrading the JSCH version? -- Trygve If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2: Wrong ACK
This happens consistently. All the time, so I cannot do my build with this. However, I found this workaround: replaced scp by file, and it works. I remember trying file long time back, with alpha-1 release, and it was not supported at that time. Question: should file protocol work when repository is really a remote repository? In my case, I refer to it as remote, but that directory happens to also be mounted on my machine. I wonder what happens if it is not mounted. -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 9:01 PM To: Maven Users List Subject: Re: Maven2: Wrong ACK On Wed, Jul 13, 2005 at 05:07:42PM -0400, Ilyevsky, Leonid (Equity Trading) wrote: This used to work before. At least with alpha-1 release, I remember it worked. What could be the problem? This is most likely a error message from the scp provider (I noticed that you're using the scp:// url), did you get this error message if you tried again? -- Trygve Downloading: http://repo1.maven.org/maven2/pt/pttech/1.0/pttech-1.0.jar [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: scp://mlqsa-as2-d.dev.etsd.ml.com/home/qsa/mavenrepo/pt/pttech/1.0/pttec h-1.0.jar 498K downloaded [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Main Error: Wrong ACK pt:pttech:1.0:jar from the specified remote repositories: http://repo1.maven.org/maven2, scp://mlqsa-as2-d.dev.etsd.ml.com/home/qsa/mavenrepo Path to dependency: 1) qsa:lex:jar:1.0 2) pt:pttech:jar:1.0 Root error: Wrong ACK [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Jul 13 16:51:32 EDT 2005 [INFO] Final Memory: 3M/5M [INFO] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Executable scripts in assembly jar
I create assembly jar with my library jars and some scripts (perl, ksh, etc.) in Linux. After I unpack it, the scripts (of course) do not have execute permissions, so I have to remember to manually do chmod +x. Is there any way to automate this in maven style? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Assembly and deploy
How can I tell assembly plugin to upload the assembly file in remote repository (similar to what deploy pluging is doing, using distributionManagement)? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: Assembly and deploy
No, the m2 assembly:assembly only creates the file in the target directory. -Original Message- From: Nicolas Chalumeau [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 3:41 PM To: Maven Users List Subject: Re: Assembly and deploy I thing m2 assembly:assembly will do the job Nicolas, On 5/23/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: How can I tell assembly plugin to upload the assembly file in remote repository (similar to what deploy pluging is doing, using distributionManagement)? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - 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]
M2 alppha-2 reports failure because of compiler warnings
I believe in alpha-1 release this was not a problem. Now maven says BUILD FAILURE but compiler gives only warnings, not errors. Maybe now I have to set some attribute to ignore warnings? Everything is fine when I fix the code to avoid warnings. See log below. [EMAIL PROTECTED] /home/lilyevsk/workspace/projects/pt_EDtech $ m2 deploy [INFO] [INFO] Building pt:pt_EDtech:jar:1.0 [INFO] [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-resources-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-install-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-deploy-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] [resources:resources] [INFO] [compiler:compile] Compiling 428 source files to /home/lilyevsk/workspace/projects/pt_EDtech/target/classes [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Reason: Compilation failure [INFO] [INFO] /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/concurrent/Sem aphoreControlledChannel.java:[71,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/concurrent/Sem aphoreControlledChannel.java:[73,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/rules/Rule.jav a:[146,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; /home/lilyevsk/workspace/projects/pt_EDtech/src/pt/EDtech/rules/Rule.jav a:[194,-1] warning: non-varargs call of varargs method with inexact argument type for last parameter; [INFO] [INFO] Total time: 3 minutes 4 seconds [INFO] Finished at: Thu May 19 09:51:56 EDT 2005 [INFO] Final Memory: 6M/132M If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: Pack the application
Tried assembly. Missing some descriptor (of what?). Log below. Could you give an example of what I have to put in pom.xml for assembly to work? Thanks! Leonid === [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 assembly:assembly [INFO] [INFO] Building ets:lex:jar:1.0 [INFO] [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-assembly-plugin: resolved to version 2.0-alpha-1 from local repository [INFO] [assembly:assembly] [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.MojoExecutionException: Error creating assembly at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java: 118) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Default LifecycleExecutor.java:169) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:90) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167) at org.apache.maven.cli.MavenCli.main(MavenCli.java:246) 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:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.plugin.MojoExecutionException: You must specify descriptor or descriptorId at org.apache.maven.plugin.assembly.AssemblyMojo.doExecute(AssemblyMojo.jav a:143) at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java: 113) ... 14 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed May 18 11:56:45 EDT 2005 [INFO] Final Memory: 1M/73M [INFO] -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 7:49 PM To: Ilyevsky, Leonid (Equity Trading) Subject: Re: Pack the application On 5/18/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I saw this plugin: http://www.ibiblio.org/maven2/maven-plugins/maven-javaapp-plugin/ . Is this what I need? If so, how do I use it? This is still a Maven 1 plugin (http://maven-plugins.sf.net). The assembly plugin in m2 does the same thing. It is used to build the Ant Artifact tasks JAR, and the main Maven distribution for example. http://maven.apache.org/maven2/plugins/ Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Pack the application
After M2 Alpha2 release the addClasspath tag works fine, so I need to do the next step. I need to copy my main jar file artifact and all its dependencies to a specified directory (or put them inside an archive). Plus, it would be nice to pick up other resource files as well. Right now I do it with a script, as temporary solution. I saw this plugin: http://www.ibiblio.org/maven2/maven-plugins/maven-javaapp-plugin/ . Is this what I need? If so, how do I use it? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache Maven 2.0 Alpha 2 Released
Tried it just now. Hit a problem: ... Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar.md5 0K downloaded Downloading: http://repo1.maven.org/maven2/plexus/plexus-archiver/1.0-alpha-1/plexus- archiver-1.0-alpha-1.jar 123K downloaded Downloading: http://repo1.maven.org/maven2/plexus/plexus-archiver/1.0-alpha-1/plexus- archiver-1.0-alpha-1.jar.md5 [WARNING] No checksum exists - assuming a valid download [INFO] maven-compiler-plugin: checking for updates from central [INFO] Retrieving snapshot information for maven-compiler-plugin 1.0-alpha-2-SNAPSHOT [WARNING] No checksum exists - assuming a valid download [INFO] maven-compiler-plugin: resolved to version 1.0-alpha-2-20050411.120835-1 from repository central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl ugin/1.0-alpha-2-SNAPSHOT/maven-compiler-plugin-1.0-alpha-2-20050411.120 835-1.jar 6K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl ugin/1.0-alpha-2-SNAPSHOT/maven-compiler-plugin-1.0-alpha-2-20050411.120 835-1.jar.md5 [WARNING] No checksum exists - assuming a valid download --- constituent[0]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-artifact-2.0-alpha-2.ja r constituent[1]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-core-2.0-alpha-2.jar constituent[2]: file:/qsatools/tools/maven-2.0-alpha-2/lib/wagon-provider-api-1.0-alpha- 3.jar constituent[3]: file:/qsatools/tools/maven-2.0-alpha-2/lib/doxia-core-1.0-alpha-2.jar constituent[4]: file:/qsatools/tools/maven-2.0-alpha-2/lib/wagon-http-lightweight-1.0-al pha-3.jar constituent[5]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-plugin-api-2.0-alpha-2. jar constituent[6]: file:/qsatools/tools/maven-2.0-alpha-2/lib/marmalade-core-1.0-alpha-3.ja r constituent[7]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-monitor-2.0-alpha-2.jar constituent[8]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-script-marmalade-2.0-al pha-2.jar constituent[9]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-reporting-api-2.0-alpha -2.jar constituent[10]: file:/qsatools/tools/maven-2.0-alpha-2/lib/plexus-container-artifact-1.0 -alpha-3.jar constituent[11]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-plugin-descriptor-2.0-a lpha-2.jar constituent[12]: file:/qsatools/tools/maven-2.0-alpha-2/lib/commons-cli-1.0-beta-2.jar constituent[13]: file:/qsatools/tools/maven-2.0-alpha-2/lib/oro-2.0.7.jar constituent[14]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-model-2.0-alpha-2.jar constituent[15]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-settings-2.0-alpha-2.ja r constituent[16]: file:/qsatools/tools/maven-2.0-alpha-2/lib/maven-project-2.0-alpha-2.jar constituent[17]: file:/qsatools/tools/maven-2.0-alpha-2/lib/plexus-i18n-1.0-beta-3.jar constituent[18]: file:/qsatools/tools/maven-2.0-alpha-2/lib/plexus-marmalade-factory-1.0- alpha-3.jar --- java.lang.IllegalStateException: Plugin descriptor ID incomplete: null:null:null in jar:file:/home/lilyevsk/.m2/repository/org/apache/maven/plugins/maven-co mpiler-plugin/1.0-alpha-2-SNAPSHOT/maven-compiler-plugin-1.0-alpha-2-200 50411.120835-1.jar!/META-INF/maven/plugin.xml at org.apache.maven.plugin.descriptor.PluginDescriptor.getId(PluginDescript or.java:114) at org.apache.maven.plugin.descriptor.MojoDescriptor.getId(MojoDescriptor.j ava:281) at org.apache.maven.plugin.descriptor.MojoDescriptor.getRoleHint(MojoDescri ptor.java:276) at org.codehaus.plexus.component.repository.ComponentDescriptor.equals(Comp onentDescriptor.java:304) at java.util.ArrayList.indexOf(ArrayList.java:221) at java.util.ArrayList.contains(ArrayList.java:202) at org.apache.maven.plugin.descriptor.PluginDescriptor.addMojo(PluginDescri ptor.java:61) at org.apache.maven.plugin.descriptor.PluginDescriptorBuilder.build(PluginD escriptorBuilder.java:53) at org.apache.maven.plugin.MavenPluginDiscoverer.createComponentDescriptors (MavenPluginDiscoverer.java:49) at org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.find Components(AbstractComponentDiscoverer.java:72) at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPle xusContainer.java:607) at org.codehaus.plexus.DefaultArtifactEnabledContainer.discoverArtifactComp onents(DefaultArtifactEnabledContainer.java:273) at org.codehaus.plexus.DefaultArtifactEnabledContainer.addComponent(Default ArtifactEnabledContainer.java:117) at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:285) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:241) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processPluginPhases( DefaultLifecycleExecutor.java:236) at
FW: Maven2 jar classpath
Brett, I tried using addClasspath tag again few days ago. Still does not work for the default compile scope. I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. However, even if addClasspath works, the way it is now is not very useful (I mentioned this problem in one of my previous postings). It will include dependent jar file names without any directory prefix, like if they are sitting in the same directory. But they are not in the same directory! For example, my program ...repository/mygroup/myprog/1.0/myprog-1.0.jar depends on ...repository/commons-collections/commons-collections/3.1/commons-collec tions-3.1.jar The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. Any thoughts? -Original Message- From: Ilyevsky, Leonid (Equity Trading) Sent: Friday, April 22, 2005 7:12 PM To: 'Brett Porter' Subject: RE: Maven2 jar classpath Thanks Brett. I will try it Monday (it is time now to go home). One more related question. The classpath I am getting this way will list just the names of the jar files (no path). So, it will work if my program's jar file and all dependencies are all in one directory. I guess, this is reasonable, to have it in one directory in runtime environment. The question is, can maven2 automatically put my program jar and all dependencies in one directory? Or something equivalent to this, so after doing m2 deploy I can run it with java -jar myprog.jar. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 6:53 PM To: Ilyevsky, Leonid (Equity Trading) Cc: Maven Users List Subject: Re: Maven2 jar classpath On 4/23/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: The problem is that artifacts with the compile scope don't get into the runtime classpath, I'm pretty sure they do. so when I use addClasspathtrue/addClasspath, they do not show up in the manifest. Ok, there was a bug in the addClasspath handling. Fixed. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Maven2 jar classpath
I think the following workaround is acceptable. Take an advantage of the convenient uniqueness of the jar file names with their version numbers, dump all of them from repository to a single /lib directory. Then all executable jar files created with addClasspath feature will work. I also tried putting soft links in /lib. It does not help much; soft links to dependency libraries are OK, but the executable jar must be a real file, otherwise java is looking for dependencies in the wrong place. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:06 AM To: Ilyevsky, Leonid (Equity Trading) Cc: users@maven.apache.org Subject: Re: FW: Maven2 jar classpath On 5/5/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. Correct. The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. That's not very portable if you want to move the JAR around, though. Any thoughts? I think that the Classpath: manifest entry is not very useful :) You might like to try the jar-with-dependencies assembly that simply folds all of the JARs into one. Or zip all the dependencies up in one directory. We are looking into more sophisticated ways of building distributables along these lines. Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FW: Maven2 jar classpath
Just one more thought. Brett said That's not very portable if you want to move the JAR around, though. Bit isn't it a part of maven philosophy that we should restrict ourselves of moving things around too much? If repository layout is a standard, why not use it at runtime, so we always know where to look for the specific version of any package. -Original Message- From: Ilyevsky, Leonid (Equity Trading) Sent: Thursday, May 05, 2005 9:25 AM To: Brett Porter Cc: users@maven.apache.org Subject: RE: FW: Maven2 jar classpath I think the following workaround is acceptable. Take an advantage of the convenient uniqueness of the jar file names with their version numbers, dump all of them from repository to a single /lib directory. Then all executable jar files created with addClasspath feature will work. I also tried putting soft links in /lib. It does not help much; soft links to dependency libraries are OK, but the executable jar must be a real file, otherwise java is looking for dependencies in the wrong place. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 9:06 AM To: Ilyevsky, Leonid (Equity Trading) Cc: users@maven.apache.org Subject: Re: FW: Maven2 jar classpath On 5/5/05, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: I assume I have to wait for the next alpha release to get your fix. For the time being I am using manifestFile feature. Correct. The classpath generated by maven will have commons-collections-3.1.jar, but it should have ../../../commons-collections/commons-collections/3.1/commons-collection s-3.1.jar. Then I really can run my jar file out of repository. That's not very portable if you want to move the JAR around, though. Any thoughts? I think that the Classpath: manifest entry is not very useful :) You might like to try the jar-with-dependencies assembly that simply folds all of the JARs into one. Or zip all the dependencies up in one directory. We are looking into more sophisticated ways of building distributables along these lines. Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - 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: Maven2: dependencies with non-conformant file names.
I am glad I started this discussion. I believe it is very useful for many developers. I totally agree with arguments for using versions; I like the structure and discipline, and I agree that it will reduce the number of errors. Software vendors like Tibco and Oracle may reconsider their artifact names when more developers use maven2. They may even use maven2 themselves and store their artifacts in accessible repositories. For now, I will just rename those few files, no big deal. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Sunday, April 24, 2005 5:50 AM To: Maven Users List Subject: Re: Maven2: dependencies with non-conformant file names. On Fri, 2005-04-22 at 09:36 +0200, Kenney Westerhof wrote: On Thu, 21 Apr 2005, Mykel Alvis wrote: Total now $0.04: I totally agree, but since Maven 2 already uses directories with the version in it's name, it should be possible to store the jar itself without a version in it's name. The path to the jar already has it's version in it, so you can still differentiate between versions (but not snapshots..) Here's my take on it: http://blogs.codehaus.org/projects/maven/archives/001052_why_maven_uses_ jar_names_with_versions.html -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org Our achievements speak for themselves. What we have to keep track of are our failures, discouragements and doubts. We tend to forget the past difficulties, the many false starts, and the painful groping. We see our past achievements as the end result of a clean forward thrust, and our present difficulties as signs of decline and decay. -- Eric Hoffer, Reflections on the Human Condition - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 jar classpath
Kenney, You said But beware, only dependencies with scoperuntime/scope get included in the classpath.. It really behaves like that, but 1. It creates a problem. If I specify runtime then it does not compile. I managed to see runtime for the manifest when I compiled without runtime, then put it in and did deploy again. 2. It was not meant to be this way, because on http://maven.apache.org/maven2/dependencies.html it says that with default compile scope the artifact will be in all classpaths. So, I suspect it is a bug. -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 10:29 AM To: Maven Users List Subject: Re: Maven2 jar classpath On Tue, 19 Apr 2005, Ilyevsky, Leonid (Equity Trading) wrote: use this: build plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /build But beware, only dependencies with scoperuntime/scope get included in the classpath. Greetings, Kenney Westerhof As my dependency list grows, I would like maven 2 to automatically generage class path in the manifest from dependency information. How should I specify it in pom.xml? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - 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: Maven2 jar classpath
The problem is that artifacts with the compile scope don't get into the runtime classpath, so when I use addClasspathtrue/addClasspath, they do not show up in the manifest. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 5:41 PM To: Maven Users List Subject: Re: Maven2 jar classpath 2. It was not meant to be this way, because on http://maven.apache.org/maven2/dependencies.html it says that with default compile scope the artifact will be in all classpaths. correct So, I suspect it is a bug. I don't see anywhere in the thread that you describe a bug. What's the problem? - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven2: dependencies with non-conformant file names.
It seems that if third party jar file name does not comply with maven naming convention, the only way is to rename it. The dependency element always requires version number, and the jar tag (supposed to take explicit file name) does not do anything. Is this a feature? I just want to know. It might be OK to rename files and make up a version number even if the vendor does not care about version. But then we are going back to non-standardized environment where, let say, tibrvj.jar from Tibco is not named tibrvj.jar and it is not clear in what directory it should be. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Maven2 jar classpath
As my dependency list grows, I would like maven 2 to automatically generage class path in the manifest from dependency information. How should I specify it in pom.xml? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: Maven2 jar classpath
Thanks Kenney, it works. But, to make it useful, I need to put all the jar files in one directory, because maven puts just the jar file names in the classpath. Right now I have them in .m2/repository, in their subdirectories. I guess, I will create a directory with soft links for my run environment. Is there a task in maven2 to automate this? -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 10:29 AM To: Maven Users List Subject: Re: Maven2 jar classpath On Tue, 19 Apr 2005, Ilyevsky, Leonid (Equity Trading) wrote: use this: build plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /build But beware, only dependencies with scoperuntime/scope get included in the classpath. Greetings, Kenney Westerhof As my dependency list grows, I would like maven 2 to automatically generage class path in the manifest from dependency information. How should I specify it in pom.xml? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - 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]
Nuisance problem (maven2, java compiler and CVS)
When I check out the file for editing, CVS puts a copy of it in CVS/Base. Then maven complains about duplicate class. Is there a way to tell maven to ignore those extra files? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Deploy with scp in maven2
I want to use scp for deployment. Does it work now in maven2 ? If so, I would need an example of what to put in pom.xml and in settings.xml. Thanks, Leonid If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Maven2 exception
Probably I am missing something now: m2 install [INFO] [INFO] Building null [INFO] [INFO] maven-compiler-plugin: using locally installed snapshot --- constituent[0]: file:/qsatools/tools/maven-2.0-alpha-1/lib/wagon-http-lightweight-1.0-al pha-2.jar constituent[1]: file:/qsatools/tools/maven-2.0-alpha-1/lib/wagon-provider-api-1.0-alpha- 2.jar constituent[2]: file:/qsatools/tools/maven-2.0-alpha-1/lib/marmalade-core-1.0-alpha-2.ja r constituent[3]: file:/qsatools/tools/maven-2.0-alpha-1/lib/commons-cli-1.0-beta-2.jar constituent[4]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-monitor-2.0-alpha-1.jar constituent[5]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-script-marmalade-2.0-al pha-1.jar constituent[6]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-container-artifact-1.0 -alpha-2.jar constituent[7]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-marmalade-factory-1.0- alpha-2.jar constituent[8]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-core-2.0-alpha-1.jar constituent[9]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-i18n-1.0-beta-3.jar constituent[10]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-artifact-2.0-alpha-1.ja r constituent[11]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-plugin-2.0-alpha-1.jar constituent[12]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-model-2.0-alpha-1.jar constituent[13]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-settings-2.0-alpha-1.ja r --- org.apache.maven.reactor.ReactorException: Error executing project within the reactor at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:144) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error during lifecycle execution at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:154) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) ... 9 more Caused by: java.lang.NullPointerException: Artifact type cannot be null. at org.apache.maven.artifact.DefaultArtifact.init(DefaultArtifact.java:67 ) at org.apache.maven.artifact.DefaultArtifact.init(DefaultArtifact.java:85 ) at org.apache.maven.artifact.construction.ArtifactConstructionSupport.creat eArtifact(ArtifactConstructionSupport.java:77) at org.apache.maven.artifact.construction.ArtifactConstructionSupport.creat eArtifact(ArtifactConstructionSupport.java:30) at org.codehaus.plexus.DefaultArtifactEnabledContainer.createArtifact(Defau ltArtifactEnabledContainer.java:63) at org.codehaus.plexus.DefaultArtifactEnabledContainer.addComponent(Default ArtifactEnabledContainer.java:157) at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:299) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:272) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processPluginPhases( DefaultLifecycleExecutor.java:260) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processPluginConfigu ration(DefaultLifecycleExecutor.java:241) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:130) ... 11 more If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
RE: Maven2 - How to specify which jdk to use ?
I was told I have to do something like == build plugins plugin groupIdmaven/groupId artifactIdmaven-java-plugin/artifactId version1.5/version configuration source1.5/source target1.5/target /configuration /plugin /plugins /build === But I am getting an exception. I am not sure whether I refer to the correct plugin. Did you figure it out? -Original Message- From: Marc Jambert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 11:58 AM To: Maven Users List Subject: Maven2 - How to specify which jdk to use ? Hi all, I have just started using Maven2 today and I am wondering if anybody found how to specify which jdk to use. I have added the following section in my settings.xml but it keeps using jdk 1.4.2 (I want to build using 5.0). jdks jdk activetrue/active version5.0/version javaHome/usr/share/java/jdk1.5.0_01/javaHome /jdk jdk activefalse/active version1.4.2/version javaHome/usr/share/java/j2sdk1.4.2_07/javaHome /jdk /jdks Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 - How to specify which jdk to use ?
It works for me when I do it this way: build plugins plugin artifactIdmaven-compiler-plugin/artifactId version1.0-alpha-2-SNAPSHOT/version configuration source1.5/source target1.5/target /configuration /plugin /plugins /build -Original Message- From: Marc Jambert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 11:58 AM To: Maven Users List Subject: Maven2 - How to specify which jdk to use ? Hi all, I have just started using Maven2 today and I am wondering if anybody found how to specify which jdk to use. I have added the following section in my settings.xml but it keeps using jdk 1.4.2 (I want to build using 5.0). jdks jdk activetrue/active version5.0/version javaHome/usr/share/java/jdk1.5.0_01/javaHome /jdk jdk activefalse/active version1.4.2/version javaHome/usr/share/java/j2sdk1.4.2_07/javaHome /jdk /jdks Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Deploy
Brett, Could you please tell me what to put in settings.xml for username/password? I have in pom.xml this: distributionManagement repository idlex-deploy/id urlfile://localhost/home/lilyevsk/tmp/url /repository /distributionManagement And I get a warning: [WARNING] Deployment repository {id: 'lex-deploy'} has no associated authentication info! And no deployment happen. Thanks, Leonid -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 7:00 PM To: Maven Users List Subject: Re: Deploy yes, distributionManagement repository idmy-deploy-repo/id urlscp://dist.mycompany.com/path/to/deploy/url /repository /distributionManagement We currently support file and SCP deployments. FTP should work if you add the wagon-ftp 1.0-alpha-2 JAR to your project. Username and password settings are configured in ~/.m2/settings.xml. Documentation will be forthcoming very shortly. Cheers, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 maven.jar properties
mainClass.../mainClass /manifest /archive /configuration see: manifest element: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/ma in/java/org/apache/maven/archiver/ManifestConfiguration.java?rev=1.1vie w=markup archive element: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/ma in/java/org/apache/maven/archiver/MavenArchiveConfiguration.java?rev=1.1 view=markup (we intend to include an automatic documentation generator for plugins in alpha-2) - Brett On Apr 12, 2005 5:14 AM, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: In maven2, how do I specify the classpath, main class for the manifest? How I specify a manifest file to include? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - 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]
Maven2 javadoc
I tried to do javadoc with m2, it is looking for org/apache/maven/plugins/maven-javadoc-plugin/1.0-SNAPSHOT/maven-javadoc -plugin-1.0-SNAPSHOT.jar which is not there. On the other hand, I see maven/maven-javadoc-plugin . Anyway, what is the relationship between org/apache/maven and maven repositories ? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 javadoc
Thanks John for clarification. This basically implies that www.ibiblio.org/maven2/maven directory should be removed completely. Right? -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:56 PM To: Maven Users List Subject: Re: Maven2 javadoc -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 WRT maven plugins, it's a safe assumption that anything under the grouping maven is a maven-1 plugin, while anything under the grouping org/apache/maven (repo) or org.apache.maven (POM, etc.) is a maven-2 plugin. So, the javadoc plugin for maven2 doesn't exist yet (I don't think), and the one you did find is a plugin for maven-1 that inadvertently got propagated into the maven2 repository... Ilyevsky, Leonid (Equity Trading) wrote: I tried to do javadoc with m2, it is looking for org/apache/maven/plugins/maven-javadoc-plugin/1.0-SNAPSHOT/maven-javadoc -plugin-1.0-SNAPSHOT.jar which is not there. On the other hand, I see maven/maven-javadoc-plugin . Anyway, what is the relationship between org/apache/maven and maven repositories ? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCXDXmK3h2CZwO/4URAilKAKCZ0et7eHlvrBw9UWMUd+DpdHMUGACfX+U0 cmK+x6LRs50DZog7CgQqci4= =+4Ih -END PGP SIGNATURE- - 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: Maven2 exception
Thanks. But I am trying to do slightly different thing. I do not want to put all the stuff in one archive. I have a few projects that depend on each other. Each project produces its own jar file that is deployed in the repository. So I just want to build all projects in one command. I tried it, but m2 wanted to put it all in one archive, and it complained about the manifest that I use for one of the subprojects, because I specify relative path for that manifest. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 6:07 PM To: Ilyevsky, Leonid (Equity Trading) Cc: Maven Users List Subject: Re: Maven2 exception (copying back to the list). Yes, you are referring to the reactor? It is all built in - take a look at the bottom of the getting started tutorial for an example (look for the modules/ tag) - Brett On Apr 13, 2005 7:56 AM, Ilyevsky, Leonid (Equity Trading) [EMAIL PROTECTED] wrote: Thanks, everything works fine now. I have another question: in maven1 there was a way to build multiple projects, according to dependencies. Is it already in m2? If so, how I do it? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 5:48 PM To: Maven Users List Subject: Re: Maven2 exception are you missing packaging/ ? have an empty type/ element in a dependency? If it is not that, what is the pom.xml you are building? Thanks, Brett If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 2
Thanks. It worked for me. My case is simple though: I created an empty project, made it eclipse project using your plugin, and then imported it into eclipse. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 6:31 PM To: Maven Users List Subject: Re: Maven 2 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just letting you know that the maven-eclipse-plugin for Maven 2.0 is deployed to ibiblio.org. To use it, type: m2 eclipse:eclipse in the root of your project directory. HTH, john Ilyevsky, Leonid (Equity Trading) wrote: I got maven2 today, and I am eager to start. Two main problems right in the beginning: 1. Where do I specify my web proxy ? Obviously maven2 does not use build.properties anymore. 2. On maven2 webpage they suggest to consult documentation frequently. Where is documentation anyway? I couldn't find it. If I looked at documentation, I probably wouldn't have the problem #1. Please help. I cannot do anything without proxy settings. If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCVwYuK3h2CZwO/4URAnyOAJ4w40v43ay9MQOPPWh/y9qDCGgscQCfaNIK lYeMHqoeTGoAYu3xUnmbSLQ= =m1lp -END PGP SIGNATURE- - 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: [M2] plugins language?
My next build problem, see below. The commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom indeed is not there. [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 install [INFO] [INFO] Building null [INFO] [INFO] [resources:resources] Downloading: commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Unable to resolve required dependencies for goal at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:375) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executePhase(Default LifecycleExecutor.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Error transitively resolving artifacts: at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi tively(DefaultArtifactResolver.java:191) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependenci es(DefaultPluginManager.java:723) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:355) ... 14 more Caused by: org.apache.maven.artifact.resolver.TransitiveArtifactResolutionException : Error retrieving metadata [commons-logging:commons-lo gging:jar:1.0.4] : at org.apache.maven.artifact.resolver.DefaultArtifactResolver.collect(Defau ltArtifactResolver.java:307) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi tively(DefaultArtifactResolver.java:187) ... 16 more Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file at org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMetadataSour ce.java:89) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.collect(Defau ltArtifactResolver.java:303) ... 17 more Caused by: org.apache.maven.project.ProjectBuildingException: Unable to find artifact: commons-logging:commons-logging:pom:1.0.4 at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:167) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository( DefaultMavenProjectBuilder.java:149) at org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMetadataSour ce.java:83) ... 18 more [INFO] [INFO] Total time: 1 seconds [INFO] Finished at: Mon Apr 11 12:04:37 EDT 2005 [INFO] Final Memory: 1M/63M [INFO] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Another build problem
My next build problem, see below. It is looking for commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom And it is not there. [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 install [INFO] [INFO] Building null [INFO] [INFO] [resources:resources] Downloading: commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Unable to resolve required dependencies for goal at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:375) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executePhase(Default LifecycleExecutor.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Error transitively resolving artifacts: at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi tively(DefaultArtifactResolver.java:191) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependenci es(DefaultPluginManager.java:723) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:355) ... 14 more Caused by: org.apache.maven.artifact.resolver.TransitiveArtifactResolutionException : Error retrieving metadata [commons-logging:commons-lo gging:jar:1.0.4] : at org.apache.maven.artifact.resolver.DefaultArtifactResolver.collect(Defau ltArtifactResolver.java:307) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi tively(DefaultArtifactResolver.java:187) ... 16 more Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file at org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMetadataSour ce.java:89) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.collect(Defau ltArtifactResolver.java:303) ... 17 more Caused by: org.apache.maven.project.ProjectBuildingException: Unable to find artifact: commons-logging:commons-logging:pom:1.0.4 at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:167) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository( DefaultMavenProjectBuilder.java:149) at org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMetadataSour ce.java:83) ... 18 more [INFO] [INFO] Total time: 1 seconds [INFO] Finished at: Mon Apr 11 12:04:37 EDT 2005 [INFO] Final Memory: 1M/63M [INFO] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Maven2 maven.jar properties
In maven2, how do I specify the classpath, main class for the manifest? How I specify a manifest file to include? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
Deploy
John, How about deployment? Can I specify deploymentRepository ?See exception below. Thanks! Leonid [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 deploy:deploy [INFO] [INFO] Building null [INFO] [INFO] maven-compiler-plugin: resolved to version 1.0-alpha-2-20050411.120835-1 from local repository [INFO] plexus-compiler-api: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler-javac: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compilers: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler-test: resolved to version 1.3-20050411.081334-1 from local repository [INFO] maven-artifact-test: resolved to version 2.0-20050411.072903-1 from local repository [INFO] maven: resolved to version 2.0-20050407.164450-2 from local repository [INFO] [ERROR] BUILD ERROR [INFO] [ERROR] Cause: org.apache.maven.plugin.PluginExecutionException: Error configuring plugin for execution. at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeMojo(DefaultL ifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:144) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.plugin.PluginConfigurationException: The 'deploymentRepository' parameter is required for the execution of the deploy:deploy mojo and cannot be null. at org.apache.maven.plugin.DefaultPluginManager.getPluginConfigurationFromE xpressions(DefaultPluginManager.java:658) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:411) ... 13 more [INFO] [INFO] Total time: 1 seconds [INFO] Finished at: Mon Apr 11 18:37:55 EDT 2005 [INFO] Final Memory: 1M/73M [INFO] If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/