-
Notifications
You must be signed in to change notification settings - Fork 35
5.How to build
SentinelDataHub edited this page Jun 20, 2022
·
6 revisions
Maven repository configuration
We suggest to copy the settings.xml file in your maven local repository:
~/.m2<?xml version="1.0"?>
<settings xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0">
<mirrors>
<mirror>
<id>osf-public</id>
<mirrorOf>*,!Shibbolet,!osf-delivery</mirrorOf>
<url>https://nexus-repository.onda-dias.eu/repository/Public_Repositories/</url>
</mirror>
<mirror>
<id>osf-delivery</id>
<mirrorOf>osf-releases</mirrorOf>
<url>https://nexus-repository.onda-dias.eu/repository/OSF_releases/</url>
</mirror>
</mirrors>
</settings>git clone git@github.com:SentinelDataHub/dhus-distribution.git
cd dhus-distribution
mvn -Powc clean package
<source_code_path>/distribution/target<source_code_path>/distribution/target/<source_code_path>/distribution/target/