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">
|
||||
|
||||
<profiles>
|
||||
|
@ -17,5 +18,10 @@
|
|||
|
||||
<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>
|
||||
|
|
41
pom.xml
41
pom.xml
|
@ -1,6 +1,4 @@
|
|||
<project
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
<project 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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
@ -43,11 +41,9 @@
|
|||
</developer>
|
||||
</developers>
|
||||
|
||||
<!--
|
||||
The SCM repository location is used by Continuum to update against
|
||||
when changes have occurred. This spawns a new build cycle and releases
|
||||
snapshots into the snapshot repository below.
|
||||
-->
|
||||
<!-- The SCM repository location is used by Continuum to update against
|
||||
when changes have occurred. This spawns a new build cycle and releases snapshots
|
||||
into the snapshot repository below. -->
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:vivo-project/VIVO.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:vivo-project/VIVO.git</developerConnection>
|
||||
|
@ -72,6 +68,16 @@
|
|||
</modules>
|
||||
|
||||
<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>
|
||||
<id>vitro</id>
|
||||
<activation>
|
||||
|
@ -335,7 +341,8 @@
|
|||
</configuration>
|
||||
</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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
@ -343,7 +350,8 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<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>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
|
@ -475,9 +483,11 @@
|
|||
<report>test-javadoc</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
<reportSet><!-- aggregate reportSet, to define in poms having modules -->
|
||||
<reportSet><!-- aggregate reportSet, to define in poms
|
||||
having modules -->
|
||||
<id>aggregate</id>
|
||||
<inherited>false</inherited><!-- don't run aggregate in child modules -->
|
||||
<inherited>false</inherited><!-- don't run aggregate
|
||||
in child modules -->
|
||||
<reports>
|
||||
<report>aggregate</report>
|
||||
</reports>
|
||||
|
@ -501,10 +511,9 @@
|
|||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<!--
|
||||
Add a custom repository, which is actually just a simple GitHub project
|
||||
in order to distribute some dependencies that aren't part of Maven central
|
||||
-->
|
||||
<!-- Add a custom repository, which is actually just a simple GitHub
|
||||
project in order to distribute some dependencies that aren't part of Maven
|
||||
central -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>vivo-dependencies</id>
|
||||
|
|
Loading…
Add table
Reference in a new issue