Apache Hadoop Annotations.
Here is the list of declaration for hadoop-annotations. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-annotations</artifactId> <version>2.2.0</version> </dependency>
If you think this Maven repository POM file listing for hadoop-annotations is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The following packages are defined in the hadoop-annotations-2.2.0.jar
org.apache.hadoop.classification org.apache.hadoop.classification.tools
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed 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. See accompanying LICENSE file. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-project</artifactId> <version>2.2.0</version> <relativePath>../../hadoop-project</relativePath> </parent> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-annotations</artifactId> <version>2.2.0</version> <description>Apache Hadoop Annotations</description> <name>Apache Hadoop Annotations</name> <packaging>jar</packaging> <dependencies> <dependency> <groupId>jdiff</groupId> <artifactId>jdiff</artifactId> <scope>provided</scope> </dependency> </dependencies> <profiles> <profile> <id>os.linux</id> <activation> <os> <family>!Mac</family> </os> </activation> <dependencies> <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.tools</artifactId> <version>1.6</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> <profile> <id>jdk1.7</id> <activation> <jdk>1.7</jdk> </activation> <dependencies> <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.tools</artifactId> <version>1.7</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </profile> </profiles> </project>