[ https://issues.apache.org/jira/browse/HDDS-10118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai reassigned HDDS-10118: --------------------------------------- Assignee: Swaminathan Balachandran > hdds-rocks-native fails to build with Java11+ > --------------------------------------------- > > Key: HDDS-10118 > URL: https://issues.apache.org/jira/browse/HDDS-10118 > Project: Apache Ozone > Issue Type: Sub-task > Components: build > Reporter: Attila Doroszlai > Assignee: Swaminathan Balachandran > Priority: Major > > {code:title=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. > {code} > 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. > {code:title=https://github.com/apache/ozone/blob/838cc2691b0652ade8de13c0c6156d4ca1b64751/hadoop-hdds/rocks-native/pom.xml#L436-L454} > <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> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org