Re: Continuous Delivery and Maven

2010-11-12 Thread Graham Leggett
On 13 Nov 2010, at 2:37 AM, Christopher Hunt wrote: Please correct me if I do not have this right, but in effect the requirement is to take a snapshot release, the developer do their testing and then, if satisfied, release it in effect by renaming the artifact to drop the "-SNAPSHOT"? My ap

Re: Developing MOJOs using JSR-330

2010-11-12 Thread Christopher Hunt
Hi Jason, Thanks for the reply. In effect then, Plexus lives; at least in terms of developing Mojos. I suppose I thought that the idea was to ultimately de-couple from Plexus. In my perfect world, I'd prefer to leverage JSR-330 knowledge and not have to do with Plexus at all when writing Mojos

Re: Continuous Delivery and Maven

2010-11-12 Thread Christopher Hunt
Please correct me if I do not have this right, but in effect the requirement is to take a snapshot release, the developer do their testing and then, if satisfied, release it in effect by renaming the artifact to drop the "-SNAPSHOT"? My apologies if this is an over simplification, but if it is

Profile activation for mac and linux

2010-11-12 Thread Manfred Moser
Hi! I would like to have a bunch of properties set differently for Mac, Linux and Windows. So I have inserted this linux unix mac

perforce and release-plugin

2010-11-12 Thread rickuser
I'm using a flat directory structure and version 2.1 of the release plugin. When I do a release:prepare the plugin updates the pom versions and checks them in, builds all the projects, but fails when it tries to tag the code. If I run a prepare:release on a single sub-project it labels fine. Th

RE: What is the right way to create a patch jar file?

