Commit f5c356b7a9cc8ac7561d429078fabac1b398da41

Authored by Nathanael Jourdane
1 parent 15189769
Exists in master

add distribution management on pom.xml

Showing 1 changed file with 35 additions and 21 deletions   Show diff stats
pom.xml
1   -<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">
2   - <modelVersion>4.0.0</modelVersion>
3   - <groupId>eu.omp.irap.vespa</groupId>
4   - <artifactId>epntapclient</artifactId>
5   - <version>0.0.1-SNAPSHOT</version>
6   - <name>epnTAPCLient</name>
7   - <dependencies>
8   - <dependency>
9   - <groupId>com.google.code.gson</groupId>
10   - <artifactId>gson</artifactId>
11   - <version>2.2.2</version>
12   - <scope>compile</scope>
13   - </dependency>
14   -</dependencies>
15   -<repositories>
16   - <repository>
17   - <id>IRAP-NEXUS</id>
18   - <url>https://nexus.irap.omp.eu/content/groups/public</url>
19   - </repository>
20   -</repositories>
21   -</project>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<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">
  3 + <modelVersion>4.0.0</modelVersion>
  4 + <groupId>eu.omp.irap.vespa</groupId>
  5 + <artifactId>epntapclient</artifactId>
  6 + <version>0.0.1-SNAPSHOT</version>
  7 + <name>epnTAPCLient</name>
  8 + <dependencies>
  9 + <dependency>
  10 + <groupId>com.google.code.gson</groupId>
  11 + <artifactId>gson</artifactId>
  12 + <version>2.2.2</version>
  13 + <scope>compile</scope>
  14 + </dependency>
  15 + </dependencies>
  16 + <repositories>
  17 + <repository>
  18 + <id>IRAP-NEXUS</id>
  19 + <url>https://nexus.irap.omp.eu/content/groups/public</url>
  20 + </repository>
  21 + </repositories>
  22 + <!-- For using it, (with mvn deploy) it need the <server(s)> config on ~/m2/settings.xml with the logins for nexus. -->
  23 + <distributionManagement>
  24 + <repository>
  25 + <id>deploymentIRAPReleases</id>
  26 + <name>Releases (Nexus)</name>
  27 + <url>https://nexus.irap.omp.eu/content/repositories/releases</url>
  28 + </repository>
  29 + <snapshotRepository>
  30 + <id>deploymentIRAPSnapshots</id>
  31 + <name>Snapshots (Nexus)</name>
  32 + <url>https://nexus.irap.omp.eu/content/repositories/snapshots</url>
  33 + </snapshotRepository>
  34 + </distributionManagement>
  35 +</project>
... ...