Skip to content
README.md 866 B
Newer Older
Sonia Zorba's avatar
Sonia Zorba committed
# 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.

So, to properly install this project run `mvn clean install -Pbuild-jar`

Child projects have to reference this project twice: one for inheriting the pom and one for including it as a dependency.