After some work improving QSTools, it now has the feature to synchronize
Archetypes with a specified project.
Note: I took a look on fuse tooling but it doesn't fit our needs and
lacks of customization.
For QSTools, the only thing needed it to add qstools plugin declaration
to archetype pom.xml as the following example:
(...)
|||<plugin>|||
|||<groupId>org.jboss.maven.plugins</groupId>|||
|||<artifactId>maven-qstools-plugin</artifactId>|||
|||<version>1.0.0.CR3</version>|||
||| <configuration>|||
|||<projectGitRepo>git://github.com/jboss-jdf/jboss-as-quickstart.git</projectGitRepo>|||
|||<projectPath>kitchensink-ear</projectPath>|||
|||<rootPackage>org.jboss.as.quickstarts.kitchensink_ear</rootPackage>|||
|||<multiModuleProject>true</multiModuleProject>|||
|||<branch>jdf-2.1.1.Final</branch>|||
|||<extraReplaceValues>|||
|||<extraReplaceValue>jboss-as-kitchensink-ear</extraReplaceValue>|||
|||<extraReplaceValue>kitchensink-ear-quickstart</extraReplaceValue>|||
|||<extraReplaceValue>kitchensink-quickstart</extraReplaceValue>|||
|||<extraReplaceValue>KitchensinkEarQuickstart</extraReplaceValue>|||
|||<extraReplaceValue>JBoss AS Quickstarts: Kitchensink
EAR</extraReplaceValue>|||
|||</extraReplaceValues>|||
||| </configuration>|||
||| <executions>|||
||| <execution>|||
|||<phase>generate-sources</phase>|||
||| <goals>|||
|||<goal>archetypeSync</goal>|||
||| </goals>|||
||| </execution>|||
||| </executions>|||
||| </plugin>|
(...)
The Archetypes results is at the following PR:
https://github.com/jboss-jdf/jboss-as-archetype/pull/15
I made tests on the generated Archetype and I liked the result, but I
would like to ask for help on testing it too.
Feel free to post comments on this feature/result.
Thank you.
-------- Mensagem original --------
Assunto: [JBoss JIRA] (JDF-253) jboss-html5-mobile-archetype does align
jQuery version with WFK
Data: Thu, 11 Apr 2013 17:16:56 -0400 (EDT)
De: Rafael Benevides (JIRA) <jira-events(a)lists.jboss.org>
Para: benevides(a)redhat.com
Rafael Benevides
<
https://issues.jboss.org/secure/ViewProfile.jspa?name=rafabene>
commented on Bug JDF-253 <
https://issues.jboss.org/browse/JDF-253>
*jboss-html5-mobile-archetype does align jQuery version with WFK*
<
https://issues.jboss.org/browse/JDF-253>
The Archetype are now kept in sync with the origin quickstart. That's
made by a QSTools goal.
I would like that the following PR should be reviewed/tested for someone
else:
https://github.com/jboss-jdf/jboss-as-archetype/pull/15
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.
This Pull Request has 3 modifications/commits
1) Remove the Blank Archetype - There's no need to keep the Archetypes
on gitrepo since it's generated with release.sh script
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 -
*The idea is that the archetypes should use a quickstarts .Final tag on
each JDF release.*
<
projectGitRepo>git://github.com/jboss-jdf/jboss-as-quickstart.git</...
<projectPath>kitchensink-html5-mobile</projectPath>
<rootPackage>org.jboss.as.quickstarts.html5_mobile</rootPackage>
<branch>628fe0122ca9e81812b52d0cfc723d0e12078562</branch>
3) The synchronization it self. I tested it but I would like that you
test it too before I merge this PR.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira