我正在使用SVN。这是我的回购结构
unit frmDisplaySentence_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TfrmDispOneChar = class(TForm)
edtCode: TEdit;
btnDisplay: TButton;
lblMsg: TLabel;
memOutput: TMemo;
procedure btnDisplayClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmDispOneChar: TfrmDispOneChar;
implementation
{$R *.dfm}
procedure TfrmDispOneChar.btnDisplayClick(Sender: TObject);
var
K, iLength : integer;
cOne : char;
sCode : string;
begin
sCode := edtCode.Text;
iLength := Length(sCode);
for K := 1 to iLength do
cOne := sCode[K];
memOutput.Lines.Add(cOne);
end;
我在product1 / branch1
下配置了maven插件root revision no - 400
root/product1/trunk revision no - 300
root/product1/branch1 revision no - 310
root/product1/branch2 revision no - 320
root/product2/trunk revision no - 200
root/product2/branch1 revision no - 210
.......
我得到<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<scmDirectory></scmDirectory>
<useLastCommittedRevision>true</useLastCommittedRevision>
</configuration>
</plugin>
为400虽然我预计它是310,即每个特定的分支或主干。我知道修订版是root的全局修订版
不是来自特定的分支/主干。
我们可以配置它来设置特定的分支吗?如果不可能,还有其他任何可以帮助的maven插件吗?