2.0.5 release?
Hi all, Apologies for what is probably a FAQ, but can anyone give me an approx timescale for the 2.0.5 release? Just knowing whether it's imminent, weeks or months away would help me decide whether to invest in finding workarounds to some of the issues in 2.0.4. I'm really hoping that 2.0.5 will fix the problems with site deployment, particularly http://jira.codehaus.org/browse/MSITE-138 and http://jira.codehaus.org/browse/MSITE-25 (a real problem for windows users). John. -- AstroGrid/VOTech & Institute for Astronomy, Edinburgh Skype:johndavidtaylor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
Errm...I'm not sure that's true. As Kenney says, you seem to have a project that depends on A-1.0.jar, which is odd, as I thought you said A depended on B&C. Can you clarify the dependencies for us? If, as in your original email, A depends on B&C, then what I would have is: --subproject-A/project.xml (1) --subproject-A/project.properties (2) --subproject-B/project.xml (3) --subproject-B/project.properties (4) --subproject-C/project.xml (5) --subproject-C/project.properties (6) --project.xml (7) (1) should contain the snippet with the dependencies given by Christian below (2), (4), (6) should each contain the line maven.multiproject.type=jar so that the multiproject plugin knows what to build in each case. (7) should not have a dependencies section at all, as it is just a "master POM" to control the build process. Then in the top level directory execute maven multiproject:install This will build all your artifacts (all jars in this case) in the correct order and install them in your *local* repository (probably in ~/.maven/repository). Here's a more detailed example for you: http://www.astrogrid.org/maven/docs/HEAD/MultiMavenProject/index.html Nicolas Chalumeau wrote: You need to use SNAPSHOT version to force maven to resolve the build order Nicolas On Apr 6, 2005 3:14 PM, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Wed, 6 Apr 2005, Bahaa Nasrallah wrote: Looks like you have a dependency on A somewhere. Anyway, building C which depends on B (you probably have A specified there as a dependency) won't work unless B is installed in the local repository. So run maven jar:install instead. Thanks, i have added the version and defined the currentVersion and still have the same problem: (Attempting to downlaod A-1.0.jar ...) Just to let you know that the property "maven.jar.override = on" becuase the jar files resides on local directory. any suggestions will be welcomed... Thanks in advance, Bahaa On Apr 6, 2005 1:30 PM, John Taylor <[EMAIL PROTECTED]> wrote: (or alternatively, that you didn't define a ) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: ${pom.groupId} B ${pom.currentVersion} jar ${pom.groupId} C ${pom.currentVersion} jar When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
(or alternatively, that you didn't define a ) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: ${pom.groupId} B ${pom.currentVersion} jar ${pom.groupId} C ${pom.currentVersion} jar When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
Hi Bahaa - it looks like you haven't defined the of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: ${pom.groupId} B ${pom.currentVersion} jar ${pom.groupId} C ${pom.currentVersion} jar When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put navigation.xml (maven site)
Put navigation.xml and all your html files in the xdocs folder. BTW - your html files can also be written as "xdocs" - see http://www.astrogrid.org/viewcvs/astrogrid/portal/xdocs/index.xml?rev=1.12&content-type=text/vnd.viewcvs-markup for an example - and they'll get magically transformed into the maven style. John ========= John Taylor Astrogrid Java Developer http://software.astrogrid.org Royal Observatory of Edinburgh +44 (0) 131 668 8329 skype id: johndavidtaylor = - Original Message - From: "Janos Mucsi" <[EMAIL PROTECTED]> To: "Maven Users List" ; "Mauro Botelho" <[EMAIL PROTECTED]> Sent: Tuesday, February 01, 2005 9:58 PM Subject: where to put navigation.xml (maven site) Hi Where do you put navigation.xml? Where do you put the content htmls it references? (I assume some folder under src/ ). Thanks. Janos - 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]
Clover license expired?
Is anyone else out there having trouble with Clover? I'm getting an error from Maven (1.0.2) telling me that the clover license has expired...sure enough, the license file claims to have an expiry date of 30/1/05. John = John Taylor Astrogrid Java Developer http://software.astrogrid.org Royal Observatory of Edinburgh +44 (0) 131 668 8329 skype id: johndavidtaylor = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing properties in Maven that are set in Ant subbuilds?
Cheers Brett - that does the trick. John - Original Message - From: "Brett Porter" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Sunday, January 09, 2005 7:31 PM Subject: Re: Accessing properties in Maven that are set in Ant subbuilds? not that I am aware of. I'd suggest creating a temporary properties file at the end of your ant build with the values you need, and reading that back in maven afterwards. - Brett On Sun, 9 Jan 2005 12:59:52 -, John Taylor <[EMAIL PROTECTED]> wrote: Hi, Does anyone know if it's possible to access properties defined in calls to Ant from Maven? Ant seems to see Maven's properties perfectly well, but not vice versa For example in my maven.xml and in the build.xml in the same directory: Maven property: ${mymaven.prop} Only $mymaven.prop gets echoed. I suspect this might actually be an Ant feature (properties in a master build are visible to sub-builds but not vice versa), but you never know - there might be some clever and Mavenish way to get round it. John ===== John Taylor Astrogrid Java Developer http://software.astrogrid.org Royal Observatory of Edinburgh +44 (0) 131 668 8329 skype id: johndavidtaylor = - 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]
Accessing properties in Maven that are set in Ant subbuilds?
Hi, Does anyone know if it's possible to access properties defined in calls to Ant from Maven? Ant seems to see Maven's properties perfectly well, but not vice versa For example in my maven.xml and in the build.xml in the same directory: Maven property: ${mymaven.prop} Only $mymaven.prop gets echoed. I suspect this might actually be an Ant feature (properties in a master build are visible to sub-builds but not vice versa), but you never know - there might be some clever and Mavenish way to get round it. John = John Taylor Astrogrid Java Developer http://software.astrogrid.org Royal Observatory of Edinburgh +44 (0) 131 668 8329 skype id: johndavidtaylor = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies with a Multiproject
Another way to do it is to factor out the common stuff into a separate subproject that is not itself built, but from which the other subprojects inherit (via ). That way the subprojects will still build in isolation, and you've separated out the root project's responsibility for controlling the multiproject build, from the responsibility of being the parent project containing all the common properties. = John Taylor Astrogrid Java Developer http://software.astrogrid.org Royal Observatory of Edinburgh +44 (0) 131 668 8329 skype id: johndavidtaylor = - Original Message - From: "Eric Black" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Cc: "Maven UserList" <[EMAIL PROTECTED]> Sent: Thursday, December 16, 2004 7:13 PM Subject: Re: Dependencies with a Multiproject Hi, I think it depends how modular you'd like to have your subprojects. If you want to be able to pull out your individual projects and be able to build them, then you might not want the dependencies in the main project file. On the other hand, you reduce redundancy by placing as much info as possible in the main project file. I've had to deal with this same problem. If I want to build a subproject with maven, I have to checkout the main project file, then checkout the project itself. To fix this for developers using the source distribution, I have maven generate an ant build file before distributing the source so users don't need to get the main project.xml file and can build the source with ant rather than maven. Eric "Maven Users List" <[EMAIL PROTECTED]> on Thursday, December 16, 2004 at 11:51 AM + wrote: Hi, I have a multiproject setup that is used to build a webapp. I'm wondering if I should put the dependencies for the various projects in the root project.xml or keep each set of dependencies in the respective child project.xml. Is there a right way to go abuot this? Thanks. - Duncan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven 1.0.2 Released
My initial tests suggest that the multiproject/property inheritance problem that has given me such headaches for 6 months has indeed been fixed. This is going to make my life *so* much easier. Thanks guys - we really appreciate your efforts, John = John Taylor Astrogrid Java Developer http://www.astrogrid.org/maven/docs/HEAD/ Royal Observatory of Edinburgh http://www.roe.ac.uk/ifa/about/directory.html +44 (0) 131 668 8329 skype id: johndavidtaylor = The Apache Maven team is pleased to announce the Maven 1.0.2 release! We recommend that all users upgrade to this release, in particular those using pre-1.0 betas or release candidates. http://maven.apache.org/start/download.html Fixed bugs: o Ensure that default properties (such as maven.repo.remote) are correctly overidden when inherited from a parent. Issue: MAVEN-1501. o Allow SNAPSHOT as a version override. Issue: MAVEN-1511. o Prevent "Response Content Length not known" warning. Issue: MAVEN-1428. o Fail on 403 HTTP response to dependency download. Issue: MAVEN-1502. o Now works on IBM JDK 1.3. Issue: MAVEN-1507. o Don't download a dependency if there is a JAR override for it. Issue: MAVEN-1518. Thanks to Hardy Ferentschik. o Works with JDK 1.5 without additional configuration. -The Apache Maven team - 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: httpunit plugin
You can just include your httpunit tests in with your other JUnit tests and they should get compiled and run. John - Original Message - From: "Nathan Coast" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, August 23, 2004 4:30 AM Subject: Re: httpunit plugin > compile and execute the httpunit tests. I use the tomcat plugin to deploy to tomcat. > > Brett Porter wrote: > > I use httpunit in conjunction with Cactus' httpunit integration. > > > > I can't think of what a "httpunit plugin" would do. Httpunit doesn't > > really have any responsibility for starting/stopping/deploying code to > > a server. > > > > What are you trying to do? > > > > - Brett > > > > On Sat, 21 Aug 2004 09:36:31 +0800, Nathan Coast <[EMAIL PROTECTED]> wrote: > > > >>Hi, > >> > >>has anyone used httpunit from maven? is there a plugin somewhere? or does everyone use cactus? > >> > >>cheers > >>Nathan > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jar:deploy* over scpexe failing inexplicably
Just the built-in scp. As I say I was too lazy to go into the whys (poor excuse, I know)...I was just happy to have solved a problem that was holding me up for a day. When I get a moment I'll see if I can reproduce the problem, but I thought I'd just post in case you were still stuck and this worked for you. John - Original Message - From: "Craig S.Cottingham" <[EMAIL PROTECTED]> To: "John Taylor" <[EMAIL PROTECTED]> Cc: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 5:16 PM Subject: Re: jar:deploy* over scpexe failing inexplicably > On Jul 22, 2004, at 11:12, John Taylor wrote: > > > I don't know if you ever got to the bottom of this, but I had been > > having a > > similar problem. In my case, it seems that jar:deploy in Maven 1.0 > > silently > > failed to overwrite jar files that had been previously deployed using > > RC3. > > I don't know why this should be, and haven't time to try to find out. > > However, removing the old snapshot jars and allowing maven to deploy > > to a > > clean repository does seem to have fixed the problem. > > Sounds like a problem with permissions. Were you using scp or scpexe? > What happens when you try to transfer the files manually, using scp on > the command line? > > -- > Craig S. Cottingham > [EMAIL PROTECTED] > OpenPGP key available from: > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jar:deploy* over scpexe failing inexplicably
Craig, I don't know if you ever got to the bottom of this, but I had been having a similar problem. In my case, it seems that jar:deploy in Maven 1.0 silently failed to overwrite jar files that had been previously deployed using RC3. I don't know why this should be, and haven't time to try to find out. However, removing the old snapshot jars and allowing maven to deploy to a clean repository does seem to have fixed the problem. John ========= John Taylor Astrogrid Java Developer Royal Observatory of Edinburgh http://www.roe.ac.uk/ifa/about/directory.html = - Original Message - From: "Craig S.Cottingham" <> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Friday, July 16, 2004 9:05 PM Subject: jar:deploy* over scpexe failing inexplicably > When I run jar:deploy or jar:deploy-snapshot, Maven does not report an > error, but the jarfile is not deployed. When I run maven with the -X > flag, I see error messages: > > = > > Deploying: > /home/craigc/myjar/target/myjar-2.0-dev.jar-->mygroup/jars/myjar > -20040716.174447.jar > Executing command: ssh [EMAIL PROTECTED](my_employer).com mkdir -p > /home/maven/mygroup/jars > > Executing command: scp /home/craigc/myjar/target/myjar-2.0-dev.jar > [EMAIL PROTECTED](my_employer).com:/home/maven/mygroup/jars/myjar > -20040716.174447.jar > ERROR>scp: /home/maven/mygroup/jars/myjar-20040716.174447.jar: No such > file or directory > Executing command: ssh [EMAIL PROTECTED](my_employer).com chgrp maven > /home/maven/mygroup/jars/myjar-20040716.174447.jar > > Deploying: > /home/craigc/myjar/target/myjar-2.0-dev.jar.md5-->mygroup/jars/myjar > -20040716.174447.jar.md5 > Executing command: ssh [EMAIL PROTECTED](my_employer).com mkdir -p > /home/maven/mygroup/jars > > Executing command: scp > /home/craigc/myjar/target/frameworx-2.0-dev.jar.md5 > [EMAIL PROTECTED](my_employer).com:/home/maven/mygroup/jars/myjar > -20040716.174447.jar.md5 > ERROR>scp: /home/maven/mygroup/jars/myjar-20040716.174447.jar.md5: No > such file or directory > Executing command: ssh [EMAIL PROTECTED](my_employer).com chgrp maven > /home/maven/mygroup/jars/myjar-20040716.174447.jar.md5 > > Deploying: > /home/craigc/myjar/target/myjar-jar-snapshot-version-->mygroup/jars/ > myjar-snapshot-version > Executing command: ssh [EMAIL PROTECTED](my_employer).com mkdir -p > /home/maven/mygroup/jars > > Executing command: scp > /home/craigc/myjar/target/myjar-jar-snapshot-version > [EMAIL PROTECTED](my_employer).com:/home/maven/mygroup/jars/myjar- > snapshot-version > ERROR>scp: /home/maven/mygroup/jars/myjar-snapshot-version: No such > file or directory > Executing command: ssh [EMAIL PROTECTED](my_employer).com chgrp maven > /home/maven/mygroup/jars/myjar-snapshot-version > > = > > (Edited to remove what my employer might consider sensitive details, so > typos may be mine.) Now for the oddities: > > * myjar-2.0-dev.jar exists in target/, but myjar-2.0-dev.jar.md5 and > myjar-jar-snapshot-version do not. > * If I manually type in the first scp command line (for > myjar-2.0-dev.jar), the file is copied. > > Here's the relevant portion of project.properties: > > = > > maven.repo.central=server1.(my_employer).com > maven.repo.central.directory=/home/maven > maven.repo.remote=http://www.(my_employer).com/maven/,http:// > www.ibiblio.org/maven/,http://maven-plugins.sf.net/maven/ > maven.repo.list=server1 > maven.repo.server1=scpexe://server1.(my_employer).com > maven.repo.server1.directory=/home/maven > maven.repo.server1.group=maven > maven.repo.server1.compress=false > > = > > And the relevant portion of ~/build.properties: > > = > > maven.repo.server1.username=craigc > maven.repo.server1.privatekey=/home/craigc/.ssh/id_dsa > > = > > It gets odder. If I change "scpexe" to "scp", it works as it's supposed > to. Trying to execute jar:deploy-snapshot using the same files on the > machine that holds the repository (server1), "scp" *doesn't* work, but > "scpexe" does. > > The JVMs are the same, but the versions of ssh/OpenSSL are different: > > [EMAIL PROTECTED]:~/myjar$ java -version > java version "1.4.2_04" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) > Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) > [EMAIL PROTECTED]:~/myjar$ ssh -V > OpenSSH_3.8.1p1 Debian 1:3.8.1p1-4, OpenSSL 0.9.7d 17 Mar 2004 > > [EMAIL PROTECTED]:~/myjar$ java -version > java version "1.4.2_04" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04
Re: snapshot deprecated?
I do occasionally use it to quickly create a jar that I can drop in somewhere, but it's no big deal - I can use install-snapshot and grab it from my local repo instead. John - Original Message - From: "Carlos Sanchez" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 14, 2004 12:39 PM Subject: RE: snapshot deprecated? Hi, Yes, it has been deprecated with no substitution, it was used for jar:install-snapshot but now it's not used anymore. Do you need it? Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net > -Original Message- > From: John Taylor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:49 AM > To: Maven Users List > Subject: jar:snapshot deprecated? > > Hi, > Firstly, thanks for all your hard work getting Maven 1.0 out > the door - well done. > I've noticed that I'm getting a deprecation warning when > running jar:snapshot (though not for jar:install-snapshot or > jar:deploy-snapshot). > Is this correct? And if so, which goal should I be using > instead to build a snapshot jar? > > > > = > John Taylor+44 (0) 131 668 8328 > Astrogrid Java Developer > Royal Observatory of Edinburgh > http://www.roe.ac.uk/ifa/about/directory.html > = > > > > - > 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]
jar:snapshot deprecated?
Hi, Firstly, thanks for all your hard work getting Maven 1.0 out the door - well done. I've noticed that I'm getting a deprecation warning when running jar:snapshot (though not for jar:install-snapshot or jar:deploy-snapshot). Is this correct? And if so, which goal should I be using instead to build a snapshot jar? = John Taylor+44 (0) 131 668 8328 Astrogrid Java Developer Royal Observatory of Edinburgh http://www.roe.ac.uk/ifa/about/directory.html = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to correlate "pom.currentVersion" with CVS tag.
You could set ${myversion} and then pass myversion in on the command line: maven -Dmyversion=1.2 jar:jar - Original Message - From: "Roberto Castro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 07, 2004 2:02 PM Subject: How to correlate "pom.currentVersion" with CVS tag. > Hi, I'like to generate jar files of my project downloading source codes from > CVS. I'd like to run maven passing a parameter indicating the CVS tag > version. I'd like to configure "pom.currentVersion" with the same CVS > version, in order to, generate jar files with this version. > Is it possible to configure "pom.currentVersion" dimanically? > Thanks in advance, > > Roberto de Castro > Analista de Suporte > Cetip - Desus Rio de Janeiro > +55 21 2276-7439 > mailto:[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]