You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/10/13 15:08:05 UTC
[jira] [Comment Edited] (MRELEASE-926) Multi project release fails
if site declared in pom.xml
[ https://issues.apache.org/jira/browse/MRELEASE-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954887#comment-14954887 ]
Michael Osipov edited comment on MRELEASE-926 at 10/13/15 1:07 PM:
-------------------------------------------------------------------
This demo project is pointless because it runs in your environment (Nexus, Subversion) only. Rather add debug output and remove sensitive information.
was (Author: michael-o):
This demo project is pointless because it runs in your environment (Nexus, Subversion) only. Rather add debug output and remove sinsitive information.
> Multi project release fails if site declared in pom.xml
> -------------------------------------------------------
>
> Key: MRELEASE-926
> URL: https://issues.apache.org/jira/browse/MRELEASE-926
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.5.2
> Environment: java 1.8.0_60
> Maven 3.3.3
> Ubuntu
> Reporter: Nicolai Marck Ă˜dum
> Attachments: example.tar.gz
>
>
> I can do
> mvn release:prepare
> mvn release:perform
> If i include
> <site>
> <id>site</id>
> <name>My site server</name>
> <url>scpexe://mysite.com/var/www/html</url>
> </site>
> in the parent pom I can do a
> mvn release:prepare
> but mvn release:perform fails
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> [INFO] [INFO] My parent .......................................... FAILURE [ 7.363 s]
> [INFO] [INFO] common ............................................. SKIPPED
> [INFO] [INFO] Web Application Project ............................ SKIPPED
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 7.723 s
> [INFO] [INFO] Finished at: 2015-10-13T11:06:32+02:00
> [INFO] [INFO] Final Memory: 32M/393M
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project my-parent: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on project my-webapp: Could not resolve dependencies for project example:my-webapp:war:1.0.9: Could not find artifact example:my-common:jar:1.0.9 in repo (https://myrepo.com/content/groups/public/)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)