Questions tagged «maven-release-plugin»


4
“您在反应堆项目列表中没有SNAPSHOT项目。” 使用Jenkins Maven发布插件时
我在最新版本的Jenkins和Maven Release插件上使用SVN,Maven 3.0.3。我正在尝试使用Maven发布插件(通过Jenkins)进行试运行,因此正在执行这些选项…… Executing Maven: -B -f /scratch/jenkins/workspace/myproject/myproject/pom.xml -DdevelopmentVersion=53.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=***** -Dpassword=********* -DskipTests -P prod -Dresume=false -DdryRun=true release:prepare 但是空运行因以下错误而垂死…… [JENKINS] Archiving /scratch/jenkins/workspace/myproject/myproject/pom.xml to /home/evotext/hudson_home/jobs/myproject/modules/org.mainco.subco$myproject/builds/2013-11-18_16-09-14/archive/org.mainco.subco/myproject/52.0.0/myproject-52.0.0.pom Waiting for Jenkins to finish collecting data mavenExecutionResult exceptions not empty message : Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project myproject: You don't have a …

9
使用Maven发布插件时出现“致命错误:ref HEAD不是符号ref”
我在运行Maven版本插件的准备步骤时收到以下错误输出,即 mvn release:prepare --batch-mode -DreleaseVersion=1.1.2 -DdevelopmentVersion=1.2.0-SNAPSHOT -Dtag=v1.1.2 -X从Atlassian Bamboo计划中,。但是,在命令行中执行相同的操作会很好。完整的错误堆栈如下。 有什么想法可以解决吗? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare (default-cli) on project hpcmom: An error is occurred in the checkin process: Exception while executing SCM command. Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: …

3
如何使用源代码和JavaDoc部署SNAPSHOT?
我想用快照部署源和javadocs。这意味着我要自动执行以下命令: mvn clean source:jar javadoc:jar deploy 只需执行: mvn clean deploy 我不想在此install阶段(即本地版本)执行javadoc / sources生成。 我知道Source / javadoc插件可以与release插件的执行同步,但是我不知道如何将其连接到快照版本。

12
Maven版本插件失败:源工件被部署两次
我们在hudson上使用了Maven发布插件,并试图实现发布过程的自动化。发布:准备工作正常。当我们尝试执行release:perform时,它会失败,因为它尝试将源工件两次上载到存储库。 我尝试过的事情 从超级pom中删除确实包含maven源插件的配置文件(不起作用) 在hudson上将发布目标指定为-P!attach-source release:prepare release:perform。我认为这将使源插件无法执行。(不工作)。 尝试将插件阶段指定为超级pom中某个不存在的阶段。(无效) 尝试将插件配置forReleaseProfile指定为false。(猜猜是什么?也没有用) 它仍然会吐出此错误。 [INFO] [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [INFO] [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [INFO] [DEBUG] Checking for pre-existing User-Agent configuration. [INFO] [DEBUG] Adding User-Agent configuration. [INFO] [DEBUG] not adding permissions …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.