Skip to content

Commit

Permalink
This closes apache#6
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgittin committed Mar 10, 2016
2 parents 2ad8bfe + 0e9da8a commit d828ea3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ get this project and its sub-modules:
git submodule init
git submodule update --remote --merge --recursive

And then:
And then, with jdk 1.8+, maven 3.1+, and go 1.6+ installed (or skip go with `-Dno-go-client`):

mvn clean install

Expand Down
29 changes: 28 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,34 @@
<module>brooklyn-ui</module>
<module>brooklyn-server</module>
<module>brooklyn-library</module>
<module>brooklyn-dist</module>
</modules>

<profiles>
<profile>
<!-- skip the client CLI by setting -Dno-go-client - useful if Go is not available -->
<id>go-client</id>
<activation>
<property>
<name>!no-go-client</name>
</property>
</activation>
<modules>
<module>brooklyn-client</module>
</modules>
</profile>
<profile>
<!-- also build the dist with a profile; we don't really expect people to opt in to skip, though they can;
mainly this is here to ensure the go-client profile modules if included get built before the dist module -->
<id>dist</id>
<activation>
<property>
<name>!no-dist</name>
</property>
</activation>
<modules>
<module>brooklyn-dist</module>
</modules>
</profile>
</profiles>

</project>

0 comments on commit d828ea3

Please sign in to comment.