Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-26 Thread Kasun Gajasinghe
On 27 Jul 2011, at 01:28, Ansgar Konermann > wrote: Am 25.07.2011 14:50, schrieb Kasun Gajasinghe: On 25 Jul 2011, at 17:13, Benson Margulies wrote: I don't know about plugin-registry.xml, but you can distribute a settings.xml for use with -gs that has an active-by-default profile wi

Re: Maven dependencies

2011-07-26 Thread Benson Margulies
Um, isn't this the job of http://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createDependencyReducedPom? Shouldn't the shaded artifact's pom (as classified or as replacing the main artifact) not call out all the transitive deps? On Tue, Jul 26, 2011 at 7:41 PM, Kalle Korhonen wrot

Re: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread Brian Fox
you can set a flag to tell it to always unpack. I forget the exact param, but it's in the docs. On Tue, Jul 26, 2011 at 5:01 PM, KARR, DAVID (ATTSI) wrote: >> -Original Message- >> From: GALLAGHER, RON (ATTSI) >> Sent: Tuesday, July 26, 2011 12:03 PM >> To: Maven Users List >> Subject: RE

Re: Maven dependencies

2011-07-26 Thread Kalle Korhonen
Since you are including the dependencies in project A, you should declare them with scope "provided". Kalle On Tue, Jul 26, 2011 at 11:23 AM, marcelo wrote: > Hi, > > I have project A which dependens on 15 jars , when I build project A, I > include all dependenices in the jar.. (shade) > > I ha

Maven dependencies

2011-07-26 Thread marcelo
Hi, I have project A which dependens on 15 jars , when I build project A, I include all dependenices in the jar.. (shade) I have project B which dependes on project A when I build project B, it downloads all dependencies of project A I would like to build project B and have maven just download

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: GALLAGHER, RON (ATTSI) > Sent: Tuesday, July 26, 2011 12:03 PM > To: Maven Users List > Subject: RE: Why would "unpack-dependencies" sometimes not do its job? > > David, > > When the dependency plugin unpacks an artifact, it puts a marker file > in > the 'mark

Filter files from modules during assembly?

2011-07-26 Thread Mark H. Wood
I need to build an assembly by gathering up files from sub-modules, *and* I need to filter one of the files. In Maven 2.2 there doesn't seem to be any way to do both: can't appear inside a , and only implements . Am I missing something? -- Mark H. Wood, Lead System Programmer mw...@iupui.e

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: GALLAGHER, RON (ATTSI) > Sent: Tuesday, July 26, 2011 12:03 PM > To: Maven Users List > Subject: RE: Why would "unpack-dependencies" sometimes not do its job? > > David, > > When the dependency plugin unpacks an artifact, it puts a marker file > in > the 'mark

Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml

2011-07-26 Thread Ansgar Konermann
Am 25.07.2011 14:50, schrieb Kasun Gajasinghe: > > > On 25 Jul 2011, at 17:13, Benson Margulies wrote: > >> I don't know about plugin-registry.xml, but you can distribute a >> settings.xml for use with -gs that has an active-by-default profile >> with a pluginManagement section that does the job.

RE: Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread GALLAGHER, RON (ATTSI)
David, When the dependency plugin unpacks an artifact, it puts a marker file in the 'markersDirectory' [1] so that it doesn't unpack that same artifact a second time. When you run "mvn clean", that 'markersDirectory' is cleared out, along with all other build output. Is it possible that the ab

Why would "unpack-dependencies" sometimes not do its job?

2011-07-26 Thread KARR, DAVID (ATTSI)
I'm using both "maven-dependency-plugin" and "maven-jar-plugin" so all of my application classes and dependent classes go into a single jar file. Every once in a while I discover that the resulting jar file doesn't have my dependent classes. If I then do "mvn clean" and then "mvn" (default goa

Re: excludeGroupIds

2011-07-26 Thread Kerem Onal
Thanks Wayne I will try. On Tue, Jul 26, 2011 at 17:22, Wayne Fay wrote: > > The thing is I depend on this jar by defining it in my manifest.mf. I > think > > tycho resolves this dependency. I do not depend on it in my pom.xml and > so I > > do not name its groupid. > > Then I suggest you ask th

Re: excludeGroupIds

2011-07-26 Thread Wayne Fay
> The thing is I depend on this jar by defining it in my manifest.mf. I think > tycho resolves this dependency. I do not depend on it in my pom.xml and so I > do not name its groupid. Then I suggest you ask the Tycho folks about how to handle this: http://software.2206966.n2.nabble.com/Tycho-Users

Re: Should I use classifiers to differentiate between "devel" and "production" builds?

2011-07-26 Thread Ron Wheeler
On 25/07/2011 5:10 PM, Anders Hammar wrote: What I *think* Wayne is talking about is deploying the environment configurations wrapped in jars and deploy them to the repo (you would deploy a separate jar for each environment). And then during the actual copy to the runtime environment pick the app

Re: Request for info on zip packaging using Maven 3

2011-07-26 Thread Ryan Connolly
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html On Jul 26, 2011 6:49 AM, wrote: > > Hi, > > Please do let me know if it is possible to package zip using Maven 3. > If possible, please provide some info regarding how to do it. > > > > Thanks & Regards, > > Anindya Mishra

Re: gitflow releases with maven?

2011-07-26 Thread Mark Derricutt
Before cutting the release, I start a new release branch, do the maven release, then when I'm happy, finish the release branch, THEN push to origin $ git flow release start 3.4.5 $ mvn release:prepare release:perform $ git flow release finish 3.4.5 $ git push && git push --tags At least thats my

Request for info on zip packaging using Maven 3

2011-07-26 Thread Anindya.Mishra
Hi, Please do let me know if it is possible to package zip using Maven 3. If possible, please provide some info regarding how to do it. Thanks & Regards, Anindya Mishra This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confi

Re: Exclude some jobs from continuous integration

2011-07-26 Thread maxime.lem
My bad, I think I sent this message to the wrong user list (maven <> jenkins). -- View this message in context: http://maven.40175.n5.nabble.com/Exclude-some-jobs-from-continuous-integration-tp4633923p4634198.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven Release Plugin - Putting Release Version into scmCommentPrefix

2011-07-26 Thread Marc Rohlfs
I don't think it's possible (yet). I'd suggest to file a feature request at http://jira.codehaus.org/browse/MRELEASE. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven

Exclude some jobs from continuous integration

2011-07-26 Thread maxime.lem
Hi all, I have 2 jobs in Jenkins for each project, one for CI and one for integration / system tests. Both jobs use the same pom, but the second one activates a specific profile. All jobs are run when a change is made in SCM (hourly for CI jobs, daily for IT jobs), and when the job of a snapshot

Re: gitflow releases with maven?

2011-07-26 Thread Lars Fischer
Hello Mark, 2011/7/25 Mark Derricutt > > We're using gitflow/maven quite nicely, I use for my release plugin: > >               >                    org.apache.maven.plugins >                    maven-release-plugin >                    2.1 >                     >                        deploy >

Re: excludeGroupIds

2011-07-26 Thread Kerem Onal
Yes I am sure that its groupid is org.eclipse.core. I tried org.eclipse too. The thing is I depend on this jar by defining it in my manifest.mf. I think tycho resolves this dependency. I do not depend on it in my pom.xml and so I do not name its groupid. This jar comes from Nexus where I can see t