[jbosstools-dev] Make the "How To Build" page a favorite in your browser

Nick Boldt nboldt at redhat.com
Thu Apr 12 01:46:09 EDT 2012


I prefer profiles in parent pom to configuration steps & settings in a 
settings.xml because...

... I don't use a settings.xml file.

... I'd rather look up how to build something by scanning its parent pom 
for profiles to use than magically determine what to put in my 
settings.xml file. How do I know to resolve against JBoss Nexus?

... using such a file adds an extra level of job complication when 
running in Jenkins. Using profiles it's easy to run the same config in 
BOTH Jenkins and offline; using settings.xml files pretty much 
guarantees a different bootstrapping step for each scenario (ie., either 
instructions to users on how to edit settings.xml or scripting such a 
process for use in Jenkins).

N

On 04/11/2012 12:33 PM, Rob Cernich wrote:
> Perhaps it might be better to use profiles then, instead of settings.xml.  Default profile defines the public repo's and can be deactivated for product builds.  WDYT?
>
> ----- Original Message -----
>>>>
>>>> Since the only usecase for this is to get our current parent
>>>> snapshots and every other jboss project already require changes to
>>>> settings.xml i'm not too worried - especially if we can just
>>>> provide
>>>> a settings.xml to do it.
>>>
>>> Sounds like the right solution is to move the repository settings
>>> down into the individual project parent poms (SwitchYard uses this
>>> approach).  That said, if they're all including the same repo, it
>>> makes me wonder if we'd just be jumping through hoops for no real
>>> benefit.
>>
>> Any project that needs to go into a product and not infect your users
>> pom's will need to remove this reference.
>>
>> It is simply wrong to do. And yes it sucks but the consequences are
>> rather annoying for those users wanting to do reproducible builds.
>>
>> /max
>>
>>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev

-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com


More information about the jbosstools-dev mailing list