integrate in a single Maven call the compilation and installation of (#242)
Integrate in a single Maven call the compilation and installation of VIVO-Languages and Vitro-Languages in VIVO.
This commit is contained in:
parent
631986a2d5
commit
e3027841aa
2 changed files with 35 additions and 20 deletions
|
@ -1,4 +1,5 @@
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
@ -17,5 +18,10 @@
|
||||||
|
|
||||||
<activeProfiles>
|
<activeProfiles>
|
||||||
<activeProfile>defaults</activeProfile>
|
<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>
|
</activeProfiles>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
41
pom.xml
41
pom.xml
|
@ -1,6 +1,4 @@
|
||||||
<project
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
@ -43,11 +41,9 @@
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<!--
|
<!-- The SCM repository location is used by Continuum to update against
|
||||||
The SCM repository location is used by Continuum to update against
|
when changes have occurred. This spawns a new build cycle and releases snapshots
|
||||||
when changes have occurred. This spawns a new build cycle and releases
|
into the snapshot repository below. -->
|
||||||
snapshots into the snapshot repository below.
|
|
||||||
-->
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:vivo-project/VIVO.git</connection>
|
<connection>scm:git:git@github.com:vivo-project/VIVO.git</connection>
|
||||||
<developerConnection>scm:git:git@github.com:vivo-project/VIVO.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:vivo-project/VIVO.git</developerConnection>
|
||||||
|
@ -72,6 +68,16 @@
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>i18n</id>
|
||||||
|
<modules>
|
||||||
|
<module>../Vitro-languages</module>
|
||||||
|
<module>../VIVO-languages</module>
|
||||||
|
<module>api</module>
|
||||||
|
<module>webapp</module>
|
||||||
|
<module>home</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>vitro</id>
|
<id>vitro</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -335,7 +341,8 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- Used to validate all code style rules in source code using Checkstyle -->
|
<!-- Used to validate all code style rules in source code using
|
||||||
|
Checkstyle -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
@ -343,7 +350,8 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>verify-style</id>
|
<id>verify-style</id>
|
||||||
<!-- Bind to verify so it runs after package & unit tests, but before install -->
|
<!-- Bind to verify so it runs after package & unit
|
||||||
|
tests, but before install -->
|
||||||
<phase>verify</phase>
|
<phase>verify</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>check</goal>
|
<goal>check</goal>
|
||||||
|
@ -475,9 +483,11 @@
|
||||||
<report>test-javadoc</report>
|
<report>test-javadoc</report>
|
||||||
</reports>
|
</reports>
|
||||||
</reportSet>
|
</reportSet>
|
||||||
<reportSet><!-- aggregate reportSet, to define in poms having modules -->
|
<reportSet><!-- aggregate reportSet, to define in poms
|
||||||
|
having modules -->
|
||||||
<id>aggregate</id>
|
<id>aggregate</id>
|
||||||
<inherited>false</inherited><!-- don't run aggregate in child modules -->
|
<inherited>false</inherited><!-- don't run aggregate
|
||||||
|
in child modules -->
|
||||||
<reports>
|
<reports>
|
||||||
<report>aggregate</report>
|
<report>aggregate</report>
|
||||||
</reports>
|
</reports>
|
||||||
|
@ -501,10 +511,9 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
|
|
||||||
<!--
|
<!-- Add a custom repository, which is actually just a simple GitHub
|
||||||
Add a custom repository, which is actually just a simple GitHub project
|
project in order to distribute some dependencies that aren't part of Maven
|
||||||
in order to distribute some dependencies that aren't part of Maven central
|
central -->
|
||||||
-->
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>vivo-dependencies</id>
|
<id>vivo-dependencies</id>
|
||||||
|
|
Loading…
Add table
Reference in a new issue