Skip to content

Commit

Permalink
Add self-activating profiles for building Vitro-languages and VIVO-l… (
Browse files Browse the repository at this point in the history
…#245)

* Add self-activating profiles for compiling Vitro-languages and VIVO-languages in place of i18n profile

* Remove trailing whitespace
  • Loading branch information
brianjlowe committed Jun 22, 2021
1 parent 109b5a4 commit 09e4ea7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
5 changes: 0 additions & 5 deletions installer/example-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@

<activeProfiles>
<activeProfile>defaults</activeProfile>
<!-- <activeProfile>i18n</activeProfile> -->
<!-- Replace the "defaults" activeProfile with "i18n" to include
the Vitro-languages and VIVO-Languages repos in the Maven compilation and
installation process -->

</activeProfiles>
</settings>
24 changes: 18 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,28 @@
</modules>

<profiles>
<profile>
<id>i18n</id>
<profile>
<id>Vitro-languages</id>
<activation>
<file>
<exists>../Vitro-languages/pom.xml</exists>
</file>
</activation>
<modules>
<module>../Vitro-languages</module>
</modules>
</profile>
<profile>
<id>VIVO-languages</id>
<activation>
<file>
<exists>../VIVO-languages/pom.xml</exists>
</file>
</activation>
<modules>
<module>../VIVO-languages</module>
<module>api</module>
<module>webapp</module>
<module>home</module>
</modules>
</profile>
</profile>
<profile>
<id>vitro</id>
<activation>
Expand Down

0 comments on commit 09e4ea7

Please sign in to comment.