在发布期间打包Eclipse存储库

时间:2015-08-03 11:27:42

标签: maven tycho

我设法创建了插件,迫使Tycho发布除eclipse-repository以外的几乎所有包装类型。

问题是在release:perform期间调用了deploy,在日志中可以看到:

[INFO] --- maven-release-plugin:2.5.1:perform (default-cli) @ org.acme.project.rxp-build ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: cmd.exe /X /C "svn [snip]"
[INFO] Working directory: workspace\org.acme.project.rxp-build\target
[INFO] Invoking perform goals in directory workspace\org.acme.project.rxp-build\target\checkout
[INFO] Executing goals 'deploy'...

现在这个deploy在Tycho中不起作用(事实上,应该不起作用)作为标准deploy,这就是导致发布失败的原因。我想知道是否有任何方法可以更改发布插件调用的目标,以添加调用普通deploy的内容。

目标无法由completionGoalspreparationGoalsgoals这样改变(至少不仅仅是eclipse-repository我需要更改的地方):

  <plugin>
    <artifactId>maven-release-plugin</artifactId>
    <version>2.5.1</version>
    <configuration>
      <completionGoals>other goals</completionGoals>
      <preparationGoals>other goals</preparationGoals>
      <goals>other goals</goals>
    </configuration>
  </plugin>

那么如何更改发布过程调用的目标以获得默认行为?

0 个答案:

没有答案