提交 f32c4753 编写于 作者: T Till Rohrmann

Exclude netty and protobuf dependency from hadoop-commons-2.0.0-alpha

上级 0516d266
......@@ -16,4 +16,12 @@
# limitations under the License.
################################################################################
log4j.rootLogger=OFF
\ No newline at end of file
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=OFF, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
\ No newline at end of file
......@@ -368,6 +368,35 @@ under the License.
</properties>
</profile>
<profile>
<id>hadoop-2.0.0-alpha</id>
<activation>
<property>
<name>hadoop.version</name>
<value>2.0.0-alpha</value>
</property>
</activation>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>vendor-repos</id>
<!-- Add vendor maven repositories -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册