[ 
https://issues.jboss.org/browse/RF-13274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934575#comment-12934575
 ] 

Brian Leathem commented on RF-13274:
------------------------------------

An initial trial of the qstools archetypeSync plugin with the following 
configuration looks promising:

{code}
        <plugins>
            <plugin>
                <groupId>org.jboss.maven.plugins</groupId>
                <artifactId>maven-qstools-plugin</artifactId>
                <version>1.3.2.Final</version>
                <configuration>
                    
<projectGitRepo>git://github.com/richfaces/jdf-quickstarts.git</projectGitRepo>
                    <projectPath>kitchensink-rf</projectPath>
                    
<rootPackage>org.jboss.as.quickstarts.kitchensinkrf</rootPackage>
                    <branch>master</branch>
                    <archetypeExpressionReplaceValues>
                        
<archetypeExpressionReplaceValue>jboss-kitchensink-rf</archetypeExpressionReplaceValue>
                        <archetypeExpressionReplaceValue>kitchensink 
quickstart</archetypeExpressionReplaceValue>
                        <archetypeExpressionReplaceValue>JBoss WFK Quickstart: 
kitchensink-richfaces</archetypeExpressionReplaceValue>
                    </archetypeExpressionReplaceValues>
                </configuration>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>archetypeSync</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
{code}

I filed JDF-592 to address the issue of having more control over generating 
conditionals in the pom.
                
> Use QSTools:archetypeSync to keep the kitchensink archetype synchronized with 
> the kithensink-rf quickstart 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: RF-13274
>                 URL: https://issues.jboss.org/browse/RF-13274
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>            Reporter: Brian Leathem
>             Fix For: 4.3.5
>
>   Original Estimate: 1 hour, 30 minutes
>  Remaining Estimate: 1 hour, 30 minutes
>
> As per [~rafabene]'s description in IRC:
> {quote}
> use QSTools:archetypeSync to keep your Archetype Synchornized with the 
> kithensink-rf Quickstart as we did for our Archetypes
> look at an example here: 
> https://github.com/jboss-developer/jboss-eap-archetypes/blob/master/jboss-javaee6-webapp-archetype/pom.xml#L82-L106
> you tell where the quickstart is projectGitRepo projectPath
> tell what's your branch or commit or tag
> them what's your rootPackage
> you can configure expression that will be replaced by $\{artifactId} with 
> archetypeExpressionReplaceValues
> so every fix that you make on Quickstarts will be available on your next 
> Archetype build
> call me if you have any issues with QSTools:archetypeSync
> {quote}

--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to