[jbossdeveloper] <repository /> definition in pom.xml for Quickstarts and Demos
Rafael Benevides
benevides at redhat.com
Fri Oct 31 12:53:56 EDT 2014
Thanks Pete,
I thought that part of documentation was applied to Quickstarts only.
Sande,
Sorry. As Pete said, in general we still no recommending that.
On 10/31/14 14:51, Pete Muir wrote:
> No, it’s still not the recommend approach for real projects.
>
>> On 31 Oct 2014, at 16:49, Sande Gilda <sgilda at redhat.com
>> <mailto:sgilda at redhat.com>> wrote:
>>
>> Which reminds me. Should I remove the 3rd paragraph (see below) from
>> this topic [1] in the JBoss EAP 6.4 Development Guide?
>>
>> This method of configuration is generally not recommended. If you
>> decide to configure repositories in your project POM file, plan
>> carefully and be aware that it can slow down your build and you
>> may even end up with artifacts that are not from the expected
>> repository.
>>
>> [1]
>> https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Development_Guide/index.html#Configure_the_JBoss_Enterprise_Application_Platform_Maven_Repository_Using_the_Project_POM
>>
>>
>> On 10/31/2014 12:39 PM, Pete Muir wrote:
>>> We’re switching back :-/
>>>
>>>> On 31 Oct 2014, at 15:48, Keith Babo <kbabo at redhat.com
>>>> <mailto:kbabo at redhat.com>> wrote:
>>>>
>>>>
>>>> Hey - this caught me a bit by surprise. I thought that the JDF
>>>> approach was to externalize repository definitions from the pom.xml
>>>> and reference them via an external settings.xml. I ask because we
>>>> have traditionally included repo definitions in SY quickstarts.
>>>>
>>>> thanks,
>>>> keith
>>>>
>>>> On Oct 31, 2014, at 9:56 AM, Rafael Benevides <benevides at redhat.com
>>>> <mailto:benevides at redhat.com>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I was thinking about the implementation of the repository
>>>>> definition in pom.xml and I want to share my thoughts:
>>>>>
>>>>> - Create a QSTools CHECKER to mark the lack of <repository /> as a
>>>>> guideline violation if MavenCentralChecker is disabled.
>>>>> - The violation message will instruct to use the new QSTools
>>>>> GOAL that will be created
>>>>>
>>>>> - Create another QSTools GOAL to setup the repositories.
>>>>> - There will be a list of approved repositories and its IDs
>>>>> (redhat techpreview, earlyacess, jboss developer temporary, etc)
>>>>> - QSTools will remove all previous repositories from pom.xml and
>>>>> prompt which repositories should be added.
>>>>> - This will help Quickstarts and demos to be easily buildable
>>>>> from development and production branches and will also allow this
>>>>> list to be bulk updated to remove any previous development
>>>>> repository definition.
>>>>>
>>>>> Please,
>>>>>
>>>>> If you have any feedback on this, feel free to reply.
>>>>>
>>>>> --
>>>>>
>>>>> *Rafael Benevides | Senior Software Engineer*
>>>>> JBoss Developer
>>>>> M: +55-61-9269-6576
>>>>>
>>>>> <{a8aabf3a-4467-4e37-9bc5-48b1d7b494a2}_LATAM_RedHat.jpg>
>>>>>
>>>>> Better technology. Faster innovation. Powered by community
>>>>> collaboration.
>>>>> See how it works at www.redhat.com <http://www.redhat.com/>
>>>>>
>>>>> <linkedin.png> <http://www.linkedin.com/company/3258288>
>>>>> <youtube.png> <https://www.youtube.com/redhatlatam>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbossdeveloper/attachments/20141031/33ef272b/attachment-0001.html
More information about the jbossdeveloper
mailing list