Pedro Vieira Silva created MSITE-751: ----------------------------------------
Summary: Site generation fails with source directory not foun on multi Key: MSITE-751 URL: https://issues.apache.org/jira/browse/MSITE-751 Project: Maven Site Plugin Issue Type: Bug Components: Maven 3, multi module Affects Versions: 3.4 Environment: Windows 10, JDK8, Maven 3.3.3 Reporter: Pedro Vieira Silva Priority: Blocker Fix For: 3.4.1 When building site for a multimodule project maven site:site fails with the following error: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project eclipse: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4:site failed: Source directory 'D:\test-project\target\classes' not exists -> [Help 1] {noformat} The parent project has packaging pom so it hasn't any target/classes directory inside it ...But test-project has several subprojects inside it that in turn have packaging type set to jar. My maven configuration is as follows: {code:xml} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <configuration> <failOnError>false</failOnError> </configuration> <executions> <execution> <id>aggregate</id> <goals> <goal>aggregate</goal> </goals> <phase>site</phase> </execution> </executions> </plugin> [..] <distributionManagement> <site> <id>test-project-site</id> <name>My Site</name> <url>file:///var/www/html/test-project</url> </site> </distributionManagement> {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)