Commit c9aee925 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Updated README.md

parent c7f8cc45
Loading
Loading
Loading
Loading
Loading
+7 −3
Original line number Original line Diff line number Diff line
# VOSpace Maven parent project
# VOSpace Maven parent project


This project contains some common pom.xml configuration that is inherited by vospace-rest and vospace-file-service project. Moreover it contains some common classes (at the moment exception classes). Maven parent projects must have a packaging of type "pom" and usually don't include classes, so jar file is not generated by the default Maven building process. To avoid creating 2 separate projects (one for the parent pom and one for the shared classes) a "build-jar" profile has been added to manually execute the building and packaging of the jar file. The profile keeps the execution separated and avoid polluting the inherited pom.
This repository contains both a parent pom.xml configuration that is inherited by vospace-rest and vospace-file-service projects and some common classes (at the moment exception classes).


So, to properly install this project run `mvn clean install -Pbuild-jar`
To install the parent pom:


Child projects have to reference this project twice: one for inheriting the pom and one for including it as a dependency.
    mvn -f parent-pom.xml clean install

To install the shared classes:

    mvn clean install