Marton Elek created HDDS-4127: --------------------------------- Summary: Component with web interface should depend on hdds-docs Key: HDDS-4127 URL: https://issues.apache.org/jira/browse/HDDS-4127 Project: Hadoop Distributed Data Store Issue Type: Bug Reporter: Marton Elek Assignee: Marton Elek
[~sammichen] reported the problem that the ozone-0.6.0 branch couldn't be compiled after changing the version to 1.0.0. {code} [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:unpack (copy-common-html) on project hadoop-hdds-container-service: Unable to find/resolve artifact.: Could not find artifact org.apache.hadoop:hadoop-hdds-docs:jar:1.0.0 in apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots) -> [Help 1] [ERROR] {code} Web components include the compiled docs (in case of hugo is on the path) {code} <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-common-html</id> <phase>prepare-package</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdds-server-framework</artifactId> <outputDirectory>${project.build.outputDirectory} </outputDirectory> <includes>webapps/static/**/*.*</includes> </artifactItem> <artifactItem> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdds-docs</artifactId> <outputDirectory>${project.build.outputDirectory}/webapps/ozoneManager</outputDirectory> <includes>docs/**/*.*</includes> </artifactItem> </artifactItems> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> {code} But the explicit dependency between the container-service and hdds-docs accidentally missing. With adding a provided dependency, it can be fixed (maven will compile hdds-docs first) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org