Re: dependency:unpack handling of overwrite for individual items in the archive

2010-04-30 Thread Brian Fox
Currently it just unpacks the whole archive. On Thu, Apr 29, 2010 at 10:31 AM, Marshall Schor wrote: > The documentation for dependency:unpack [1] says that the default is to > overwrite (only) if newer.  But it seems to apply to the entire archive > being unpacked, meaning that the check is on w

RE: How To Determine/Exclude Transitive Dependencies

2010-04-30 Thread Shelli Orton
Thanks! That makes so much more sense. :) Shelli -Original Message- From: Jörg Schaible [mailto:joerg.schai...@gmx.de] Sent: Friday, April 30, 2010 3:16 PM To: users@maven.apache.org Subject: Re: How To Determine/Exclude Transitive Dependencies Shelli Orton wrote: > I am new to Maven

Re: How To Determine/Exclude Transitive Dependencies

2010-04-30 Thread Jörg Schaible
Shelli Orton wrote: > I am new to Maven and am trying to understand transitive dependencies > and how to exclude them from my war. > > > > For example, in my war file, FastInfoset-1.2.2.jar file is included. I > do not have it listed as a dependency in my POM, so it must be a > transitive dep

How To Determine/Exclude Transitive Dependencies

2010-04-30 Thread Shelli Orton
I am new to Maven and am trying to understand transitive dependencies and how to exclude them from my war. For example, in my war file, FastInfoset-1.2.2.jar file is included. I do not have it listed as a dependency in my POM, so it must be a transitive dependency. I ran mvn with the -X par

Re: Release plugin and updating a release with some fixes

2010-04-30 Thread Wendy Smoak
On Fri, Apr 30, 2010 at 10:07 AM, Jan Torben Heuer wrote: > How do I create a branch from a tag? > I have a: > 2.0-SNAPSHOT (current /trunk/) > 1.0 /tags/1.0/ > > and I want to have a /branch/1.1-SNAPSHOT. > It is a a multi module project so version numbers must be changed. I think either the rel

Re: Release plugin and updating a release with some fixes

2010-04-30 Thread Tim O'Brien
mvn versions:set -DnewVersion=1.1-SNAPSHOT On Fri, Apr 30, 2010 at 9:07 AM, Jan Torben Heuer wrote: > Wendy Smoak wrote: > >> If you find you need to make a fix, then you can branch from the tag >> -- in your case the version number on your branch might be >> 1.5.1-SNAPSHOT. > > How do I create

Re: Release plugin and updating a release with some fixes

2010-04-30 Thread Jan Torben Heuer
Wendy Smoak wrote: > If you find you need to make a fix, then you can branch from the tag > -- in your case the version number on your branch might be > 1.5.1-SNAPSHOT. How do I create a branch from a tag? I have a: 2.0-SNAPSHOT (current /trunk/) 1.0 /tags/1.0/ and I want to have a /branch/1.1-S

Re: doubt in maven-deploy plugin : deploy-file goal

2010-04-30 Thread Ron Wheeler
On 30/04/2010 5:39 AM, Ambikapathy, Srinivas wrote: Hi Anders. When I sent the first mail I wasn't subscribed to the group. Didn't know the policy of the mailing list whether they allow mails from non-members. So subscribed to the mailing list and sent the mail again. Sorry for it anyways.

Re: How do I get rid of the compile phase in site:site

2010-04-30 Thread Benson Margulies
See MJAVADOC-281 which I filed last night. A seemingly trivial configuration of javadoc in the reporting section triggers this behavior. On Fri, Apr 30, 2010 at 4:50 AM, Jörg Schaible wrote: > > Benson Margulies wrote: > > > I run mvn site:site, and, the next thing I know, things like checkstyle

Re: release plugin: Create new SNAPSHOT from release tag?

2010-04-30 Thread Kalpak Gadre
Past discussion which happened on similar question, http://www.mail-archive.com/users@maven.apache.org/msg108587.html Kalpak Hi, Using release:prepare, release:perform I successfully created a tag in svn. I now have to fix some bugs so I thought I should create a new branch from the svn tag.

release plugin: Create new SNAPSHOT from release tag?

2010-04-30 Thread Jan Torben Heuer
Hi, Using release:prepare, release:perform I successfully created a tag in svn. I now have to fix some bugs so I thought I should create a new branch from the svn tag. Is this the way to go? So I created from 1.0-SNAPSHOT the svn tag 1.0 and have the working copy 2.0-SNAPSHOT. To fix a bug i th

RE: doubt in maven-deploy plugin : deploy-file goal

2010-04-30 Thread Ambikapathy, Srinivas
Hi Anders. When I sent the first mail I wasn't subscribed to the group. Didn't know the policy of the mailing list whether they allow mails from non-members. So subscribed to the mailing list and sent the mail again. Sorry for it anyways. -Original Message- From: anders.g.ham...@gmail.co

Re: doubt in maven-deploy plugin : deploy-file goal

2010-04-30 Thread Anders Hammar
Didn't you ask the very same question (twice) yesterday? Please don't spam the mailing list, but allow some days for people to answer. /Anders On Thu, Apr 29, 2010 at 16:53, srinivasa raghavan < srinivasaraghava...@gmail.com> wrote: > Hi, > have a doubt in maven-deploy plugin 2.5 version. For de

doubt in maven-deploy plugin : deploy-file goal

2010-04-30 Thread srinivasa raghavan
Hi, have a doubt in maven-deploy plugin 2.5 version. For deploy-file goal , they make a sanity check to see whether the file to be deployed is present in the local repository and if so they fail the deploy goal. I believe 2.4 version didn't do that. So why is it illegal to deploy artifact from the

Re: How do I get rid of the compile phase in site:site

2010-04-30 Thread Jörg Schaible
Benson Margulies wrote: > I run mvn site:site, and, the next thing I know, things like checkstyle > and one of my own plugins are running. my plugin has an @phase of compile > declared in the plugin descriptor. > > I do have a defaultGoal of compile specified, but that shouldn't matter > for mvn

Re: Embedding Maven. I'm a newbie, please point me in the right direction....

2010-04-30 Thread Anders Hammar
I believe that Jason has said that once the beta is out, the internal APIs would be fixed. So, now should be a good time to start looking at this I think. Maybe Jason or Benjamin can clarify? Also, please note that Maven 2.x and Maven 3 is very different when it comes to the embedder. What we're t

Re: How do I get rid of the compile phase in site:site

2010-04-30 Thread Anders Hammar
I only have limited experience of maven site and reports, but could it be that some report plugin (checkstyle?) triggers some part of the build lifecycle (incl the compile phase)? Try disabling/removing the reports and see if that makes a difference. /Anders On Fri, Apr 30, 2010 at 00:34, Benson