|
|
-
missing artifiacts in the repository for hadoop-hdfs 0.23..0-SNAPSHOT
Shawna Qian 2011-09-09, 18:14
Hello:
I am trying to use this package here in my pom.xml. It is listed in the repository.apache.org. And I can browse it. <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs-test</artifactId> <version>0.23.0-SNAPSHOT</version> </dependency>
But when I compile my project, it kept saying this: [WARNING] The POM for org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.857s [INFO] Finished at: Fri Sep 09 10:58:27 PDT 2011 [INFO] Final Memory: 4M/39M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project yqatestng-minicluster: Could not resolve dependencies for project yahoo.yinst.yQATestNG_minicluster:yqatestng-minicluster:jar:2.6: The following artifacts could not be resolved: org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT: Could not find artifact org.apache.hadoop:hadoop-hdfs-test:pom:0.23.0-SNAPSHOT -> [Help 1]
But for this dependency: <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> <version>0.23.0-SNAPSHOT</version> </dependency> It works fine.
Can somebody help here? Thx Shawna
-
Re: missing artifiacts in the repository for hadoop-hdfs 0.23..0-SNAPSHOT
CHANG Lei 2011-09-11, 05:52
First mvn install, then you will pass the compilation
在 2011 9 10 02:15,"Shawna Qian" <[EMAIL PROTECTED]>���道: > Hello: > > I am trying to use this package here in my pom.xml. It is listed in the repository.apache.org. And I can browse it. > > > <dependency> > <groupId>org.apache.hadoop</groupId> > <artifactId>hadoop-hdfs-test</artifactId> > <version>0.23.0-SNAPSHOT</version> > </dependency> > > But when I compile my project, it kept saying this: > [WARNING] The POM for org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT is missing, no dependency information available > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2.857s > [INFO] Finished at: Fri Sep 09 10:58:27 PDT 2011 > [INFO] Final Memory: 4M/39M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project yqatestng-minicluster: Could not resolve dependencies for project yahoo.yinst.yQATestNG_minicluster:yqatestng-minicluster:jar:2.6: The following artifacts could not be resolved: org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT: Could not find artifact org.apache.hadoop:hadoop-hdfs-test:pom:0.23.0-SNAPSHOT -> [Help 1] > > > > But for this dependency: > <dependency> > <groupId>org.apache.hadoop</groupId> > <artifactId>hadoop-hdfs</artifactId> > <version>0.23.0-SNAPSHOT</version> > </dependency> > > > It works fine. > > Can somebody help here? > > > Thx > Shawna
-
Re: missing artifiacts in the repository for hadoop-hdfs 0.23..0-SNAPSHOT
Alejandro Abdelnur 2011-09-12, 13:52
Shawna,
The hadoop-hdfs TEST JAR shares the same group/name as the hadoop-hdfs JAR, it has a different 'type'. Following is how you should include it in your POM:
<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> <version>0.23.0-SNAPSHOT</version> <type>test-jar</type> <scope>test</scope> </dependency>
Thanks.
Alejandro
On Sat, Sep 10, 2011 at 10:52 PM, CHANG Lei <[EMAIL PROTECTED]> wrote:
> First mvn install, then you will pass the compilation > > 在 2011 9 10 02:15,"Shawna Qian" <[EMAIL PROTECTED]>写道: > > Hello: > > > > I am trying to use this package here in my pom.xml. It is listed in the > repository.apache.org. And I can browse it. > > > > > > <dependency> > > <groupId>org.apache.hadoop</groupId> > > <artifactId>hadoop-hdfs-test</artifactId> > > <version>0.23.0-SNAPSHOT</version> > > </dependency> > > > > But when I compile my project, it kept saying this: > > [WARNING] The POM for > org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT is missing, no > dependency information available > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 2.857s > > [INFO] Finished at: Fri Sep 09 10:58:27 PDT 2011 > > [INFO] Final Memory: 4M/39M > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal on project yqatestng-minicluster: Could > not resolve dependencies for project > yahoo.yinst.yQATestNG_minicluster:yqatestng-minicluster:jar:2.6: The > following artifacts could not be resolved: > org.apache.hadoop:hadoop-hdfs-test:jar:0.23.0-SNAPSHOT: Could not find > artifact org.apache.hadoop:hadoop-hdfs-test:pom:0.23.0-SNAPSHOT -> [Help 1] > > > > > > > > But for this dependency: > > <dependency> > > <groupId>org.apache.hadoop</groupId> > > <artifactId>hadoop-hdfs</artifactId> > > <version>0.23.0-SNAPSHOT</version> > > </dependency> > > > > > > It works fine. > > > > Can somebody help here? > > > > > > Thx > > Shawna >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext