How to refer to the installation directory; how to create sym links

2008-07-16 Thread Ilyevsky, Leonid (Equity Trading)
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.?}?

scm:bootstrap checks out twice

2007-11-12 Thread Ilyevsky, Leonid (Equity Trading)
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

Deploying assembly

2007-04-11 Thread Ilyevsky, Leonid \(Equity Trading\)
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

How to download and unzip the assembled package.

2006-05-11 Thread Ilyevsky, Leonid \(Equity Trading\)
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

Maven2 How to deploy assembled file

2006-04-07 Thread Ilyevsky, Leonid \(Equity Trading\)
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

M2: JVM options for unit test

2005-08-23 Thread Ilyevsky, Leonid (Equity Trading)
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 ?

RE: M2: JVM options for unit test

2005-08-23 Thread Ilyevsky, Leonid (Equity Trading)
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

M@: skipping tests

2005-08-23 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 using Maven1 repository

2005-07-26 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 using Maven1 repository

2005-07-25 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2: Wrong ACK

2005-07-15 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2: Wrong ACK

2005-07-15 Thread Ilyevsky, Leonid (Equity Trading)
? -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

RE: Maven2: Wrong ACK

2005-07-14 Thread Ilyevsky, Leonid (Equity Trading)
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

[m2] Executable scripts in assembly jar

2005-06-08 Thread Ilyevsky, Leonid (Equity Trading)
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?

Assembly and deploy

2005-05-23 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Assembly and deploy

2005-05-23 Thread Ilyevsky, Leonid (Equity Trading)
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

M2 alppha-2 reports failure because of compiler warnings

2005-05-19 Thread Ilyevsky, Leonid (Equity Trading)
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]

RE: Pack the application

2005-05-18 Thread Ilyevsky, Leonid (Equity Trading)
] 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

Pack the application

2005-05-17 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Apache Maven 2.0 Alpha 2 Released

2005-05-13 Thread Ilyevsky, Leonid (Equity Trading)
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

FW: Maven2 jar classpath

2005-05-05 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: FW: Maven2 jar classpath

2005-05-05 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: FW: Maven2 jar classpath

2005-05-05 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2: dependencies with non-conformant file names.

2005-04-22 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 jar classpath

2005-04-22 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 jar classpath

2005-04-22 Thread Ilyevsky, Leonid (Equity Trading)
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

Maven2: dependencies with non-conformant file names.

2005-04-21 Thread Ilyevsky, Leonid (Equity Trading)
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

Maven2 jar classpath

2005-04-19 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 jar classpath

2005-04-19 Thread Ilyevsky, Leonid (Equity Trading)
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

Nuisance problem (maven2, java compiler and CVS)

2005-04-19 Thread Ilyevsky, Leonid (Equity Trading)
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

Deploy with scp in maven2

2005-04-13 Thread Ilyevsky, Leonid (Equity Trading)
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,

Maven2 exception

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
Probably I am missing something now: m2 install [INFO] [INFO] Building null [INFO] [INFO] maven-compiler-plugin: using locally installed

RE: Maven2 - How to specify which jdk to use ?

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 - How to specify which jdk to use ?

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Deploy

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 maven.jar properties

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
?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

Maven2 javadoc

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 javadoc

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
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

RE: Maven2 exception

2005-04-12 Thread Ilyevsky, Leonid (Equity Trading)
, 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

RE: Maven 2

2005-04-11 Thread Ilyevsky, Leonid (Equity Trading)
: 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

RE: [M2] plugins language?

2005-04-11 Thread Ilyevsky, Leonid (Equity Trading)
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

Another build problem

2005-04-11 Thread Ilyevsky, Leonid (Equity Trading)
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]

Maven2 maven.jar properties

2005-04-11 Thread Ilyevsky, Leonid (Equity Trading)
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,

Deploy

2005-04-11 Thread Ilyevsky, Leonid (Equity Trading)
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]