Always build all components of Gerrit

If we are committed to Maven as a build tool we need to have Maven
always building the correct targets when a user runs `mvn package`.
Include all modules as part of the build, all of the time.

Change-Id: I23f02cf040437bfe91e8badb6fdb6f765e707b6f
This commit is contained in:
Shawn Pearce
2013-05-06 12:25:49 -07:00
parent 6a971631df
commit 8d6dcac0b6
2 changed files with 8 additions and 24 deletions

30
pom.xml
View File

@@ -77,6 +77,7 @@ limitations under the License.
<module>gerrit-common</module>
<module>gerrit-cache-h2</module>
<module>gerrit-httpd</module>
<module>gerrit-gwtui</module>
<module>gerrit-launcher</module>
<module>gerrit-main</module>
<module>gerrit-openid</module>
@@ -88,32 +89,15 @@ limitations under the License.
<module>gerrit-gwtdebug</module>
<module>gerrit-war</module>
<module>gerrit-extension-api</module>
<module>gerrit-gwtui</module>
<module>gerrit-acceptance-tests</module>
<module>gerrit-extension-api</module>
<module>gerrit-plugin-api</module>
<module>gerrit-plugin-archetype</module>
<module>gerrit-plugin-gwtui</module>
<module>gerrit-plugin-js-archetype</module>
<module>gerrit-plugin-gwt-archetype</module>
</modules>
<profiles>
<profile>
<id>all</id>
<modules>
<module>gerrit-plugin-api</module>
<module>gerrit-plugin-archetype</module>
<module>gerrit-plugin-gwtui</module>
<module>gerrit-plugin-js-archetype</module>
<module>gerrit-plugin-gwt-archetype</module>
</modules>
</profile>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<id>no-plugins</id>
</profile>
</profiles>
<licenses>
<license>
<name>Apache License, 2.0</name>

View File

@@ -1,6 +1,6 @@
#!/bin/sh
flags=-Pall
flags=
while [ $# -gt 0 ]
do