Please try mvn clean install -U to do a force update of your repo cache. On Thu, Aug 2, 2012 at 8:42 AM, George Forman <[email protected]>wrote:
> Hi gurus, > > I'm trying to create my own hbase sink implementing HbaseEventSerializer. > I am struggling with the correct dependencies within my pom file. > I am getting the following: > > [WARNING] The POM for > org.apache.flume:flume-ng-hbase-sink:jar:1.1.0-cdh4.0.0 is missing, no > dependency information available > ------------------------------------------------------------------------ > BUILD FAILURE > ------------------------------------------------------------------------ > Total time: 3.503s > Finished at: Thu Aug 02 10:20:03 EDT 2012 > Final Memory: 9M/495M > ------------------------------------------------------------------------ > [ERROR]Failed to execute goal on project flume-ng-myens-sink: Could not > resolve dependencies for project > com.my.sink.myens:flume-ng-myens-sink:jar:1.0: The following artifacts > could not be resolved: > org.apache.flume:flume-ng-hbase-sink:jar:1.1.0-cdh4.0.0, > org.apache.flume:flume-ng-sinks:jar:1.1.0-cdh4.0.0: Failure to find > org.apache.flume:flume-ng-hbase-sink:jar:1.1.0-cdh4.0.0 in > https://repository.cloudera.com/artifactory/cloudera-repos was cached in > the local repository, resolution will not be reattempted until the update > interval of cdh.repo has elapsed or updates are forced -> [Help 1] > > > My pom file contains > > <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> > <artifactId>flume-parent</artifactId> > <groupId>org.apache.flume</groupId> > <version>1.1.0-cdh4.0.0</version> > </parent> > > <groupId>com.my.sink.myens</groupId> > <artifactId>flume-ng-myens-sink</artifactId> > <version>1.0</version> > <name>Flume NG MyEns Sink</name> > > <dependencies> > > <dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-ng-sdk</artifactId> > </dependency> > <dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-ng-core</artifactId> > </dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-parent</artifactId> > </dependency>--> > <dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-ng-hbase-sink</artifactId> > <version>1.1.0-cdh4.0.0</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-ng-sinks</artifactId> > <version>1.1.0-cdh4.0.0</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>org.apache.flume</groupId> > <artifactId>flume-ng-configuration</artifactId> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <scope>test</scope> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > </dependency> > <dependency> > <groupId>org.apache.hadoop</groupId> > <artifactId>hadoop-common</artifactId> > <version>2.0.0-cdh4.0.0</version> > <scope>runtime</scope> > </dependency> > <!-- > <dependency> > <groupId>org.apache.hadoop</groupId> > <artifactId>hadoop-main</artifactId> > <version>2.0.0-cdh4.0.0</version> > <scope>runtime</scope> > </dependency> > --> > <dependency> > <groupId>org.apache.hbase</groupId> > <artifactId>hbase</artifactId> > <optional>true</optional> > </dependency> > > <dependency> > <groupId>org.apache.hbase</groupId> > <artifactId>hbase</artifactId> > <classifier>tests</classifier> > <scope>test</scope> > </dependency> > > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-log4j12</artifactId> > <scope>test</scope> > </dependency> > </dependencies> > </project> > >
