Re: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter ->

2018-07-03 Thread Mark Prins
-was-not-specified-in-the-pom-inside-distributionmanagement-el/39439911 So, I read up the below: https://maven.apache.org/pom.html#Distribution_Management My question is since I am doing this on a stand alone basis and do not need to share the POM denpendencies, how do I get rid of this message

repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter ->

2018-06-30 Thread Karen Goh
-distributionmanagement-el/39439911 So, I read up the below: https://maven.apache.org/pom.html#Distribution_Management My question is since I am doing this on a stand alone basis and do not need to share the POM denpendencies, how do I get rid of this message? With Spring-boot, it is very easy I

Re: Site Repository Property was: Open Source Best Practices with Maven - distributionManagement

2014-03-20 Thread Robert Kuropkat
Yep, that is one of the many pages I had looked at also. I was also considering the stage-deploy target as I think that actually does have a property for URL, but was not sure what other side affects it would have since it might be deemed a mis-use of that feature. I need to understand it a

Re: Site Repository Property was: Open Source Best Practices with Maven - distributionManagement

2014-03-20 Thread Mirko Friedenhagen
Hello Robert, reading the information at https://maven.apache.org/plugins/maven-site-plugin/deploy-mojo.html I do not think there is an easy way to do this and probably never will be. 1) AFAIK there is no (central) server available which hosts sites by default. 2) As stated on above page, there a

Site Repository Property was: Open Source Best Practices with Maven - distributionManagement

2014-03-20 Thread Robert Kuropkat
So is there an equivalent to altReleaseDeploymentRepository and altSnapshotDeploymentRepository for the Site Deployment information also? Since all three are in the Distribution Management directive, I was hoping I could define this last one in the settings.xml also. Robert Kuropkat On 03

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk
Actually, I did set these properties up in my settings.xml file :-) Great minds think alike ;-) Cheers, Eric On 3/19/2014 3:53 PM, Mark Struberg wrote: You could also add those properties into a profile in your settings.xml. That way you don't even have the url in the projects pom anymore. Do

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Mark Struberg
You could also add those properties into a profile in your settings.xml. That way you don't even have the url in the projects pom anymore. Downside: this needs to be set up on each of your colleagues computers. LieGrue, strub On Wednesday, 19 March 2014, 23:16, Eric Kolotyluk wrote: OK,

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk
OK, this was great advice. :-) This works nicely because I do not have to have separate profiles in my pom.xml for my local Nexus or Sonatype's remote one. This keeps the pom.xml smaller. This would be a nice narrative to add to https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Mirko Friedenhagen
Hello Eric, as outlined in https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html in your settings.xml you might define properties altReleaseDeploymentRepository and altSnapshotDeploymentRepository in a profile internal-repository which is activated by default while you do not defi

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Stevo Slavić
Hello Eric, I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything that goes along (see more details at https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide) For OSS development maybe use private (and not local) Nexus as proxy only, with mirro

Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Curtis Rueden
Hi Eric, > Should I put this in a parent POM Here is how my projects do it: http://search.maven.org/remotecontent?filepath=org/scijava/pom-scijava/1.150/pom-scijava-1.150.pom Note in particular the profiles at the bottom. We use this pom-scijava as parent for all our stuff. To deploy to OSS Son

Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk
Does anyone know of any good documentation on 'Open Source Best Practices with Maven' For example, in my POM, I want to set up http://localhost:8081/nexus/content/groups/public false nexus-kolotyluk Local Release Repository http://localhost:8081/nexus/content/repositor

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-30 Thread Olivier Lamy
rds Mirko > > On Sun, Apr 29, 2012 at 21:22, Olivier Lamy wrote: > > Yup you can add properties to project.getProperties() > > But in your case you want to change distributionManagement urls using > > properties interpolation mechanism ? but it's too late using a plugi

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-30 Thread Mirko Friedenhagen
change distributionManagement urls using > properties interpolation mechanism ? but it's too late using a plugin > as model has been build. > > An option you have maybe it's to use maven3 lifecycle extension > mechanism: http://maven.apache.org/examples/maven-3-lifecycle-extensions.html &

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-29 Thread Olivier Lamy
Yup you can add properties to project.getProperties() But in your case you want to change distributionManagement urls using properties interpolation mechanism ? but it's too late using a plugin as model has been build. An option you have maybe it's to use maven3 lifecycle extension

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-29 Thread Mirko Friedenhagen
ame of the property is inserted. I may access the calculated property >> > and insert it into Could anybody tell me in which phase the urls in >> > distributionManagement are resolved? >> > >> > Regards Mirko >> > >> > ---

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-29 Thread Hervé BOUTEMY
> > validate phase and want to use it as part of the > > snapshotRepository/url. However the property is not resolved but the > > name of the property is inserted. I may access the calculated property > > and insert it into Could anybody tell me in which phase th

Re: Lifecycle phase in which the url for distributionManagement/snapshotRepository is calculated

2012-04-28 Thread Anders Hammar
ry/url. However the property is not resolved but the > name of the property is inserted. I may access the calculated property > and insert it into Could anybody tell me in which phase the urls in > distributionManagement are res

Shouldn't release:prepare check for distributionManagement

2012-04-17 Thread Daniel Serodio
release:perform will fail if is not set. Shouldn't release:prepare check for this field and fail it it's not set? Regards, Daniel Serodio - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
m: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, March 28, 2012 8:42 AM To: Maven Users List Subject: Re: There is a way to override distributionManagement in Maven and what is exactly wrong with mvn -DaltDeploymentRepository=id::default::url deploy ? no change to pom re

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Stephen Connolly
d "goodness" has the ability to creep up on us during production > builds. > > -Original Message- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Wednesday, March 28, 2012 2:45 AM > To: Maven Users List > Subject: Re: There is a way

RE: There is a way to override distributionManagement in Maven

2012-03-28 Thread Lyons, Roy
2 2:45 AM To: Maven Users List Subject: Re: There is a way to override distributionManagement in Maven Take a step back and try and explain exactly what the problem is that you think you are trying to solve. I have a sneaky feeling you are trying to get functionality similar to staging/promotion avai

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Anders Hammar
One possibility is to use properties in the distributionMgmt section and then override the property values from command line. Have a look at how this is done in the Apache parent pom (for snapshotRepository distribution): http://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom /Ande

Re: There is a way to override distributionManagement in Maven

