Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mvn deploy sections #123

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading