<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
After some work improving QSTools, it now has the feature to
synchronize Archetypes with a specified project.<br>
<br>
Note: I took a look on fuse tooling but it doesn't fit our needs and
lacks of customization.<br>
<br>
For QSTools, the only thing needed it to add qstools plugin
declaration to archetype pom.xml as the following example:<br>
<br>
(...)<br>
<code></code><code><plugin></code><code></code><br>
<code></code><code>
<groupId>org.jboss.maven.plugins</groupId></code><code></code><br>
<code></code><code>
<artifactId>maven-qstools-plugin</artifactId></code><code></code><br>
<code></code><code>
<version>1.0.0.CR3</version></code><code></code><br>
<code></code><code> <configuration></code><code></code><br>
<code></code><code>
<projectGitRepo><a class="moz-txt-link-freetext" href="git://github.com/jboss-jdf/jboss-as-quickstart.git">git://github.com/jboss-jdf/jboss-as-quickstart.git</a></projectGitRepo></code><code></code><br>
<code></code><code>
<projectPath>kitchensink-ear</projectPath></code><code></code><br>
<code></code><code>
<rootPackage>org.jboss.as.quickstarts.kitchensink_ear</rootPackage></code><code></code><br>
<code></code><code>
<multiModuleProject>true</multiModuleProject></code><code></code><br>
<code></code><code>
<branch>jdf-2.1.1.Final</branch></code><code></code><br>
<code></code><code>
<extraReplaceValues></code><code></code><br>
<code></code><code>
<extraReplaceValue>jboss-as-kitchensink-ear</extraReplaceValue></code><code></code><br>
<code></code><code>
<extraReplaceValue>kitchensink-ear-quickstart</extraReplaceValue></code><code></code><br>
<code></code><code>
<extraReplaceValue>kitchensink-quickstart</extraReplaceValue></code><code></code><br>
<code></code><code>
<extraReplaceValue>KitchensinkEarQuickstart</extraReplaceValue></code><code></code><br>
<code></code><code>
<extraReplaceValue>JBoss AS Quickstarts: Kitchensink
EAR</extraReplaceValue></code><code></code><br>
<code></code><code>
</extraReplaceValues></code><code></code><br>
<code></code><code> </configuration></code><code></code><br>
<code></code><code> <executions></code><code></code><br>
<code></code><code> <execution></code><code></code><br>
<code></code><code>
<phase>generate-sources</phase></code><code></code><br>
<code></code><code> <goals></code><code></code><br>
<code></code><code>
<goal>archetypeSync</goal></code><code></code><br>
<code></code><code> </goals></code><code></code><br>
<code></code><code> </execution></code><code></code><br>
<code></code><code> </executions></code><code></code><br>
<code></code><code> </plugin></code><br>
(...)<br>
<br>
The Archetypes results is at the following PR:
<a class="moz-txt-link-freetext" href="https://github.com/jboss-jdf/jboss-as-archetype/pull/15">https://github.com/jboss-jdf/jboss-as-archetype/pull/15</a><br>
<br>
I made tests on the generated Archetype and I liked the result, but
I would like to ask for help on testing it too.<br>
<br>
Feel free to post comments on this feature/result.<br>
<br>
Thank you.<br>
<div class="moz-forward-container"><br>
<br>
-------- Mensagem original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Assunto:
</th>
<td>[JBoss JIRA] (JDF-253) jboss-html5-mobile-archetype does
align jQuery version with WFK</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Data: </th>
<td>Thu, 11 Apr 2013 17:16:56 -0400 (EDT)</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">De: </th>
<td>Rafael Benevides (JIRA)
<a class="moz-txt-link-rfc2396E" href="mailto:jira-events@lists.jboss.org"><jira-events@lists.jboss.org></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Para: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:benevides@redhat.com">benevides@redhat.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<style>
/* Changing the layout to use less space for mobiles */
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
#email-body { min-width: 30em !important; }
#email-page { padding: 8px !important; }
#email-banner { padding: 8px 8px 0 8px !important; }
#email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important; }
#email-fields { padding: 0 8px 8px 8px !important; }
#email-gutter { width: 0 !important; }
}
</style>
<div id="email-body">
<table id="email-wrap"
style="background-color:#f0f0f0;color:#000000;width:100%;"
align="center" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td id="email-page" style="padding:16px !important;">
<table style="background-color:#ffffff;border:1px solid
#bbbbbb;color:#000000;width:100%;" align="center"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td
style="background-color:#3b4d64;color:#ffffff;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;line-height:1;"
bgcolor="#3b4d64"><img moz-do-not-send="true"
src="https://issues.jboss.org/s/en_USdrryc7-418945332/852/58/_/jira-logo-scaled.png"
alt="" style="vertical-align:top;"></td>
</tr>
<tr valign="top">
<td id="email-banner" style="padding:32px 32px 0
32px;">
<table style="width:100%;" align="left"
border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr valign="top">
<td
style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;padding:0;">
<img moz-do-not-send="true"
id="email-avatar"
src="https://community.jboss.org/people/rafabene/avatar/16.png"
alt="" style="padding:0;margin: 0 16px
16px 0;" align="left" border="0"
height="48" width="48">
<div id="email-action" style="padding: 0
0 8px
0;font-size:12px;line-height:18px;"> <a
moz-do-not-send="true"
class="user-hover" rel="rafabene"
id="email_rafabene"
href="https://issues.jboss.org/secure/ViewProfile.jspa?name=rafabene"
style="color:#326ca6;">Rafael
Benevides</a> commented on <img
moz-do-not-send="true"
src="https://issues.jboss.org/images/icons/issuetypes/bug.png"
alt="Bug" align="absmiddle"
border="0" height="16" width="16"> <a
moz-do-not-send="true"
style="color:#326ca6;text-decoration:none;"
href="https://issues.jboss.org/browse/JDF-253">JDF-253</a> </div>
<div id="email-summary"
style="font-size:16px;line-height:20px;padding:2px
0 16px 0;"> <a moz-do-not-send="true"
style="color:#326ca6;text-decoration:none;"
href="https://issues.jboss.org/browse/JDF-253"><strong>jboss-html5-mobile-archetype
does align jQuery version with WFK</strong></a>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr valign="top">
<td id="email-fields" style="padding:0 32px 32px
32px;">
<table
style="padding:0;text-align:left;width:100%;"
border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr valign="top">
<td id="email-gutter"
style="width:64px;white-space:nowrap;"><br>
</td>
<td>
<table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tbody>
<tr valign="top">
<td colspan="2"
style="color:#000000;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:12px;padding:0
0 16px 0;width:100%;">
<div class="comment-block"
style="background-color:#edf5ff;border:1px
solid
#dddddd;color:#000000;padding:12px;">
<p>The Archetype are now kept
in sync with the origin
quickstart. That's made by a
QSTools goal.</p>
<p>I would like that the
following PR should be
reviewed/tested for someone
else: <a
moz-do-not-send="true"
href="https://github.com/jboss-jdf/jboss-as-archetype/pull/15"
class="external-link">https://github.com/jboss-jdf/jboss-as-archetype/pull/15</a></p>
<p>I made some basic tests and
I feel confortable with the
sync made by QSTools, but
it's always good that have
another review or more
tests.</p>
<p>This Pull Request has 3
modifications/commits</p>
<p>1) Remove the Blank
Archetype - There's no need
to keep the Archetypes on
gitrepo since it's generated
with release.sh script</p>
<p>2) Added pom.xml config
that to use
qstools:archetypeSync goal.
The main point is that a
Archetype could be synched
with a branch/tag/commit - <b>The
idea is that the
archetypes should use a
quickstarts .Final tag on
each JDF release.</b></p>
<div class="code panel"
style="border-width: 1px;">
<div class="codeContent
panelContent">
<pre class="code-xml">
<span class="code-tag"><projectGitRepo></span><a class="moz-txt-link-freetext" href="git://github.com/jboss-jdf/jboss-as-quickstart.git">git://github.com/jboss-jdf/jboss-as-quickstart.git</a><span class="code-tag"></projectGitRepo></span>
<span class="code-tag"><projectPath></span>kitchensink-html5-mobile<span class="code-tag"></projectPath></span>
<span class="code-tag"><rootPackage></span>org.jboss.as.quickstarts.html5_mobile<span class="code-tag"></rootPackage></span>
<span class="code-tag"><branch></span>628fe0122ca9e81812b52d0cfc723d0e12078562<span class="code-tag"></branch></span>
</pre>
</div>
</div>
<p>3) The synchronization it
self. I tested it but I
would like that you test it
too before I merge this PR.</p>
</div>
<div
style="color:#505050;padding:4px
0 0 0;"> </div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<!-- End #email-page --> </tr>
<tr valign="top">
<td
style="color:#505050;font-family:Arial,FreeSans,Helvetica,sans-serif;font-size:10px;line-height:14px;padding:
0 16px 16px 16px;text-align:center;"> This message is
automatically generated by JIRA.<br>
If you think it was sent incorrectly, please contact
your JIRA administrators<br>
For more information on JIRA, see: <a
moz-do-not-send="true" style="color:#326ca6;"
href="http://www.atlassian.com/software/jira">http://www.atlassian.com/software/jira</a>
</td>
</tr>
</tbody>
</table>
<!-- End #email-wrap -->
</div>
<!-- End #email-body -->
<br>
</div>
<br>
</body>
</html>