Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
output
Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:copy-dependencies (copy-jars) on project hdds-rocks-native: Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187.
The problem is specific to Java version only due to the activation of a different Maven profile. copy-jars is executed only with Java11+, so we don't see this with Java 8.
<id>java-11</id> <activation> <jdk>[11,]</jdk> <property> <name>rocks_tools_native</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-jars</id> <phase>process-sources</phase> <goals> <goal>copy-dependencies</goal> </goals>
Attachments
Issue Links
- relates to
-
HDDS-11054 native check fails with Java11+
- Resolved
- links to