Skip to content

Commit

Permalink
Merge pull request #123 from DataONEorg/feature-120-prep-3.0.2-release
Browse files Browse the repository at this point in the history
add mvn deploy sections
  • Loading branch information
artntek authored Jul 31, 2024
2 parents 1004701 + 968c930 commit 2c66f94
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,15 @@
</includes>
</resource>
</resources>

<extensions>
<!-- Enabling the use of SSH; see `<distributionManagement>` section -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>3.5.3</version>
</extension>
</extensions>
</build>
<scm>
<url>https://repository.dataone.org/software/cicore</url>
Expand All @@ -443,4 +452,15 @@
<url>LICENSE.txt</url>
</license>
</licenses>
<!-- Config for mvn deploy to upload to repo. Also see `<build><extensions>` section -->
<!-- Also requires authentication info in ~/.m2/settings.xml; -->
<!-- see: https://maven.apache.org/guides/mini/guide-deployment-security-settings.html -->
<!-- ...but note pvt key location should be an absolute path (/home/myname/...), NOT ~/... -->
<distributionManagement>
<repository>
<id>dataone.org</id>
<name>DataONE Repository</name>
<url>scpexe://maven.dataone.org/var/www/maven</url>
</repository>
</distributionManagement>
</project>

0 comments on commit 2c66f94

Please sign in to comment.