2012-03-28 Thread Stephen Connolly
Take a step back and try and explain exactly what the problem is that you think you are trying to solve. I have a sneaky feeling you are trying to get functionality similar to staging/promotion available from the good repository managers (iirc nexus free does not, but nexus pro and artifactory cer

There is a way to override distributionManagement in Maven

2012-03-27 Thread jose.nunez-zuleta
Hello Maven users, I have a project master pom.xml with a distribution management section defined like this: one Blah Managed Releases Repository http://:8080/archiva/repository/one/ default snapshots Blah Managed Snapshots Repository

Re: distributionManagement

2011-06-26 Thread Sebastian Otaegui
He is talking about apache ivy I think http://ant.apache.org/ivy/history/2.0.0/use/makepom.html On Sun, Jun 26, 2011 at 4:25 AM, Aldrin Leal wrote: > I am not sure what makepom is, so I went to google. It seems likely an Ivy > Question > > With regards to distributionManag

RE: distributionManagement

2011-06-26 Thread Martin Gainty
t facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sun, 26 Jun 2011 06:25:40 -0300 > Subject: Re: distributionManagement > From: ald...@leal.eng.br > To: users@maven.apache.org > > I am not sure what makepom

Re: distributionManagement

2011-06-26 Thread Ron Wheeler
probably why distribution management is not part of the output from the utility that you are using. Ron On 26/06/2011 5:25 AM, Aldrin Leal wrote: I am not sure what makepom is, so I went to google. It seems likely an Ivy Question With regards to distributionManagement: It is optional

Re: distributionManagement

2011-06-26 Thread Aldrin Leal
I am not sure what makepom is, so I went to google. It seems likely an Ivy Question With regards to distributionManagement: It is optional -- -- Aldrin Leal, / http://www.leal.eng.br/mnemetica/ On Sun, Jun 26, 2011 at 6:03 AM, Brosh, Yossi wrote: > > Hi to all, > > I would lik

distributionManagement

2011-06-26 Thread Brosh, Yossi
Hi to all, I would like to know if distributionManagement tag should be exist in pom.xml ? I am using makepom command - so who can I adding this distributionManagement tag to pom.xml ? Best regards, Yos

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Rick Mangi
gt; 2012 NM Haarlem > T +31 23 547 6369 > F +31 23 547 6370 > I www.iprofs.nl > > > > On Thu, Jun 23, 2011 at 3:44 PM, Rick Mangi wrote: >> Hello Maven Users, >> >> I'm trying to migrate my users to a new nexus repository on a different >> domain.

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Wendy Smoak
On Thu, Jun 23, 2011 at 9:44 AM, Rick Mangi wrote: > I'm trying to migrate my users to a new nexus repository on a different > domain. I'm trying to avoid having to tell all of the developers to change > their distributionManagement/repository and /snapshotRepository values i

Re: Overriding distributionManagement Repositories

2011-06-23 Thread Nick Stolwijk
> domain. I'm trying to avoid having to tell all of the developers to change > their distributionManagement/repository and /snapshotRepository values in > their pom files or to upgrade to new parent poms all at once. They can do it > over time, but we support hundreds of developer

Overriding distributionManagement Repositories

2011-06-23 Thread Rick Mangi
Hello Maven Users, I'm trying to migrate my users to a new nexus repository on a different domain. I'm trying to avoid having to tell all of the developers to change their distributionManagement/repository and /snapshotRepository values in their pom files or to upgrade to new parent p

Re: how to release without distributionManagement

2011-03-21 Thread Manuel Doninger
distributionManagement is the target for the Maven artifacts. release:perform calls deploy as default, and deploy needs the distributionManagement. If you do not want this (e.g. only install the Maven artifact in the local repository), then you have to do something like this: maven-release

Re: how to release without distributionManagement

2011-03-21 Thread bravegag
=scm:svn:https://svn.vis.ethz.ch/svn/webengineering/trunk -DtagBase=file:Users/bravegag/code/webengineering/tags So I don't understand why is needed yet another way to specify the repository. AFAIK distributionManagement is used to specify the target of the project report and web site but I don&#

Re: how to release without distributionManagement

2011-03-21 Thread Anders Hammar
bravegag wrote: > Hello, > > I have a project for which I do not really need a site or for that matter a > distributionManagement ... is there a way to successfully release i.e. > branch out etc etc without having to specify a distributionManagement? > > TIA, > Best regards

how to release without distributionManagement

2011-03-21 Thread bravegag
Hello, I have a project for which I do not really need a site or for that matter a distributionManagement ... is there a way to successfully release i.e. branch out etc etc without having to specify a distributionManagement? TIA, Best regards, Giovanni -- View this message in context: http

Re: Inheritance of distributionManagement

2010-11-30 Thread Pazmiño Mazón , Iván Andrés
Thanks for your reply. I re-checked and the problem was because the pom version was a release but the parent pom defined a snapshot repository. -Original Message- From: Anders Hammar To: iapazm...@sri.gob.ec, Maven Users List Subject: Re: Inheritance of distributionManagement Date: Mon

Re: Inheritance of distributionManagement

2010-11-29 Thread Anders Hammar
Do the module projects declare a parent, from which the distMgmt will be inherited? /Anders (mobile) Den 2010 11 29 16:27 skrev "Pazmiño Mazón, Iván Andrés" : > Hi, > > I'm having problems with a composite maven 2 project. I have set up a > base project which carries the configuration. > When it'

Inheritance of distributionManagement

2010-11-29 Thread Pazmiño Mazón , Iván Andrés
Hi, I'm having problems with a composite maven 2 project. I have set up a base project which carries the configuration. When it's extended by another project without modules it works just fine. But now I happened to need to extend the base project from another project which has some modules decl

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Phillip Hellewell
On Thu, Oct 7, 2010 at 11:34 AM, Benson Margulies wrote: > This conversation turns on a classic dilemma in release management. > > 1. The important thing is to ship exactly the bits that have been > tested. Prepare a package, give it to QA. If they like it, ship it. If > they don't, rinse, lather,

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Benson Margulies
This conversation turns on a classic dilemma in release management. 1. The important thing is to ship exactly the bits that have been tested. Prepare a package, give it to QA. If they like it, ship it. If they don't, rinse, lather, and repeat. 2. The important thing is to never, ever, ever create

RE: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Thiessen, Todd (Todd)
> Why would the package change? Were' using the assembly plugin to > create a zip of the binaries (dlls, libs, and headers). Why should > that change if the code it's built from hasn't changed? The names of the artifacts would change. The meta data used to retrieve the artifacts is also differe

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Jon Paynter
somethign that occurrs to me... Take a step back and look at your processes... what determines when a build goes to QA? Look for a way to have that trigger a "mvn release" which will push the build to your release repo On Thu, Oct 7, 2010 at 10:26 AM, Phillip Hellewell wrote: > On Thu, Oct 7, 2

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Phillip Hellewell
On Thu, Oct 7, 2010 at 11:08 AM, Thiessen, Todd (Todd) wrote: >> So this is one aspect where our setup will differ slightly.  We don't >> need the release plugin to create tags for us because our build >> scripts on our build machines are already set up to create tags with >> every single build (e

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Phillip Hellewell
On Thu, Oct 7, 2010 at 10:43 AM, Thiessen, Todd (Todd) wrote: > >> But the main thing I'm thinking about is the fact that the package >> hasn't changed.  So why should I have to rebuild the code? > > But it has changed. Very much so. A SNAPSHOT is not a release. Why would the package change? Wer

RE: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Thiessen, Todd (Todd)
> So this is one aspect where our setup will differ slightly. We don't > need the release plugin to create tags for us because our build > scripts on our build machines are already set up to create tags with > every single build (even snapshots builds). I think we may be getting to crux of your.

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Phillip Hellewell
On Thu, Oct 7, 2010 at 7:06 AM, Thiessen, Todd (Todd) wrote: >> Yeah, I'll just keep it pretty simple like this, however it will be >> even simpler because our build process will append the SVN tag name, >> so we won't ever need to manually add like "01", "02", "03", etc. > > What are you using as

RE: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Thiessen, Todd (Todd)
> But the main thing I'm thinking about is the fact that the package > hasn't changed. So why should I have to rebuild the code? But it has changed. Very much so. A SNAPSHOT is not a release. > That not > only wastes time but more importantly it adds risks that the build may > not be identical

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Phillip Hellewell
On Thu, Oct 7, 2010 at 6:51 AM, Thiessen, Todd (Todd) wrote: > Bingo. I was just about to reply to say that. You generally never go from a > SNAPSHOT to release as the way the artifacts are generated are very > different. Not only are the names of the artifacts themselves different but > the me

RE: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Thiessen, Todd (Todd)
> Yeah, I'll just keep it pretty simple like this, however it will be > even simpler because our build process will append the SVN tag name, > so we won't ever need to manually add like "01", "02", "03", etc. What are you using as the SVN tag name? The release plugin will create the tag for you f

RE: Can't specify distributionManagement in settings.xml

2010-10-07 Thread Thiessen, Todd (Todd)
rs List > Subject: Re: Can't specify distributionManagement in settings.xml > > > Well, at this point all I'm mainly after is the ability to copy an > > artifact from snapshot to release repo (removing -SNAPSHOT from the > > version) without having to go through th

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread mremersoncod
> Well, at this point all I'm mainly after is the ability to copy anartifact > from snapshot > to release repo (removing -SNAPSHOT from theversion) without having to go > through > the rebuild process. > If thatfunctionality does not exist as a free plugin or anything at > themoment, > who kn

Re: Can't specify distributionManagement in settings.xml

2010-10-07 Thread mremersoncod
aven Users List Sent: Wed, Oct 6, 2010 11:31 pm Subject: Re: Can't specify distributionManagement in settings.xml On Wed, Oct 6, 2010 at 1:57 PM, Anders Hammar wrote: > Philip, have a look at the staging feature of Nexus Pro. That's what you > want. I believe I already said thi

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Wayne Fay
> Well, at this point all I'm mainly after is the ability to copy an > artifact from snapshot to release repo (removing -SNAPSHOT from the > version) without having to go through the rebuild process.  If that As Vincent already stated, this is harder than it initially appears for most builds as th

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 4:19 PM, Thiessen, Todd (Todd) wrote: > What you are asking for definitely is not recommended. The release plugin > already has a "staging" feature but it is not the recommended way to do. Good to know, thanks. > Putting a "staging" build into the release repo is not reco

RE: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Thiessen, Todd (Todd)
: Wednesday, October 06, 2010 5:51 PM > To: Maven Users List > Subject: Re: Can't specify distributionManagement in settings.xml > > On Wed, Oct 6, 2010 at 2:04 PM, Ron Wheeler > wrote: > >  On 06/10/2010 3:42 PM, Phillip Hellewell wrote: > >> > >> If I deplo

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Vincent Latombe
In Maven/Nexus terminology, you deploy a release candidate to a staging area (#2) in your example. This artifact (or group of artifacts) is then made available to a group of people for validation (it can be automated or manual). Once it's validated it is promoted and copied to the release repositor

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 3:50 PM, Phillip Hellewell wrote: > > No, there are basically there types of builds I want to do.  Most > people don't have a stage between snapshot and release, so I'm > guessing that is why I am not getting any clear direction about the > best way to do this. > 1. A snapsh

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 2:04 PM, Ron Wheeler wrote: >  On 06/10/2010 3:42 PM, Phillip Hellewell wrote: >> >> If I deploy non-snapshot builds to the snapshot repository first > > How. I do not think that this can be done. I asked earlier if non-snapshot builds can be deployed to a snapshot reposito

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 3:34 PM, Thiessen, Todd (Todd) wrote: > Err mean to say "Write a plugin for Nexus". Bah sorry. Hate it when I make > typos like that. Reply too fast. ;-) The file structure of a repository seems to make it look like copying artifacts is almost trivial. Phillip --

RE: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Thiessen, Todd (Todd)
ubject: RE: Can't specify distributionManagement in settings.xml > > Why a plugin for the open source version of nexus. I'd bet it isn't quite > as straight forward as you might think ;-) > > > -Original Message- > > From: Phillip Hellewell [mailto

RE: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Thiessen, Todd (Todd)
ubject: Re: Can't specify distributionManagement in settings.xml > > On Wed, Oct 6, 2010 at 1:57 PM, Anders Hammar wrote: > > Philip, have a look at the staging feature of Nexus Pro. That's what > you > > want. I believe I already said this... > > Thanks.

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 2:00 PM, Thiessen, Todd (Todd) wrote: > Phil. I think you just need to try it and read the Nexus docs.  Sounds like > you are really making things complicated for yourself. Yeah, you are probably right. Phillip

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 1:57 PM, Anders Hammar wrote: > Philip, have a look at the staging feature of Nexus Pro. That's what you > want. I believe I already said this... Thanks. I wonder if there are any free alternatives that provide this functionality. You'd think you wouldn't have to pay for

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Ron Wheeler
On 06/10/2010 3:42 PM, Phillip Hellewell wrote: On Wed, Oct 6, 2010 at 1:37 PM, Ron Wheeler wrote: No worries. I've already got Nexus installed (just dropped the WAR into Tomcat; almost too easy). I just haven't played with it enough yet to make sure it can do everything I need it to (like

RE: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Thiessen, Todd (Todd)
gt; Subject: Re: Can't specify distributionManagement in settings.xml > > On Wed, Oct 6, 2010 at 1:37 PM, Ron Wheeler > wrote: > >> > >> No worries.  I've already got Nexus installed (just dropped the WAR > >> into Tomcat; almost too easy).  I just

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Anders Hammar
Philip, have a look at the staging feature of Nexus Pro. That's what you want. I believe I already said this... /Anders On Wed, Oct 6, 2010 at 21:42, Phillip Hellewell wrote: > On Wed, Oct 6, 2010 at 1:37 PM, Ron Wheeler > wrote: > >> > >> No worries. I've already got Nexus installed (just dr

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 1:37 PM, Ron Wheeler wrote: >> >> No worries.  I've already got Nexus installed (just dropped the WAR >> into Tomcat; almost too easy).  I just haven't played with it enough >> yet to make sure it can do everything I need it to (like copy >> artifacts between repositories).

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Ron Wheeler
On 06/10/2010 3:14 PM, Phillip Hellewell wrote: On Wed, Oct 6, 2010 at 12:42 PM, Siegmann Daniel, NY wrote: Phillip, Nexus supports deployment via HTTP. Probably other repo managers do too. Yeah, I just figured that out. But I'm still getting a 401 error because I haven't set my credential

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 1:17 PM, Ron Wheeler wrote: >  On 06/10/2010 2:42 PM, Siegmann Daniel, NY wrote: >> >> Using Maven in a corporate setting without having a repository manager >> is like working in a team without a version control system. You could do >> it but you're going to suffer. > > +1

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Ron Wheeler
ject: Re: Can't specify distributionManagement in settings.xml On Wed, Oct 6, 2010 at 9:28 AM, Anders Hammar wrote: Please, please, please have a look at a repo manager. It has these type of features. That's why it's called a manager. I'm sure a repo manager can do fancy th

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 12:42 PM, Siegmann Daniel, NY wrote: > Phillip, > > Nexus supports deployment via HTTP. Probably other repo managers do too. Yeah, I just figured that out. But I'm still getting a 401 error because I haven't set my credentials yet. I haven't figured out yet if it is Tomc

RE: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Siegmann Daniel, NY
ssage- From: Phillip Hellewell [mailto:ssh...@gmail.com] Sent: Wednesday, October 06, 2010 11:55 AM To: Maven Users List Subject: Re: Can't specify distributionManagement in settings.xml On Wed, Oct 6, 2010 at 9:28 AM, Anders Hammar wrote: > Please, please, please have a look at a repo ma

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Wed, Oct 6, 2010 at 9:28 AM, Anders Hammar wrote: > Please, please, please have a look at a repo manager. It has these type of > features. That's why it's called a manager. I'm sure a repo manager can do fancy things with multiple repositories for downloading, and I am already working on getti

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Wendy Smoak
On Wed, Oct 6, 2010 at 11:19 AM, Phillip Hellewell wrote: > Speaking of snapshots, is there an easy way to delete all snapshots > older than a given date to free up disk space?  Since snapshots are > temporary, yet plentiful, deleting old ones seems like it would be a > common need. Some of the r

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Anders Hammar
Please, please, please have a look at a repo manager. It has these type of features. That's why it's called a manager. /Anders (mobile) Den 2010 10 6 17:19 skrev "Phillip Hellewell" : > On Mon, Oct 4, 2010 at 11:26 PM, Ron Wheeler > wrote: >> >> Maven will do this automatically for you. Just set

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Tue, Oct 5, 2010 at 12:29 AM, Anders Hammar wrote: > Have a look at this parent: > http://repo2.maven.org/maven2/org/sonatype/forge/forge-parent/6/forge-parent-6.pom > > There you see that properties are used for both the repo name and url. This > makes it possible to override these values from

Re: Can't specify distributionManagement in settings.xml

2010-10-06 Thread Phillip Hellewell
On Mon, Oct 4, 2010 at 11:26 PM, Ron Wheeler wrote: > > Maven will do this automatically for you. Just set the version to > X.Y-SNAPSHOT and Maven will deploy it to your SNAPSHOT repository as defined > in your parent POM. Thanks Ron. I was thinking about snapshots, but wasn't quite sure if I wa

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Anders Hammar
Have a look at this parent: http://repo2.maven.org/maven2/org/sonatype/forge/forge-parent/6/forge-parent-6.pom There you see that properties are used for both the repo name and url. This makes it possible to override these values from command line. This is normally not anything you do, but it's ve

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Ron Wheeler
On 05/10/2010 12:45 AM, Phillip Hellewell wrote: On Mon, Oct 4, 2010 at 2:58 PM, Ron Wheeler wrote: On 04/10/2010 4:28 PM, Phillip Hellewell wrote: Yeah, part of the problem is I still haven't got this working with a "parent" pom, and I don't even know exactly what is meant by a parent pom

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Phillip Hellewell
On Mon, Oct 4, 2010 at 2:58 PM, Ron Wheeler wrote: >  On 04/10/2010 4:28 PM, Phillip Hellewell wrote: >> >> Yeah, part of the problem is I still haven't got this working with a >> "parent" pom, and I don't even know exactly what is meant by a parent >> pom (I assume it was using the  tag, but I'm

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Ron Wheeler
On 04/10/2010 4:28 PM, Phillip Hellewell wrote: On Mon, Oct 4, 2010 at 2:24 PM, Haszlakiewicz, Eric wrote: -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On The pattern I was talking about was all the issues Philip runs into as he was trying t

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Anders Hammar
One of the absolutely best way to understand some of the patterns/best practice is to look at examples. For instance, look at how things (like parent poms) are structured at Apache, Codehaus or even Sonatype. One example: http://repo2.maven.org/maven2/org/codehaus/codehaus-parent/3/codehaus-parent

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Wendy Smoak
On Mon, Oct 4, 2010 at 4:28 PM, Phillip Hellewell wrote: > I am getting a better picture now of how many feel it is good to have > the default deploy location in a pom somewhere, but I still haven't > been convinced that it is absolutely necessity, and I'm not sure it is > worth dealing with the h

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Ron Wheeler
On 04/10/2010 3:46 PM, Phillip Hellewell wrote: On Mon, Oct 4, 2010 at 1:36 PM, Thiessen, Todd (Todd) wrote: I don't think it is arbitary. Where you deploy your artifacts TO, I think should be fixed. I think that is the intent. It is a one off thing that is applicable to the build at hand a

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Phillip Hellewell
On Mon, Oct 4, 2010 at 2:24 PM, Haszlakiewicz, Eric wrote: >>-Original Message- >>From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On >> >>The pattern I was talking about was all the issues Philip runs into as > he >>was trying to not follow the Maven way. > > So, again,

RE: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Haszlakiewicz, Eric
>-Original Message- >From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > >The pattern I was talking about was all the issues Philip runs into as he >was trying to not follow the Maven way. So, again, I ask: what IS the pattern? What IS the "Maven way" in this situation

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Phillip Hellewell
2010/10/4 Arnaud Héritier : > mvn deploy -DaltDeploymentRpository=... > But some times ago there was a bug which disallow to use it without a > distribMgt part in the pom :( Thanks. Unfortunately, it appears that Maven 2.2.1 still has this bug :( Phillip ---

RE: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Thiessen, Todd (Todd)
ers List > Subject: Re: Can't specify distributionManagement in settings.xml > > It is interesting to have it variable in several cases : > - You want to validate your builds on several environments. I'm just > moving my infrastructure and I'm very happy to have that because I'

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Arnaud Héritier
mvn deploy -DaltDeploymentRpository=... But some times ago there was a bug which disallow to use it without a distribMgt part in the pom :( Arnaud Héritier Software Factory Manager http://www.exoplatform.com Phone : +33 (0)6 89 74 64 24 Skype : aheritier Twitter : @aheritier Blog : http://aher

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Anders Hammar
The pattern I was talking about was all the issues Philip runs into as he was trying to not follow the Maven way. /Anders On Mon, Oct 4, 2010 at 21:07, Haszlakiewicz, Eric wrote: > >-Original Message- > >From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > > > >Are you

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Arnaud Héritier
ber 04, 2010 3:40 PM >> To: Maven Users List >> Subject: Re: Can't specify distributionManagement in settings.xml >> >> On Mon, Oct 4, 2010 at 1:36 PM, Phillip Hellewell >> wrote: >>> 2010/10/4 Arnaud Héritier : >>>> Wrong :-) >>>> Let m

RE: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Haszlakiewicz, Eric
>-Original Message- >From: Thiessen, Todd (Todd) [mailto:tthies...@avaya.com] > >I don't think it is arbitary. Where you deploy your artifacts TO, I think >should be fixed. I think that is the intent. It is a one off thing that is >applicable to the build at hand and isn't something you wil

RE: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Thiessen, Todd (Todd)
I think where you deploy to isn't in the settings.xml file because there there is no need for it. Where you get artifacts from does have a specific need. It sounds like a nice to have feature, but I don't think there is a dire need for it from the community. > > But anyway, that is neither he

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Phillip Hellewell
On Mon, Oct 4, 2010 at 1:43 PM, Thiessen, Todd (Todd) wrote: > Hehe. It always gets back to that. > > Not sure why your hung up over it ;-). Well, I'm going to do some more tests now to see if I can get this working with a parent pom. If I run into an error that I can't figure out you'll probabl

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Arnaud Héritier
yes, which is a best practice :-) It can work like that too : - In your pom you put the distributionMgt with the property - in your settings you create a profile with this property but instead of using an activation activateByDefault you define it in activatedProfiles list. It will work but I thi

Re: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Phillip Hellewell
On Mon, Oct 4, 2010 at 1:36 PM, Thiessen, Todd (Todd) wrote: > I don't think it is arbitary. Where you deploy your artifacts TO, I think > should be fixed. I think that is the intent. It is a one off thing that is > applicable to the build at hand and isn't something you will want to try and >

RE: Can't specify distributionManagement in settings.xml

2010-10-04 Thread Thiessen, Todd (Todd)
that found of making it a variable though. That just sounds like extra work for very little gain. > -Original Message- > From: Phillip Hellewell [mailto:ssh...@gmail.com] > Sent: Monday, October 04, 2010 3:40 PM > To: Maven Users List > Subject: Re: Can't specify distr

  1   2   >