Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .run/FreonStandalone.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="FreonStandalone" type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" value="org.apache.hadoop.ozone.freon.Freon" />
<module name="ozone-tools" />
<module name="ozone-freon" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing from #10881.

<option name="PROGRAM_PARAMETERS" value="-conf=hadoop-ozone/dev-support/intellij/ozone-site.xml rk" />
<option name="VM_PARAMETERS" value="-Dlog4j.configuration=file:hadoop-ozone/dev-support/intellij/log4j.properties" />
<extension name="coverage">
Expand Down
2 changes: 1 addition & 1 deletion .run/ScmRoles.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ScmRoles" type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" value="org.apache.hadoop.ozone.admin.OzoneAdmin" />
<module name="ozone-tools" />
<module name="ozone-cli-admin" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also included in #10881.

<option name="PROGRAM_PARAMETERS" value="-conf=hadoop-ozone/dev-support/intellij/ozone-site-ha.xml scm roles -id=scm-group" />
<option name="VM_PARAMETERS" value="-Dlog4j.configuration=file:hadoop-ozone/dev-support/intellij/log4j.properties" />
<extension name="coverage">
Expand Down
11 changes: 11 additions & 0 deletions hadoop-hdds/cli-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
13 changes: 13 additions & 0 deletions hadoop-hdds/rocks-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,19 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<phase>test-compile</phase>
<configuration>
<compilerArgs>
<arg>-h</arg>
<arg>${project.build.directory}/native/javah</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/cli-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/cli-debug/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/cli-repair/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/cli-shell/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/freon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions hadoop-ozone/vapor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1841,6 +1841,17 @@
</compilerArgs>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<compilerArgs>
<arg>-AartifactId=${project.artifactId}</arg>
</compilerArgs>
</configuration>
</execution>
Comment on lines +1844 to +1854

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These testCompile configurations cause warnings, please don't add them. See HDDS-14789.

[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ hdds-cli-common ---
...
[WARNING] The following options were not recognized by any processor: '[project]'

[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ hdds-client ---
...
[WARNING] The following options were not recognized by any processor: '[artifactId]'

</executions>
</plugin>
<plugin>
Expand Down