Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread baz themail
stop the build from happening, but you can stop the artifact from being deployed. -Original Message- From: baz themail [mailto:bazthem...@gmail.com] Sent: Wednesday, January 05, 2011 12:55 PM To: Maven Users List Subject: Re: Is there any way to stop the same version of pom file

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread baz themail
, baz themail bazthem...@gmail.com wrote: Todd, thats one of the function that I thought Nexus has... but I cannot find the usage for it. Is it only available in Pro version? On Wed, Jan 5, 2011 at 9:58 AM, Thiessen, Todd (Todd) tthies...@avaya.com wrote: Configure your Nexus server to not allow

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread baz themail
to have it. It isn't a Pro feature, the free version also has it. With regards, Nick Stolwijk ~Senior Java Developer~ iPROFS Wagenweg 208 2012 NM Haarlem T +31 23 547 6369 F +31 23 547 6370 I www.iprofs.nl On Thu, Jan 6, 2011 at 7:08 PM, baz themail bazthem...@gmail.com wrote: Nick

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-06 Thread baz themail
On Thu, Jan 6, 2011 at 7:24 PM, baz themail bazthem...@gmail.com wrote: How is the upgrade process from 1.3.6 to 1.8.0.1? Painless? On Thu, Jan 6, 2011 at 10:12 AM, Nick Stolwijk nick.stolw...@gmail.com wrote: I've also checked 1.3.6 (still in production here, Saturday we are moving to 1.8.0.1

Re: Is there any way to stop the same version of pom file/build being built more than once?

2011-01-05 Thread baz themail
wrote: On Tue, Jan 4, 2011 at 12:28 PM, baz themail bazthem...@gmail.com wrote: Hi, Is there any way to stop the same version of pom file/build being built more than once? Being _built_?  Probably not... anyone can check out a tag and re-build that version locally, nothing to prevent

Is there any way to stop the same version of pom file/build being built more than once?

2011-01-04 Thread baz themail
Hi, Is there any way to stop the same version of pom file/build being built more than once? Thanks. B. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

How to prune contents of the local repo?

2010-12-28 Thread baz themail
Hi, 1. What is the best and recommended way to limit the size of the local maven repo? Currently, I am having a cron job to remove older SNAPSHOT. 2. Is there any way to keep certain release builds but not others? Meaning, is there any type of promotion mechanism in maven to mark some releases

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
I am sorry if i cause the group to over-react about this real issue that i am here. I read the wiki page http://maven.apache.org/plugins/maven-deploy-plugin/usage.html three (or more) times now. I still not sure how to deploy older artifacts from local repository to remote repository without the

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
suggestions as to how to make this more obvious, feel free to submit documentation JIRAs and I'm sure the plugin developers will take those under advisement. On 9/23/10 11:42 AM, baz themail wrote: I am sorry if i cause the group to over-react about this real issue that i am here. I read

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
anders, Yes, i am planning to back up the local repo first. Thanks guys... On Thu, Sep 23, 2010 at 10:43 AM, Anders Hammar and...@hammar.net wrote: As you don't seem to be fully comfortable with Maven, I suggest that you either use the staging feature of Nexus Pro or (if you're using Nexus

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread baz themail
just recover the files from there. Otherwise you could manually load the files from your local into nexus' storage folder, the do a clear cache and reindex. Sent from my iPad On Sep 23, 2010, at 9:15 AM, baz themail bazthem...@gmail.com wrote: Ummm, thanks. I read that and i understand

Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-22 Thread baz themail
Hi, If the data in the remote release repository is corrupted and no backups. However, I found the artifacts in the local repository from a build machine. Can i re-deploy them into remote repository? How to do deploy a specific version like that without changing anything? Do i still need the

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-22 Thread baz themail
On Wed, Sep 22, 2010 at 23:20, baz themail bazthem...@gmail.com wrote: Hi, If the data in the remote release repository is corrupted and no backups. However, I found the artifacts in the local repository from a build machine. Can i re-deploy them into remote repository? How to do deploy

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-22 Thread baz themail
If there are version 1.0.0.0, 2.0.0.0 and 3.0.0.0 of A in my local repo. If I go to the location/workspace where I built A. If I type mvn deploy -Dversion=2.0.0.0, then will this deploy command deploy the 2.0.0.0 from my local repository to remote repository without re-building it? Thanks. A. On

why I do not see the parent pom file in Nexus?

