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.?}?
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
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
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
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
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 ?
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
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
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
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
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
?
-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
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 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?
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
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
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]
] 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
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
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
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
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
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
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
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
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
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
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
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
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
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,
Probably I am missing something now:
m2 install
[INFO]
[INFO] Building null
[INFO]
[INFO] maven-compiler-plugin: using locally installed
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
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
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
?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
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
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
, 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
-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
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
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]
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,
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]
44 matches
Mail list logo