2009-04-20 55 views

回答

2

我剛剛發現這個答案。

RE: mvn release with perforce

<scm> 
    <connection>scm:perforce://depot/simple</connection> 
    <developerConnection>scm:perforce://depot/simple</developerConnection> 
    <url>scm:perforce://depot/simple</url> 
</scm> 

我也試圖與發佈插件,因爲我的Perforce公司需要的用戶ID,我可以指定在釋放配置部分插件使用

<plugin> 
    <groupId>org.apache.maven.plugins</groupId> 
    <artifactId>maven-release-plugin</artifactId> 
    <version>2.0-beta-9</version> 
    <configuration> 
    <username>myUser</username> 
    </configuration> 
</plugin> 
+0

不意思是擊敗一匹死馬,但是你有沒有想過如何在發佈時配置Perforce代碼的標籤?發佈插件似乎工作,但我沒有看到在Perforce中創建的任何標籤。 – 2009-06-03 21:15:04