2010-11-12 Thread Chris Helck
Sorry, I was not clear. I don't mean patchng source code. Suppose we create foo_1.2.3.jar and it is in production. A bug is found. Normally we'd fix the bug, create a new release called foo_1.2.4.jar, test it, and deploy it to production. But, my operations group would, in certain circumstances, p

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Wendy Smoak
On Fri, Nov 12, 2010 at 12:24 AM, banka.ravi wrote: > I am finding a way to > generate jar also in the war project and setting fer other projects depend > on that. (Aside from all the advice you're getting to move the classes to a separate module...) Use the war plugin configuration that (I thi

Re: Custom assembly of multi module project

2010-11-12 Thread Kalpak Gadre
I have got around including config files form modules into an assembly using repository. I have configured build-helper-maven-plugin to install the configuration files into repository. The installed config files need a special classifier to distinguish it from the jar itself. The assembly modu

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Antonio Petrelli
2010/11/12 Ron Wheeler : > The war can not be completely tested because it contains visual elements and > navigation and flow that usually requires manual testing. Or automated integration/functional testing, for example via Selenium or Canoo WebTest. Antonio

Re: Why would maven look for a newer version of a plugin?

2010-11-12 Thread Frederic Camblor
is not used in section... it is only build section scoped. Provide a version in your reporting plugin, and it will solve your problem (for the moment, no version is provided for your reporting plugin, that's why maven is gathering last plugin version from your enterprise repository). Frédéric

Re: Why would maven look for a newer version of a plugin?

2010-11-12 Thread Sanjeeb Sahoo
No, that snippet is part of pluginManagement. The actual usage is inside , but there is no version specified at the point of use. Why should version be specified there if it is already present in pluginManagement? BTW, in case I didn't make it clear, I am looking at effective pom. Our project P

Re: What is the right way to create a patch jar file?

2010-11-12 Thread Wendy Smoak
On Fri, Nov 12, 2010 at 12:18 PM, Chris Helck wrote: > I need to support patching: creating a jar file that has just those > classes modified since a base line. Is Maven the right tool to do this? > If so how? There is a patch plugin for Maven1, but nothing for Maven2. There is this... https://ma

Re: Custom assembly of multi module project

2010-11-12 Thread jon.mithe
Thanks again for all your help, although I've come up with a slightly different solution. Was not comfortable splitting the config + jars up, especially as I am going to have a minimum of 20 odd modules in this project (its fairly large / diverse). So if anyone is interested / has this problem

What is the right way to create a patch jar file?

2010-11-12 Thread Chris Helck
I need to support patching: creating a jar file that has just those classes modified since a base line. Is Maven the right tool to do this? If so how? There is a patch plugin for Maven1, but nothing for Maven2. Thanks, C. Helck ***

Re: Setting dependency with plugin generated jar

2010-11-12 Thread banka.ravi
thanks will keep in mind Regards, B. Ravi Shankar 2010/11/12 Ron Wheeler [via Maven] < ml-node+3262263-1728863589-143...@n5.nabble.com > > On 12/11/2010 12:24 AM, banka.ravi wrote: > > by mentioning "Looking for classes", I did not meant the source code, I > was > > mentioning . I extracted the

Re: Setting dependency with plugin generated jar

2010-11-12 Thread Ron Wheeler
On 12/11/2010 12:24 AM, banka.ravi wrote: by mentioning "Looking for classes", I did not meant the source code, I was mentioning . I extracted the war file manually using 7zip tool and found that it had compiled .class files. I know that war contains all resources. Our project don't have separate

Re: Why would maven look for a newer version of a plugin?

2010-11-12 Thread Frederic Camblor
Hi, Is your snippet extracted from the or the pom section ? Check that your version is provided on both of these sections (even if you provided it in /project/build/pluginManagement) Frédéric On Fri, Nov 12, 2010 at 3:29 PM, Sanjeeb Sahoo wrote: > I would like someone to help us understand

Re: Maven-dependency-plugin: type and classifier for *-test-sources.jar?

2010-11-12 Thread Andreas Sewe
Hi Justin, type = jar classifier = test-sources yes, that did the trick. Thanks :-) Andreas - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven-dependency-plugin: type and classifier for *-test-sources.jar?

2010-11-12 Thread Justin Edelson
type = jar classifier = test-sources HTH, Justin On Nov 12, 2010, at 9:42 AM, Andreas Sewe wrote: > Hi all, > > I need to use the maven-dependency-plugin to copy a *-test-sources.jar > artifact. Alas, I am unable to find the proper values for the artifactItem's > and . I either end up copyin

Re: Setting dependency with plugin generated jar

2010-11-12 Thread banka.ravi
Thanks this helped Regards, B. Ravi Shankar 2010/11/11 Ron Wheeler [via Maven] < ml-node+3260435-198418789-143...@n5.nabble.com > > War project has almost no code or preferably no code . > Code is in jar project. > > War project has WebContent stuff (configurations, XML, images, JSPs) and > dep

Maven-dependency-plugin: type and classifier for *-test-sources.jar?

2010-11-12 Thread Andreas Sewe
Hi all, I need to use the maven-dependency-plugin to copy a *-test-sources.jar artifact. Alas, I am unable to find the proper values for the artifactItem's and . I either end up copying *-sources-jar or *-tests.jar, but never *-test-sources.jar. :-( Can anyone please help me with this? How

Why would maven look for a newer version of a plugin?

2010-11-12 Thread Sanjeeb Sahoo
I would like someone to help us understand a behavior that we recently observed in our build system. In our project POM, we don't explicitly mention the versions for these plugins, as we expect the versions to be inherited from SuperPOM. When I look at the effective POM for the project, it show

Re: properties inheritance does not work on windows os

2010-11-12 Thread chemit
On Fri, 12 Nov 2010 09:19:33 -0500 Martin Gainty wrote: I will make reproductible small project to show the problem. I just try to test on windows but for my part it does not block me since I do not use windows; it was just to test if it works for people which like to use our libraries [1] Than

RE: properties inheritance does not work on windows os

2010-11-12 Thread Martin Gainty
Curt- we can help you only if you send us your pom.xml which invokes the plugin and your ant build.xml http://maven.apache.org/plugins/maven-antrun-plugin/ Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkun

Re: RE: properties inheritance does not work on windows os

2010-11-12 Thread Vincent Latombe
My previous message was meant for chemit and his reaction to Benjamin's message Vincent Le 2010 11 12 13:59, "Yanko, Curtis" a écrit : > ?? > > >> -Original Message- >> From: Vincent Latombe [mailto:vincent.lato...@gmail.com] >> Sent: Friday, November 12, 2010 7:56 AM >> To: Maven Users L

Re: Maven rpm - Java and Shell script

2010-11-12 Thread Karl Heinz Marbaise
Hi, this is exactly what the Maven RPM Plugin is intended for... Take a look here: http://mojo.codehaus.org/rpm-maven-plugin/ Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Haupts

RE: properties inheritance does not work on windows os

2010-11-12 Thread Yanko, Curtis
?? > -Original Message- > From: Vincent Latombe [mailto:vincent.lato...@gmail.com] > Sent: Friday, November 12, 2010 7:56 AM > To: Maven Users List > Subject: Re: properties inheritance does not work on windows os > > I think what Benjamin meant is : please provide an sample > project

Re: properties inheritance does not work on windows os

2010-11-12 Thread Vincent Latombe
I think what Benjamin meant is : please provide an sample project to reproduce your problem. Vincent 2010/11/11 Yanko, Curtis > Very odd indeed, we use properties quite pervasively and I haven't seen > this. > > I do recall some chicken-n-egg scenarios but this doesn't to fit that mold. > > >

Maven rpm - Java and Shell script

2010-11-12 Thread deepakgang
Hi All, Thanks for looking. I am new to maven and I have a query. This is what I wish to achieve: 1. I have created a Java program (simple core java) which accesses a mysql db 2. I have an install shell script which runs this program (with two arguments), gets the output and do couple other func

Re: Maven overrides up to date artifacts

2010-11-12 Thread Antonio Petrelli
2010/11/11 Moser, Christian : > I've got the following problem with maven 3.0 and artifactory 2.2.3 (2.2.1 > won't let maven 3.0 deploy without legacy-mode flag --> metadata problem). > A quick look in the maven output shows that at the beginning of the build > maven downloads an old, already dep