Last active
August 29, 2015 14:06
-
-
Save steventzeng-base/1543ef102803a55a0dfb to your computer and use it in GitHub Desktop.
上傳商用版權 jar 到內部 mvane 儲存庫 (以 dav:http 方式上傳)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn deploy:deploy-file \ | |
-DgroupId=thegroup \ | |
-DartifactId=theartifact \ | |
-Dversion=1.0 \ | |
-Dpackaging=jar \ | |
-Durl=dav:http://internalurl \ | |
-Dfile=3rd-party.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-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> | |
<groupId>this.is.some.group</groupId> | |
<artifactId>this-is-artifact</artifactId> | |
<version>1.0</version> | |
<build> | |
<extensions> | |
<extension> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-webdav-jackrabbit</artifactId> | |
<version>2.7</version> | |
</extension> | |
</extensions> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment