Browse Source

HDDS-1910. Cannot build hadoop-hdds-config from scratch in IDEA

Signed-off-by: Anu Engineer <aengineer@apache.org>
Doroszlai, Attila 5 years ago
parent
commit
77d102ceba

+ 0 - 0
hadoop-hdds/config/src/main/resources/META-INF/services/javax.annotation.processing.Processor → hadoop-hdds/common/src/main/resources/META-INF/services/javax.annotation.processing.Processor


+ 0 - 21
hadoop-hdds/config/pom.xml

@@ -42,25 +42,4 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
 
 
   </dependencies>
   </dependencies>
 
 
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
-        <executions>
-        <execution>
-          <id>default-compile</id>
-          <phase>compile</phase>
-          <goals>
-            <goal>compile</goal>
-          </goals>
-          <configuration>
-            <!-- don't need to activate annotation processor (which may not be available yet) for compilation -->
-            <compilerArgument>-proc:none</compilerArgument>
-          </configuration>
-        </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
 </project>
 </project>

+ 16 - 0
hadoop-hdds/config/src/test/resources/META-INF/services/javax.annotation.processing.Processor

@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+org.apache.hadoop.hdds.conf.ConfigFileGenerator