[arquillian-issues] [JBoss JIRA] Commented: (ARQ-297) add an essential build profile to make build more approachable

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Sep 16 05:54:28 EDT 2010


    [ https://jira.jboss.org/browse/ARQ-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551232#action_12551232 ] 

Pete Muir commented on ARQ-297:
-------------------------------

I would advise against removing tests from the default build - sounds like a recipe for people forgetting to run tests! Why not just add a few profiles to make it easier to select what you do/don't want e.g.

mvn install # builds everything
mvn install -P!containers # builds everything except containers
mvn install -P!containers,jboss-containers # builds everything except non-jboss containers

> add an essential build profile to make build more approachable
> --------------------------------------------------------------
>
>                 Key: ARQ-297
>                 URL: https://jira.jboss.org/browse/ARQ-297
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Build Infrastructure
>    Affects Versions: 1.0.0.Alpha4
>            Reporter: Dan Allen
>             Fix For: 1.0.0.Beta1
>
>
> Newcomers are struggling to build Arquillian for the first time because the default profile steps into all the container modules. This results in massive downloads (JBoss AS embedded, GlassFish embedded, etc), slow build processes and frequent failures. A newcomer to Arquillian shouldn't have to go through this whole parade. They really just want to build the essential bits of Arquillian, then hand pick the container module they want to study or hack.
> To cut down on the default build, we should introduce a new profile in the aggregator pom that is activated by default. (Hudson can be set to run with -Pall)
>     <profile>
>       <id>essential</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <modules>
>         <module>build</module>
>         <module>api</module>
>         <module>spi</module>
>         <module>impl-base</module>
>         <module>junit</module>
>         <module>testng</module>
>         <module>testenrichers</module>
>         <module>protocols</module>
>       </modules>
>     </profile>
> (I should note that Thomas already did a similar thing to isolate the Arquillian essentials to work on OSGi, but that build profile could be replaced with this one, give or take a module or two).

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

        


More information about the arquillian-issues mailing list