Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
sammichen reported the problem that the ozone-0.6.0 branch couldn't be compiled after changing the version to 1.0.0.
[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]
Web components include the compiled docs (in case of hugo is on the path)
<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>
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)
Attachments
Issue Links
- links to