<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Pete,<div><br></div><div>You mentioned this week that you no longer think the maven plugin was a good idea. What's your thinking now?</div><div><br><div><div>On 27 Aug 2014, at 12:52, Sande Gilda &lt;<a href="mailto:sgilda@redhat.com">sgilda@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Pete suggested this approach last fall. I will forward that email.<br><br>Rafael, separately I am also forwarding the email discussed the cons of <br>adding the &lt;repository/&gt; to the POM files. :-)<br><br><br>On 08/27/2014 04:32 AM, Darran Lofthouse wrote:<br><blockquote type="cite">Wonder if there is any maven plug in that can output a nice message if <br>a condition is not met.<br><br>Regards,<br>Darran Lofthouse.<br><br><br>On 26/08/14 22:27, Rafael Benevides wrote:<br><blockquote type="cite"><br>Em 8/26/14, 17:56, Sande Gilda escreveu:<br><blockquote type="cite">So they, like me, don't RTFM? :-)<br></blockquote>ahahahah<br><blockquote type="cite"><br>I didn't realize it was an issue. Who is fielding the complaints for<br>this? I haven't been aware of any. And is it primarily people who use<br>the Maven command line or JDBS?<br></blockquote>I believe that it comes mostly by people using CLI since JBDS helps <br>on this.<br><br>This $subject was reborn by a request from Arun Gupta. It seems that<br>someone tried to use our Quickstarts and had issues because e forgot to<br>RTFM :)<br><blockquote type="cite"><br>Wouldn't it be easier to try to make the Maven setting configuration<br>requirements more prominent? I really don't like the idea of adding<br>the Maven repository to the POM files and then telling them it's not a<br>good practice. If they see something, they will repeat it because, as<br>you said, they don't read the instructions. The whole purpose of the<br>quickstarts is to show how to code using best practices.<br></blockquote>It's the kind of relax thing that I don't think we will regret because<br>it has the advantages that I mentioned. Besides the "not being<br>recommended" I don't see any potential issues for us.<br><br>I remember that you sent me &nbsp;(more than a year ago) some URLs that<br>mention the cons on having &lt;repository /&gt; on pom.xml file. Do you mind<br>sharing it again ?<br><br>Thanks<br><blockquote type="cite"><br><br>On 08/26/2014 04:44 PM, Rafael Benevides wrote:<br><blockquote type="cite">The problem that we're trying to solve is that users don't read the<br>instructions :)<br><br>So, they don't know that they have to configure the settings.xml until<br>they face a build problem.<br><br>Em 8/26/14, 14:33, Sande Gilda escreveu:<br><blockquote type="cite">Sorry, I'm just back from PTO and catching up on this thread.<br><br>I have run the quickstarts using both command line and JDBS without<br>running into any problems, so I'm not really clear what problem we <br>are<br>trying to solve. Are there issues with asking the user to <br>configure the<br>settings.xml file with the content we provide?<br><br>I'm adding Paul and Nikoleta to the thread to see how this might <br>impact<br>the quickstart testing and release process.<br><br>On 08/26/2014 05:27 AM, Pete Muir wrote:<br><blockquote type="cite">On 26 Aug 2014, at 10:26, Paul Robinson &lt;<a href="mailto:paul.robinson@redhat.com">paul.robinson@redhat.com</a>&gt;<br>wrote:<br><br><blockquote type="cite">On 26 Aug 2014, at 10:18, Pete Muir &lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br><br><blockquote type="cite">On 26 Aug 2014, at 09:27, Paul Robinson<br>&lt;<a href="mailto:paul.robinson@redhat.com">paul.robinson@redhat.com</a>&gt; wrote:<br><br><blockquote type="cite">Rafael,<br><br>It'd be worth reading the "[Wolf] Revisting embedding<br>repositories in POMs for developer materials" thread on<br><a href="mailto:enterprise-maven-list@redhat.com">enterprise-maven-list@redhat.com</a>. There was quite a bit of<br>discussion about doing this. The general opinion was that it<br>would be a huge win for usability, but there are quite a few<br>subtle problems with the approach. For example, productization<br>are currently stripping off these repository definitions from<br>quickstarts, so any solution is going to need to work for them.<br></blockquote>We don’t currently put any repo definitions in quickstarts...<br></blockquote>Sorry, I should have been clearer. Productization would remove<br>them if they exist. Quote from Julian Coleman:<br><br> &nbsp;&nbsp;&nbsp;&nbsp;Right. &nbsp;Note, also, that the vman tool will strip out the<br>&lt;repositories&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;from the POM files that it processes. &nbsp;This means that all POM<br>files for<br> &nbsp;&nbsp;&nbsp;&nbsp;the IP builds (FSW/DV/BPMS) will not contain repositories.<br>So, adding<br> &nbsp;&nbsp;&nbsp;&nbsp;this information to settings.xml seems the only sensible <br>option.<br></blockquote>Not all platforms use vman afaik.<br><br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Pete came up with an alternative approach that helps to educate<br>the developer about the configuration, in a better way then we<br>have ATM (expecting them to read the docs). This approach was to<br>include a plugin (that lives in maven central). This plugin<br>would detect missing dependencies that would be available had<br>the correct repository been defined in the settings.xml. There<br>might also be an option to fix the configuration automatically?<br></blockquote>I’m not so sure about this any more.<br><br><blockquote type="cite">Paul.<br><br>On 25 Aug 2014, at 13:50, Rafael Benevides<br>&lt;<a href="mailto:benevides@redhat.com">benevides@redhat.com</a>&gt; wrote:<br><br><blockquote type="cite">Hi all,<br><br>On a look for a continuous improvement on developer user<br>experience and also because we have been constantly asked to<br>support issues related to the setup of<br><a href="https://access.redhat.com/maven-repository">https://access.redhat.com/maven-repository</a> to make the<br>quickstarts work, we want to include the &lt;repository /&gt;<br>definition on quickstarts pom.xml<br><br>Actually the Archetypes already have the &lt;repository /&gt; on the<br>pom.xml file of the generated project.<br><br>The idea here is to have the &lt;repository /&gt; with the<br><a href="https://maven.repository.redhat.com/techpreview/all/">https://maven.repository.redhat.com/techpreview/all/</a> defined on<br>every quickstarts's pom.xml file with a comment on top of it<br>saying that this approach is not recommended but we included it<br>so users can test the quickstarts without further setup and<br>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<br>repo since it will come from the Quickstarts<br>- We can add a pre-defined comment above the pom.xml repository<br>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<br><a href="https://github.com/jboss-developer/jboss-developer-shared-resources">https://github.com/jboss-developer/jboss-developer-shared-resources</a> <br><br><br>- We need to update the contributing guides<br>- We need to update QSTools to do this update on all<br>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>-- <br><br>Rafael Benevides | Senior Software Engineer<br>JBoss Developer<br>M: +55-61-9269-6576<br><br>&lt;{a8aabf3a-4467-4e37-9bc5-48b1d7b494a2}_LATAM_RedHat.jpg&gt;<br><br>Better technology. Faster innovation. Powered by community<br>collaboration.<br>See how it works at <a href="http://www.redhat.com">www.redhat.com</a><br><br>&lt;linkedin.png&gt; &lt;youtube.png&gt;<br>_______________________________________________<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<br></blockquote>Paul.<br><br>-- <br>Paul Robinson<br>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.<br>03798903<br>Directors:Michael Cunningham (US), Charles Peters (US), Matt<br>Parson (US), Paul Hickey (Ireland)<br><br>_______________________________________________<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<br></blockquote></blockquote>Paul.<br><br>-- <br>Paul Robinson<br>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.<br>03798903<br>Directors:Michael Cunningham (US), Charles Peters (US), Matt<br>Parson (US), Paul Hickey (Ireland)<br></blockquote>_______________________________________________<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<br></blockquote>_______________________________________________<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<br></blockquote>_______________________________________________<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<br></blockquote><br></blockquote><br>_______________________________________________<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<br><br></blockquote><br></blockquote><br>_______________________________________________<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<br></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;">--&nbsp;<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),&nbsp;Paul Hickey (Ireland)</div>
</div>
<br></div></body></html>