Hi,

I have a multi-module project that has following structure

repository4hibernate
  + repository4hibernate-shared
  + repository4hibernate-api

when I try to perform release

When I run:
mvn release:clean release:prepare release:perform

I receive following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
project repository4hibernate-parent: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal
on project repository4hibernate: Could not resolve dependencies for
project net.sf.r4h:repository4hibernate:jar:4.1.21: Could not find
artifact net.sf.r4h:repository4hibernate-shared:jar:4.1.21 in central
(http://repo.maven.apache.org/maven2) -> [Help 1]


However when I run
mvn release:clean release:prepare release:perform -Dgoals=deploy

everything goes fine.

The question is, why the site plugin fails to find the artifact and
how to make release plugin to deploy the site during the release
process?

here is the project source repository
http://sourceforge.net/p/r4h/code/ci/dab65bf55bc93d14f6deffac254b71371203713f/tree/

here is the parent pom
https://sourceforge.net/p/r4h/code/ci/dab65bf55bc93d14f6deffac254b71371203713f/tree/pom.xml


Thanks in advance.

Regards,
Vitaliy S

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to