2010-09-21 Thread baz themail
Hi, We are using Nexus here. I am pretty sure the parent pom file has been deployed and in use already. However, for some reason, I cannot see it in Nexus, why? How can i find it? Thank you. A. - To unsubscribe, e-mail:

Re: why I do not see the parent pom file in Nexus?

2010-09-21 Thread baz themail
. Is there any way that i can verify? On Tue, Sep 21, 2010 at 11:52 AM, Nayan Hajratwala na...@chikli.com wrote: On Sep 21, 2010, at 2:50 PM, baz themail wrote: Hi, We are using Nexus here. I am pretty sure the parent pom file has been deployed and in use already. What makes you think it has

Re: why I do not see the parent pom file in Nexus?

2010-09-21 Thread baz themail
the parent pom file deployment process? On Tue, Sep 21, 2010 at 2:03 PM, Bryan Loofbourrow bryan.loofbour...@amdocs.com wrote: -Original Message- From: baz themail [mailto:bazthem...@gmail.com] Sent: Tuesday, September 21, 2010 1:39 PM To: Maven Users List Subject: Re: why I do not see

How can i test release plugin locally?

2010-09-16 Thread baz themail
Hi, How can i test release plugin locally in my machine? Specifically, can i release the artifacts into my local repository on my machine? Can i configure it so that i do not need to make actual updates to pom files in perforce but only in local source tree? Thank you. A.

Re: How to manage from snapshot to release? When should we use automated builds?

2010-09-16 Thread baz themail
since it (1) might be less close to the production system and (2) might contain things depending on the dev box that wasn't added to the SCM. Snapshot builds are totally sufficient for us to handle testing purposes. Cheers 2010/9/15 baz themailbazthem...@gmail.com  Hi, I have been

Re: How can i test release plugin locally?

2010-09-16 Thread baz themail
Thanks for the replies. Yes, i know about DryRun. So, my question is: Does DryRun correctly run without SCM information such as P4 userid and password? Thanks. B. On Thu, Sep 16, 2010 at 7:47 AM, Nayan Hajratwala na...@chikli.com wrote: On Sep 16, 2010, at 10:45 AM, baz themail wrote: Hi

Re: How can i test release plugin locally?

2010-09-16 Thread baz themail
Another question. Is this possible to release into local repository without giving SCM information such as P4 username and password? I do not mean dryRun this time. On Thu, Sep 16, 2010 at 10:12 AM, baz themail bazthem...@gmail.com wrote: Thanks for the replies. Yes, i know about DryRun. So

Re: How can i test release plugin locally?

2010-09-16 Thread baz themail
confirm the creation of new version'ed jar in both dryRun or actual log? On Thu, Sep 16, 2010 at 11:16 AM, baz themail bazthem...@gmail.com wrote: Another question. Is this possible to release into local repository without giving SCM information such as P4 username and password? I do not mean

Re: How can i test release plugin locally?

2010-09-16 Thread baz themail
] to install instead of deploy. [1] http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#goals Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Thu, Sep 16, 2010 at 8:25 PM, baz themail bazthem...@gmail.com wrote

How to manage from snapshot to release? When should we use automated builds?

2010-09-15 Thread baz themail
Hi, I have been searching the maven website and articles but not sure if i get the best practice for managing snapshots and release. Specifically, if continuous builds produce maven snapshot builds, then when will i produce maven release builds using maven release plug-in? Will I ever produce a

Can i use variables within the parentartifactId section?

2008-05-20 Thread Baz
All, I am trying to define a variable that i can use on command line to rename all artifacts (build type) during the build. Something like mvn clean install -DbuildType=-Debug. I made the change and it works if I build from the parent directory level. However, it does not the sub directory

Re: which ant version that maven-antrun-plugin will run?

2008-03-10 Thread Baz
computer. And presently, there is no way to change the version of Ant which is being used by Maven. Wayne On 3/9/08, Baz [EMAIL PROTECTED] wrote: dennis, Thank you for you reply. Just to confirm what you said...When using maven-antrun-plugin from Maven2, the Ant version must

Re: which ant version that maven-antrun-plugin will run?

2008-03-10 Thread Baz
Is there a way that I can use Maven 2 to run ant 1.7.0 tasks? On Mon, Mar 10, 2008 at 12:37 AM, Baz [EMAIL PROTECTED] wrote: Do you know if there is a maven version that will support Ant 1.7.0+ ? Thanks. A. On Sun, Mar 9, 2008 at 9:45 PM, Wayne Fay [EMAIL PROTECTED] wrote: That's

which ant version that maven-antrun-plugin will run?

2008-03-09 Thread Baz
All, Which ant version that maven 2's maven-antrun-plugin will run? How do i find out? Can i change it? Thanks. A.

Re: which ant version that maven-antrun-plugin will run?

2008-03-09 Thread Baz
dennis, Thank you for you reply. Just to confirm what you said...When using maven-antrun-plugin from Maven2, the Ant version must be 1.6.5 and cannot be changed. A. On 3/9/08, Dennis Lundberg [EMAIL PROTECTED] wrote: Baz wrote: All, Which ant version that maven 2's maven-antrun-plugin

Is there any way to control the number of snapshot produced?

2008-02-27 Thread Baz
Hi, Is there a way that we can control the total number of snapshot of one specific version? I think I have seen it somewhere and forget about the syntax. Thank you. A.

Re: What is the different between using ant tasks and antrun plugin?

2008-02-04 Thread Baz
if you want to call ant tasks from your Maven build. This is for people who are trying to use Maven as their primary build tool. I think this is what you're trying to do. Wayne On 2/1/08, Baz [EMAIL PROTECTED] wrote: Hi, I am trying to execute some existing ant build.xml files with maven 2. I

What is the different between using ant tasks and antrun plugin?

2008-01-31 Thread Baz
Hi, I am trying to execute some existing ant build.xml files with maven 2. I am confuse if i should use antrun plugin ( http://maven.apache.org/plugins/maven-antrun-plugin/) or ant tasks ( http://maven.apache.org/ant-tasks.html) Can someone help to explain? Thanks. A.

how to change version numbers in multiple pom.xml?

2007-11-12 Thread Baz
Hi, What is the recommended methods to change contents (version numbers) version within multiple pom.xml? Is there anything like REXML in RUBY? Thanks. A.

Re: how to change version numbers in multiple pom.xml?

2007-11-12 Thread Baz
Joerg, Thanks for your reply. I know I can use release plug-in. What if i am changing dependency version numbers? On 11/12/07, Joerg Hohwiller [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Hi there, What is the recommended methods to change contents

Re: What should i type to compile against a certain version of snapshot?

2007-10-11 Thread Baz
uniqueVersion=true and then -SNAPSHOT will be replaced with a unique identifier that you can use. For example, 1.0-SNAPSHOT will become something like 1.0-423423423434 when deployed. You then use that version as your dependency. I hope that helps. Harlan On 10/10/07, Baz [EMAIL PROTECTED

What should i type to compile against a certain version of snapshot?

2007-10-10 Thread Baz
All, What should i type to compile against a certain version of snapshot? Thanks. A.

Is there any way to tell who deployed into the repository?

2007-10-08 Thread Baz
All, Is there any way to tell who deployed files into the repository? Thanks. A.

Specifying ftp port number during deploy?

2007-10-03 Thread Baz
Hi, Is there a way to specify the port number during deploy? I am asking this because I might have one server that has more than one ftp servers created. Thank you. A.

How can i setup the dependency on more than one repos in certain order?

2007-09-06 Thread Baz
Hi, How can i setup the dependency on more than one repos in certain order? For example, production repo, stage repo, then dev repo? Thanks. A.

Re: How can i setup the dependency on more than one repos in certain order?

2007-09-06 Thread Baz
idmy-repo1/id nameyour custom repo/name urlhttp://jarsm2.dyndns.dk/url /repository repository idmy-repo2/id nameyour custom repo/name urlhttp://jarsm2.dyndns.dk/url /repository /repositories ... /project On 9/6/07, Baz [EMAIL PROTECTED] wrote: Hi

Re: How can i setup the dependency on more than one repos in certain order?

2007-09-06 Thread Baz
the version to distinguish the different types (1.0.0-dev, 1.0.0-stage) if you do not plan to use snapshot builds. jars will be send around. if it does not have an unique name things will go wrong. hope to help a little bit :) regards ossi Baz schrieb: I saw the followings at, http

Re: environment variable for location of settings.xml?

2007-08-29 Thread Baz
for environment variables etc. But then you need to make sure everyone is running your modified mvn.bat file. Wayne On 8/28/07, Baz [EMAIL PROTECTED] wrote: Wayne, Thanks for your reply. If I dont use -s then it will only look at user_home/.m2 ? No environment variable will change this behaviour

environment variable for location of settings.xml?

2007-08-28 Thread Baz
All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is user_home_dir/.m2 but I want to be able to change the default behavior when you type mvn. Thanks. B.

Re: environment variable for location of settings.xml?

2007-08-28 Thread Baz
/28/07, Baz [EMAIL PROTECTED] wrote: All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is user_home_dir/.m2 but I want to be able to change the default behavior when you type mvn. Thanks. B

Re: clover issue when executing from a high level multi modules pom.xml?

2007-08-16 Thread Baz
Anyone? I try to add ${basedir} in various places but still not working. What changes should I make? On 8/15/07, Baz [EMAIL PROTECTED] wrote: It seems like the paths are set in the parent pom.xml for clover implementation: include implementation=java.lang.String build/clover/src/**/*.java

clover issue when executing from a high level multi modules pom.xml?

2007-08-15 Thread Baz
All, I am having issues when running clover through a high level multi module pom.xml. Here are the directory structure: products/ pom.xml /product_A/module/pom.xml /product_B/module/pom.xml Here are the symptoms: 1. products/pom.xml will run mvn clean install with

Re: clover issue when executing from a high level multi modules pom.xml?

2007-08-15 Thread Baz
? Thanks. B. On 8/15/07, Baz [EMAIL PROTECTED] wrote: All, I am having issues when running clover through a high level multi module pom.xml. Here are the directory structure: products/ pom.xml /product_A/module/pom.xml /product_B/module/pom.xml Here are the symptoms: 1

Re: How to increase the memory usage for mvn?

2007-08-07 Thread Baz
- From: Baz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 August 2007 9:19 AM To: Maven Users List Subject: [***POSSIBLE SPAM***] - How to increase the memory usage for mvn? - Email has different SMTP TO: and MIME TO: fields in the email addresses Hi, How can i increase the memory usage

How to increase the memory usage for mvn?

2007-08-06 Thread Baz
Hi, How can i increase the memory usage for mvn? Like using ANT, there is an option for that right? Thanks. A.

setting default location of settings.xml

2007-07-31 Thread Baz
Hi, Is there a way to setup default location of settings.xml? I understand the default location is M2 repo. I am trying to have settings.xml stored in Perforce and add an environment variable to point to a directory so developers can have a consistent settings.xml file. Suggestion? Thanks. A.

Re: setting default location of settings.xml

2007-07-31 Thread Baz
/introduction/introduction-to-profiles.html Wayne On 7/31/07, Baz [EMAIL PROTECTED] wrote: Hi, Is there a way to setup default location of settings.xml? I understand the default location is M2 repo. I am trying to have settings.xml stored in Perforce and add an environment variable

Re: setting default location of settings.xml

2007-07-31 Thread Baz
added the -s flag to your maven command in cruise control you could force it to use the checked in/perforce version at build time (then just get the developers to use the shared one as well) Dana -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 12

Re: How can i build a specific version without changing the pom.xml?

2007-07-27 Thread Baz
using snapshot versions and the release and continuous profiles using non snapshot versions. John On 27/07/07, Baz [EMAIL PROTECTED] wrote: John, I agreed with your comments. Here is the practical usage: The version under source code is building against xyz version 5.6.1.0. However

Re: How can i build a specific version without changing the pom.xml?

2007-07-26 Thread Baz
, ...etc. I should alter the dependency information in my pom.xml for product A since I really do not know which version of xyz will pass QA. Does it make sense? Baz On 7/26/07, John Patrick [EMAIL PROTECTED] wrote: Baz, I would put this type of information into a profile within the pom

How can i build a specific version without changing the pom.xml?

2007-07-25 Thread Baz
All, How can i build a specific version or depend on specific version without changing the pom.xml? For example, if pom.xml of product A is building version 1.0 of product A and depending on version 5.6 of xyz. Can i type something like mvn -Dversion=0.1 -Dxyz_version=2.0 install to build

How can i create a repo search order?

2007-07-20 Thread Baz
All, How can i write the pom so that it looks for local repo (local machine), then development repo, then release repo, then public repo? Thanks. A.

Re: Building multiple modules/subdirectories with a single pom.xml?

2007-07-20 Thread Baz
i know it is bad example, I just want to follow whats in the email), then what should i do? Can it be done? Thanks. A. On 7/14/07, Manos Batsis [EMAIL PROTECTED] wrote: Baz wrote: All, So i asked similar question before... How can i build multiple sub-directories with one pom.xml

Re: How can i create a repo search order?

2007-07-20 Thread Baz
be the same on all repos, so maven will look for it wherever it can. Denis. Baz-6 wrote: All, How can i write the pom so that it looks for local repo (local machine), then development repo, then release repo, then public repo? Thanks. A. -- View this message in context: http

Re: How to build sub-directories recursively without knowing the exact names for sub-directories?

2007-07-20 Thread Baz
IMHO. Wayne On 7/19/07, Baz [EMAIL PROTECTED] wrote: Say I have a the following directory structure: product/ module_1/ module_2/ ... Can i have a pom.xml at product directory level, and it will go into module directories and run their pom files? The number of module subdirectories

error messages from velocimacro?

2007-07-19 Thread Baz
All, Any ideas what the following errors mean? [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro :

Re: error messages from velocimacro?

2007-07-19 Thread Baz
Wayne, thanks. B. On 7/19/07, Wayne Fay [EMAIL PROTECTED] wrote: Baz, you've asked this question before, and people told you to ignore that [ERROR]. Are you have problems with something specific, or is it just a general query? That [ERROR] can/should be ignored. Wayne On 7/19/07, Baz [EMAIL

How to build sub-directories recursively without knowing the exact names for sub-directories?

2007-07-19 Thread Baz
All, I know we can use modules to specify which sub-directories that we would like to build. What if i dont know the name of the sub-directories? Can i do wildcards? Thanks.

Re: How to build sub-directories recursively without knowing the exact names for sub-directories?

2007-07-19 Thread Baz
lines? Wayne On 7/19/07, Baz [EMAIL PROTECTED] wrote: All, I know we can use modules to specify which sub-directories that we would like to build. What if i dont know the name of the sub-directories? Can i do wildcards? Thanks

Do we have any issues with release plug-in with perforce?

2007-07-17 Thread Baz
All, Do we have issues with using release plug-in with perforce as scm tool? Thanks. A.

Question about setting up snapshot repository

2007-07-16 Thread Baz
All, I have questions about setting up snapshot repository. I read the instruction on http://mojo.codehaus.org/using-sandbox-plugins.html and i have the following questions: If I build some java code, and resulted in some_api.jar and type mvn deploy, then does it goes to

How can i turn off and on the snapshot archive (timestamp) functionalities?

2007-07-14 Thread Baz
All, How can i turn off and on the snapshot archive (timestamp) functionalities? Thanks. A.

Re: How can i turn off and on the snapshot archive (timestamp) functionalities?

2007-07-14 Thread Baz
Wendy, Thanks for the reply. Does that mean it only apply when doing mvn deploy and affecting snapshot repository? On 7/14/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 7/14/07, Baz [EMAIL PROTECTED] wrote: How can i turn off and on the snapshot archive (timestamp) functionalities

Re: How can i turn off and on the snapshot archive (timestamp) functionalities?

2007-07-14 Thread Baz
Cool. Wendy, thanks for the testing and confirmation. On 7/14/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 7/14/07, Baz [EMAIL PROTECTED] wrote: Does that mean it only apply when doing mvn deploy and affecting snapshot repository? Yes. (Is there a 'part two' of that question?) A quick

Building multiple modules/subdirectories with a single pom.xml?

2007-07-14 Thread Baz
All, So i asked similar question before... How can i build multiple sub-directories with one pom.xml? The answer is using modules. What if, there are two sets of sub-directories, one for product A and the other for product B, how can i do mvn product_a and mvn product_b? Using profile? Or? How

Re: Building multiple modules/subdirectories with a single pom.xml?

2007-07-14 Thread Baz
Also, is it possible to build ANY subdirectories without knowing what they are? Meaning using wildcards in module??? Thanks. Baz On 7/14/07, Baz [EMAIL PROTECTED] wrote: All, So i asked similar question before... How can i build multiple sub-directories with one pom.xml? The answer is using

Re: Building multiple modules/subdirectories with a single pom.xml?

2007-07-14 Thread Baz
cool let me play around On 7/14/07, Manos Batsis [EMAIL PROTECTED] wrote: Baz wrote: All, So i asked similar question before... How can i build multiple sub-directories with one pom.xml? The answer is using modules. What if, there are two sets of sub-directories, one for product

Re: How can i add clover report generation into maven and have the ability to turn on/off?

2007-07-13 Thread Baz
i thought you can do something like -Dmaven.clover.skip=false in order to invoke it? On 7/12/07, Thorsten Heit [EMAIL PROTECTED] wrote: Hi, How can i add clover report generation into maven and have the ability to turn on/off? Meaning, after implementation, when running mvn install, it

How can i specifying a settings.xml file to be used?

2007-07-13 Thread Baz
Is there a -f flag or something? Thanks. A.

Re: How can i specifying a settings.xml file to be used?

2007-07-13 Thread Baz
Cool, wendy, thanks. On 7/13/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 7/13/07, Baz [EMAIL PROTECTED] wrote: Is there a -f flag or something? $ mvn -h ... -s,--settings Alternate path for the user settings file -- Wendy

How can i add clover report generation into maven and have the ability to turn on/off?

2007-07-12 Thread Baz
All, How can i add clover report generation into maven and have the ability to turn on/off? Meaning, after implementation, when running mvn install, it will not run clover unless doing something like mvn install -Dclover=true? What is the recommended way to do it? Thanks. A.

Re: How can i release a version of software with the existing version is SNAPSHOT?

2007-07-07 Thread Baz
Does it work with Perforce? I think I have seen email thread here and there about Maven plugins do not work with Perforce 100%. On 7/7/07, Wim Deblauwe [EMAIL PROTECTED] wrote: Use the release plugin to do a release of your module/project 2007/7/7, Baz [EMAIL PROTECTED]: All

How can i release a version of software with the existing version is SNAPSHOT?

2007-07-06 Thread Baz
All, If the software that i am building is at version 0.1-SNAPSHOT, is it possible that I can build 1.0.0.0 in official build systems? What is the best way to handle this situation? Can I pass a flag to maven and let it change to 1.0.0.0 while compiling? Thanks. A.

How to use mvn release:perform with Perforce

2007-06-11 Thread Baz
All, Does maven 2.0 release plug-in support Perforce? According to the following link, it is not. If not, then anyone here got solution? Thanks. A. http://www.nabble.com/release:prepare-with-Perforce-t1217272s177.html

Re: mvn site error? 'VM_global_library.vm' ???

2007-05-25 Thread Baz
is output at all. Andy On 25 May 2007, at 01:11, Baz wrote: Why am i seeing the following error? How can i resolve it? [INFO] Velocimacro : initialization starting.^M [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm^ M [ERROR] ResourceManager : unable to find

Re: mvn site error? 'VM_global_library.vm' ???

2007-05-25 Thread Baz
post the error or perhaps the mvn output. With regards, Nick S. Baz wrote: how to ignore it? It seems like mvn site failed and not creating the html within the target directory... On 5/25/07, Andrew Williams [EMAIL PROTECTED] wrote: It is safe to ignore this, I believe. A long standing

Re: mvn site error? 'VM_global_library.vm' ???

2007-05-25 Thread Baz
So i also see the following errors during nunit, does it stop me using mvn site? [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource

mvn site error? 'VM_global_library.vm' ???

2007-05-24 Thread Baz
Why am i seeing the following error? How can i resolve it? [INFO] Velocimacro : initialization starting.^M [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm^ M [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.^M [INFO]

How to run ant tasks in maven 2?

2007-04-30 Thread Baz
All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a simple ant task work in maven 2. Please help. Here is my code: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasedeploy/phase

Re: How to run ant tasks in maven 2?

2007-04-30 Thread Baz
. On Apr 30, 2007, at 8:48 PM, Baz wrote: All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a simple ant task work in maven 2. Please help. Here is my code: plugin artifactIdmaven-antrun-plugin/artifactId executions

How to clean a directory outside the source tree?

2007-04-26 Thread Baz
All, I am trying to clean a directory outside the source tree, how can i do it? I read the following page: http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html What is the specific syntax i need for the include line? I added the following line but nothing

Re: How to clean a directory outside the source tree?

2007-04-26 Thread Baz
(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) On 4/26/07, Baz [EMAIL PROTECTED] wrote: All, I am trying to clean a directory outside the source tree, how can i do it? I read

Re: How to clean a directory outside the source tree?

2007-04-26 Thread Baz
cool thanks. A. On 4/26/07, Pier Mauro Vignati [EMAIL PROTECTED] wrote: Hi Baz, yuo can use something like: (here I'm using the clean plugin to clean up my local tomcat webapp dir ..) plugin artifactIdmaven-clean-plugin/artifactId configuration filesets fileset

How to execute a system command from maven 2?

2007-04-26 Thread Baz
Hi, How can i execute a system command such as del from maven 2? Is there any exec in maven 2 and what is the syntax? I dont seem to be able to locate it. Thanks. A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to execute a system command from maven 2?

2007-04-26 Thread Baz
Thanks. :) A. On 4/26/07, Wayne Fay [EMAIL PROTECTED] wrote: Google maven exec. Its the first link. Wayne On 4/26/07, Baz [EMAIL PROTECTED] wrote: Hi, How can i execute a system command such as del from maven 2? Is there any exec in maven 2 and what is the syntax? I dont seem to be able

Re: How to execute a system command from maven 2?

2007-04-26 Thread Baz
: configuration ... executableVALUE/executable /configuration -OR- on the command line, specify: '-Dexec.executable=VALUE' On 4/26/07, Baz [EMAIL PROTECTED] wrote: Thanks. :) A. On 4/26/07, Wayne Fay [EMAIL PROTECTED] wrote: Google maven exec. Its the first link. Wayne On 4/26/07, Baz

Re: Simple example for maven 2 release goals?

2007-04-23 Thread Baz
Is the question too general or too open ended? On 4/22/07, Baz [EMAIL PROTECTED] wrote: All, I would like to obtain simple instructions of incoroperating the use of release goals in my build system that consists of CruiseControl or Continuum and Maven 2. I have read the pages in http

Simple example for maven 2 release goals?

2007-04-22 Thread Baz
All, I would like to obtain simple instructions of incoroperating the use of release goals in my build system that consists of CruiseControl or Continuum and Maven 2. I have read the pages in http://maven.apache.org/plugins/maven-release-plugin/ and understanding that could simplify my life but

Re: bogus error? [ERROR]? How can i get rid of it?

2007-04-18 Thread Baz
I wonder if anyone read this... On 4/11/07, Baz [EMAIL PROTECTED] wrote: Hi, I have seen this error in the build log but i think they are bogus since the operation is successful. How can i get rid of them? Thanks. AY [INFO] copy c:\Documents and Settings\Administrator\.m2\com\aaa\bbb.jar C

How to define variables and overwrite them with user defined files?

2007-04-18 Thread Baz
All, How can i define variables in pom.xml and overwrite them with user defined files? For example, I would like to define a variable called mypath how can i define it in pom.xml? Is there a way like in Ant, within build.properties to redefine mypath? I know I can do -Dmypath=xyz Thanks. A.

Re: how can i compile a multiple directories with pom.xml?

2007-04-17 Thread Baz
://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerArguments Baz-6 wrote: Fay, Frank thanks for the replies. Frank, I checked the first example of the link you sent. The example demonstrated how to add sources, what about the order of compilation? Is it sequential

What is the correct way to increment/change the version number for builds?

2007-04-17 Thread Baz
All, I have version1.0-SNAPSHOT/version in my pom by default. What is the recommended way to version continuous, daily/nightly and ad-hoc builds? Currently, I have continuous builds versioned with SNAPSHOT. What is the recommended way to change it to, say package-1.0.jar when performing an

Re: how can i compile a multiple directories with pom.xml?

2007-04-17 Thread Baz
Sorry if i ask another stupid question again... I am pretty new at Maven and how can i make your module section works? Do you have a complete file for me as template? I have the following error: Validation Messages: [0] Packaging 'application_1' is invalid. Aggregator projects require

Re: how can i compile a multiple directories with pom.xml?

2007-04-17 Thread Baz
groupIdcom.mycompany.app/groupId version1.0-SNAPSHOT/version artifactIdapp/artifactId packagingpom/packaging modules modulemy-app/module modulemy-webapp/module /modules /project and seems to be ok... ignore my last email. Let me test and report :) On 4/17/07, Baz [EMAIL PROTECTED] wrote: Sorry

Is there a mvn command to clean the local repo?

2007-04-16 Thread Baz
All, Is there a mvn command that clean the local repo? Thanks. B. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to run multiple mvn commands in a windows bat file?

2007-04-16 Thread Baz
All, How can i run multiple mvn commands in a windows bat file? I would like to run mvn clean, then mvn install in directory 1 and mvn install in another directory. However, after the first mvn command, the script quit. Not sure why. A.

  1   2   >