elek opened a new pull request #1335: URL: https://github.com/apache/hadoop-ozone/pull/1335
## What changes were proposed in this pull request? @ChenSammi 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) ```XML <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) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4127 ## How was this patch tested? ``` git checkout ozone-0.6.0 find . -name pom.xml -type f | xargs sed -i 's/0.6.0-SNAPSHOT/1.0.0/g' # apply this patch mvn clean install -DskipTests ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org