Skip to content

[MRELEASE-926] Multi project release fails if site declared in pom.xml #1082

@jira-importer

Description

@jira-importer

Nicolai Marck Ødum opened MRELEASE-926 and commented

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/)


Affects: 2.5.2

Attachments:

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions