<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Rafael,<div><br></div><div>It'd be worth reading the "[Wolf] Revisting embedding repositories in POMs for developer materials" thread on <a href="mailto:enterprise-maven-list@redhat.com">enterprise-maven-list@redhat.com</a>. There was quite a bit of discussion about doing this. The general opinion was that it would be a huge win for usability, but there are quite a few subtle problems with the approach. For example, productization are currently stripping off these repository definitions from quickstarts, so any solution is going to need to work for them.</div><div><br></div><div>Pete came up with an alternative approach that helps to educate the developer about the configuration, in a better way then we have ATM (expecting them to read the docs). This approach was to include a plugin (that lives in maven central). This plugin would detect missing dependencies that would be available had the correct repository been defined in the settings.xml. There might also be an option to fix the configuration automatically? </div><div><br></div><div>Paul.</div><div><br><div><div>On 25 Aug 2014, at 13:50, Rafael Benevides <<a href="mailto:benevides@redhat.com">benevides@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
On a look for a continuous improvement on developer user experience
and also because we have been constantly asked to support issues
related to the setup of <a class="moz-txt-link-freetext" href="https://access.redhat.com/maven-repository">https://access.redhat.com/maven-repository</a>
to make the quickstarts work, we want to include the <repository
/> definition on quickstarts pom.xml<br>
<br>
Actually the Archetypes already have the <repository /> on the
pom.xml file of the generated project.<br>
<br>
The idea here is to have the <repository /> with the
<meta charset="utf-8">
<a class="moz-txt-link-freetext" href="https://maven.repository.redhat.com/techpreview/all/">https://maven.repository.redhat.com/techpreview/all/</a> defined on
every quickstarts's pom.xml file with a comment on top of it saying
that this approach is not recommended but we included it so users
can test the quickstarts without further setup and that it's
recommended to use settings.xml.<br>
<br>
It will bring the following advantages:
<br>
- It will make ease to contributors and users
<br>
- Simplify the build.
<br>
- Simplify the Archetype synch process / No need to inject the repo
since it will come from the Quickstarts
<br>
- We can add a pre-defined comment above the pom.xml repository
definition to explain that we don't recommend that.
<br>
- We can also add this "comment" to QSTools to check/fix it.<br>
<br>
As a roadmap for it:<br>
- We need to document that at the <a class="moz-txt-link-freetext" href="https://github.com/jboss-developer/jboss-developer-shared-resources">https://github.com/jboss-developer/jboss-developer-shared-resources</a>
<br>
- We need to update the contributing guides
<br>
- We need to update QSTools to do this update on all quickstarts for
us.
<br>
<br>
Max, Is there any restrictions on JBDS side ?
<br>
<br>
Anyone else have any objections/comments on this $subject ?<br>
<br>
Thanks<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div style="font-family: Arial; font-size: 10pt;"><br>
<b>Rafael Benevides | Senior Software Engineer</b><br>
JBoss Developer<br>
M: +55-61-9269-6576<br>
<br>
<span><{a8aabf3a-4467-4e37-9bc5-48b1d7b494a2}_LATAM_RedHat.jpg></span><br>
<br>
Better technology. Faster innovation. Powered by community
collaboration. <br>
See how it works at <a href="http://www.redhat.com/">www.redhat.com</a>
<br>
<br>
<a href="http://www.linkedin.com/company/3258288"><span><linkedin.png></span></a>
<a href="https://www.youtube.com/redhatlatam"><span><youtube.png></span></a>
</div>
</div>
</div>
_______________________________________________<br>jbossdeveloper mailing list<br><a href="mailto:jbossdeveloper@lists.jboss.org">jbossdeveloper@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jbossdeveloper</blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br class="Apple-interchange-newline">Paul.</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">-- <br>Paul Robinson</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">JBoss Developer Team Lead (<a href="http://www.jboss.org">www.jboss.org</a>)<br><br>JBoss, a Division of Red Hat<br>Registered in England and Wales under Company Registration No. 03798903<br>Directors:Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Paul Hickey (Ireland)</div>
</div>
<br></div></body></html>