...
Kodblock | ||
---|---|---|
| ||
<mirrors> <!-- Mirror används för att hämta dependencies via Inera Nexus --> <mirror> <id>Inera Nexus</id> <name>Inera Nexus Public Mirror</name> <url>https://nexus.drift.inera.se/repository/maven-public/</url> <mirrorOf>*,!grails</mirrorOf> </mirror> </mirrors> <profiles> <profile> <id>skltp</id> <properties> <!-- Ställer om URL för snapshots och release i distributionManagement i pom.xml, pom.xml måste använda dessa för att det ska fungera --> <releases-nexus-url>https://nexus.drift.inera.se/repository/SKLTP-Releases/</releases-nexus-url> <snapshot-nexus-url>https://nexus.drift.inera.se/repository/SKLTP-Snapshots/</snapshot-nexus-url> </properties> </profile> </profiles> <servers> <!-- Release Repot på Inera Nexus, exakt repo pekas ut av profilen --> <server> <id>release-nexus</id> <username>xxxxxxxxx</username> <password>pppppppppp</password> </server> <!-- Snapshot Repot på Inera Nexus, exakt repo pekas ut av profilen --> <server> <id>snapshot-nexus</id> <username>xxxxxxxxx</username> <password>pppppppppp</password> </server> </servers> <activeProfiles> <activeProfile>skltp</activeProfile> </activeProfiles> |
...
Artifakterna kommer nu laddas upp på Ineras Nexus och vara publikt tillgängliga under group-id se.skltp
,.