Skip to content

Commit

Permalink
configure for publishing in wetransform artifactory
Browse files Browse the repository at this point in the history
Command: `mvn clean deploy -DskipTests`

For authentication to artifactory a settings.xml is required (e.g. in `~/.m2/settings.xml`)
https://maven.apache.org/settings.html

There for each repo the user and password need to be configured:
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
  • Loading branch information
stempler committed Apr 18, 2018
1 parent c5b8964 commit 429b085
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
</repositories>

<distributionManagement>
<!--
<repository>
<id>deegree-releases</id>
<url>http://repo.deegree.org/content/repositories/releases/</url>
Expand All @@ -49,13 +50,22 @@
<id>deegree-snapshots</id>
<url>http://repo.deegree.org/content/repositories/snapshots/</url>
</snapshotRepository>
-->
<site>
<id>apidoc.deegree.org</id>
<!--
<url>scp://apidoc.deegree.org/var/www/apidoc.deegree.org/${project.version}/</url>
-->
<url>file:///tmp/site/${project.version}/</url>
</site>
<repository>
<id>wetf-releases</id>
<url>https://artifactory.wetransform.to/artifactory/deegree-release-local</url>
</repository>
<snapshotRepository>
<id>wetf-snapshots</id>
<url>https://artifactory.wetransform.to/artifactory/deegree-snapshot-local</url>
</snapshotRepository>
</distributionManagement>

<prerequisites>
Expand Down

0 comments on commit 429b085

Please sign in to comment.