Skip to content
Snippets Groups Projects
Commit dab22219 authored by Vicente Bolea's avatar Vicente Bolea
Browse files

java: correct release maven repo

parent f6fa0851
No related branches found
No related tags found
No related merge requests found
......@@ -831,4 +831,4 @@
-s '/_:settings/servers/server' -t elem -n password -v '${env.MAVEN_PASSWORD}'
"$HOME/.m2/settings.xml"
- cd build/install
- mvn deploy -Dvtk.snapshots.repo=https://maven.pkg.github.com/kitware/vtk -Dvtk.snapshots.repo.id=github
- mvn deploy -Dvtk.maven.repo=https://maven.pkg.github.com/kitware/vtk -Dvtk.maven.repo.id=github
......@@ -59,12 +59,12 @@ will only include the native artifacts for that platform. Running the command:
$ mvn deploy
The deployment url is defined by the property `vtk.snapshots.repo`. By default
this is set to `file://${user.home}/vtk-maven-repos/snapshots`. To deploy
The deployment url is defined by the property `vtk.maven.repo`. By default
this is set to `file://${user.home}/vtk-maven-repos`. To deploy
to an internal artifact server (e.g. Nexus, Artifactory, etc.), you can set
this property on the command line to the deployment URL, e.g.:
$ mvn deploy -Dvtk.snapshots.repo=http://maven.yoyodyne.com/repos/snapshots
$ mvn deploy -Dvtk.maven.repo=http://maven.yoyodyne.com/repos/snapshots
# ----------------------------------------------------------------------------
......
......@@ -2,9 +2,8 @@
<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">
<modelVersion>4.0.0</modelVersion>
<properties>
<vtk.snapshots.repo.id>vtk-snapshots-repo</vtk.snapshots.repo.id>
<vtk.snapshots.repo>file://@MAVEN_LOCAL_REPOSITORY@/snapshots</vtk.snapshots.repo>
<vtk.releases.repo>file://@MAVEN_LOCAL_REPOSITORY@/releases</vtk.releases.repo>
<vtk.maven.repo.id>vtk-maven-repo</vtk.maven.repo.id>
<vtk.maven.repo>file://@MAVEN_LOCAL_REPOSITORY@</vtk.maven.repo>
</properties>
<groupId>@MAVEN_VTK_GROUP_ID@</groupId>
<artifactId>vtk@MAVEN_VTK_ARTIFACT_SUFFIX@</artifactId>
......@@ -80,14 +79,14 @@
will ease the merge of those directory for a one step maven deploy.
-->
<repository>
<id>vtk-releases-repo</id>
<id>vtk-maven-repo</id>
<name>VTK Release Artifact Repository</name>
<url>${vtk.releases.repo}</url>
<url>${vtk.maven.repo}</url>
</repository>
<snapshotRepository>
<id>${vtk.snapshots.repo.id}</id>
<id>${vtk.maven.repo.id}</id>
<name>VTK Snapshot Artifact Repository</name>
<url>${vtk.snapshots.repo}</url>
<url>${vtk.maven.repo}</url>
</snapshotRepository>
</distributionManagement>
<pluginRepositories>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment