[
https://issues.apache.org/jira/browse/MRELEASE-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003858#comment-15003858
]
Sébastien Piller edited comment on MRELEASE-926 at 11/13/15 11:14 AM:
----------------------------------------------------------------------
I have the same issue with a multi-module project.
{code}
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project
myproj-parent: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on
project submodule: Could not resolve dependencies for project
com.acme:submodule:jar:7.0.0-RC01: Could not find artifact
com.acme:othersubmodule:jar:7.0.0-RC01
{code}
The weird thing is it happens not in every project, but only one. I can't find
what is going on, the logs are not very usefull, but I keep searching...
Same structure, same parent-pom, same JDK/Maven/Plugins etc. version, and two
behaviors -_-''...
Any workaround will be greatly appreciated!
was (Author: [email protected]):
I have the same issue with a multi-module project.
{code}
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project
myproj-parent: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on
project submodule: Could not resolve dependencies for project
com.acme:submodule:jar:7.0.0-RC01: Could not find artifact
com.acme:othersubmodule:jar:7.0.0-RC01
{code}
The weird thing is it happens not in every project, but only one. I can't find
what is going on, the logs are not very usefull, but I keep searching...
Any workaround will be greatly appreciated!
> 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
> Assignee: Karl Heinz Marbaise
> Attachments: example.tar.gz, result.txt
>
>
> 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)