[
https://jira.jboss.org/browse/ARQ-297?page=com.atlassian.jira.plugin.syst...
]
Dan Allen commented on ARQ-297:
-------------------------------
Great, if we can provide a command that is just as concise as one that would activate a
specialized profile, then I'm all for it. This is just a matter of communication then.
I see newcomers struggle to build the containers every week and I just don't want that
to be their first memory of Arquillian.
Teaching the developer about the features in the build system is something that's more
of a long-term goal. What we need for newcomers is a simple instruction in the form of a
command, as Pete suggested:
mvn install -P!containers # builds everything except containers
I need to update the build docs anyway, so I'll link this issue to that one.
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