Re: Possible to alter project.distributionManagement.repository.url at build time?

2016-07-05 Thread Dan Tran
Hi Mirko,

I have something similar as well. I was hoping can do it as part of
release:repare release:perform to instrument dynamic stagingId for our
Artifactory deployment

Thanks

-D

On Tue, Jul 5, 2016 at 2:17 PM, Mirko Friedenhagen 
wrote:

> Hello Dan,
> we use a property in distributionManagement which has is set in
> settings.xml (may be overridden on the CLI), something like:
> ${distribution.snapshot.url}
> Regards Mirko
> --
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
> https://bitbucket.org/mfriedenhagen/
>
>
> On Tue, Jul 5, 2016 at 3:06 AM, Dan Tran  wrote:
> > quick prototype shows I can make changes to maven project, but deploy
> > plugin does not see my changes.
> >
> > so is not possible?
> >
> > Thanks
> >
> > -Dan
> >
> > On Mon, Jul 4, 2016 at 5:14 PM, Dan Tran  wrote:
> >
> >> Hi I have a need to push a key/value pair into release URL
> >>
> >> is maven project immutable once constructed?
> >>
> >> Thanks
> >>
> >> -Dan
> >>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Possible to alter project.distributionManagement.repository.url at build time?

2016-07-05 Thread Mirko Friedenhagen
Hello Dan,
we use a property in distributionManagement which has is set in
settings.xml (may be overridden on the CLI), something like:
${distribution.snapshot.url}
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Tue, Jul 5, 2016 at 3:06 AM, Dan Tran  wrote:
> quick prototype shows I can make changes to maven project, but deploy
> plugin does not see my changes.
>
> so is not possible?
>
> Thanks
>
> -Dan
>
> On Mon, Jul 4, 2016 at 5:14 PM, Dan Tran  wrote:
>
>> Hi I have a need to push a key/value pair into release URL
>>
>> is maven project immutable once constructed?
>>
>> Thanks
>>
>> -Dan
>>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Is there any way to have archetype:generate fill in "boilerplate" fields?

2016-07-05 Thread John Patrick
What about creating a company/personal pom, publish that to your local repo
or company repo, then simply have that as the parent of all the projects
you work on. You can version it and update it as things develop.

It's what I do, if you have a standard setup you can even use parameters
for scm urls i.e. HOST/${project.groupdId}-${project.artifactId}.

John


On 5 July 2016 at 19:30, Mark H. Wood  wrote:

> It's a small thing, but it would be handy if I could stash some
> settings somewhere that would cause the archetype generator to fill in
> my  and  and the like.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
>


Is there any way to have archetype:generate fill in "boilerplate" fields?

2016-07-05 Thread Mark H. Wood
It's a small thing, but it would be handy if I could stash some
settings somewhere that would cause the archetype generator to fill in
my  and  and the like.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: PGP signature