标签:
二、修改文件:<servers><server><id>releases</id><username>admin</username><password>admin123</password></server><server><id>snapshots</id><username>admin</username><password>admin123</password></server><server><id>thirdparty</id><username>admin</username><password>admin123</password></server><server><id>snapshots-host</id><username>admin</username><password>admin123</password></server></servers>
...........<repositories><repository><id>snapshots</id><name>Snapshots</name></repository><repository><id>releases</id><name>Releases</name></repository><repository><id>snapshots-host</id><name>SnapshotsHost</name></repository></repositories>
<plugins>节点中添加如下代码:<distributionManagement><snapshotRepository><id>snapshots-host</id></snapshotRepository></distributionManagement>
<plugin>
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-source-plugin</artifactId><executions><execution><id>attach-sources</id><goals><goal>jar</goal></goals></execution></executions></plugin>
build 并deploy saiku-query到nexus
标签:
原文地址:http://blog.csdn.net/gsying1474/article/details/51361987