[weld-issues] [JBoss JIRA] Commented: (WELDX-70) Automate testing of archetypes

Martin Gencur (JIRA) jira-events at lists.jboss.org
Fri Mar 5 09:31:11 EST 2010


    [ https://jira.jboss.org/jira/browse/WELDX-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518365#action_12518365 ] 

Martin Gencur commented on WELDX-70:
------------------------------------

I did another commit. Now it is possible to automatically test weld-jsf-jee-minimal archetype just with glassfish standalone server. The only thing you need to do is to download GlassfishV3, unpack it, set GLASSFISH_HOME env property and tun mvn -Pftest-glassfish verify.

> Automate testing of archetypes
> ------------------------------
>
>                 Key: WELDX-70
>                 URL: https://jira.jboss.org/jira/browse/WELDX-70
>             Project: Weld Extensions
>          Issue Type: Task
>          Components: Archetypes
>    Affects Versions: Archetypes 1.0.0.Beta1
>            Reporter: Steven Boscarine
>            Assignee: Martin Gencur
>            Priority: Optional
>
> This may be a difficult and funky task.  I haven't been able to find examples of people automating maven calls.  This may be a very pioneering task if done in Java.  I do it presently with a shell script.  
> Here's what needs to happen:
> An archetype needs to be built from source.  (mvn clean install)
> A project needs to be created from the archetype. (mvn archetype:generate -DartifactId=myproject)
> The project's tests need to be run.  (mvn clean test -f myproject/pom.xml)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list