VIVO Documentation
...
Step | Action | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Editing ./core/pom.xml Add lines 6 to 11 in the <depedencies> section of the POM file |
| |||||||||
Create the following pom file: ./fr_CA/web_app/src/pom.xml Pay particular attention to the version number which must correspond to the version currently under development. | <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> <groupId>org.vivoweb</groupId> <parent> <name>Vitro Languages for Web App fr_CA</name> <build> | |||||||||
Editing ./pom.xml Add the following line which is in bold | ... </distributionManagement> |
Step | Action | |||||||
---|---|---|---|---|---|---|---|---|
Editing ./core/home/pom.xml Add the dependency (in bold) in the POM file | . . . | |||||||
Editing ./core/webapp/pom.xml Add the dependency (in bold) in the POM file | . . . | |||||||
Adding ./fr_CA/home/pom.xml Pay particular attention to the version number which must correspond to the version currently under development. | <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> <groupId>org.vivoweb</groupId> <artifactId>vivo-languages-home-fr_CA</artifactId> <version>1.11.2-SNAPSHOT</version> <packaging>pom</packaging> <parent> <groupId>org.vivoweb</groupId> <artifactId>vivo-languages-fr_CA</artifactId> <version>1.11.2-SNAPSHOT</version> <relativePath>..</relativePath> </parent> <name>VIVO Languages for Home fr_CA</name> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <tarLongFileMode>posix</tarLongFileMode> <descriptors> <descriptor>src/main/assembly/home.xml</descriptor> </descriptors> <appendAssemblyId>false</appendAssemblyId> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>target/${project.artifactId}-${project.version}.tar.gz</file> <type>tar.gz</type> <!-- classifier>optional</classifier --> </artifact> </artifacts> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> | |||||||
Adding ./fr_CA/webapp/pom.xml Pay particular attention to the version number which must correspond to the version currently under development. | <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> <groupId>org.vivoweb</groupId> <parent> <name>VIVO Languages for Web App fr_CA</name> <build> | |||||||
Editing ./pom.xml Add the following line which is in bold |
|
...