You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Kevin Hill <hi...@gmail.com> on 2014/08/20 19:53:33 UTC

Storm of Maven issue?

Hello all, I’m brand new to Storm (and Maven) so this might be a more basic
issue, but I’d love a bit of help. I’m trying to make my own project to
house some topos. My understanding is that the best way to do this is to
use Maven and include storm as a dependency.  The docs here:
https://storm.incubator.apache.org/documentation/Maven.html seem a bit out
of date, and I think missing some formatting for xml file code snippets,
but I’ve searched around and think they are now hosted at
org.apache.storm:storm. My problem is that Maven can’t seem to find them at
any location. I get the following error message whenever I try to compile
with ‘mvn compile'


"[ERROR] Failed to execute goal on project rtspCluster: Could not resolve
dependencies for project fitnet:rtspCluster:jar:0.1-alpha: Could not find
artifact org.apache.storm:storm:jar:0.9.2-incubating -> [Help 1]”


I’ve also tried other storm repos I’ve found at storm:storm:0.9.0.1 etc,
all to the same effect. I’m guessing if I ask on Maven lists they will just
say ‘contact the repo maintainers’ but it seems like this must be something
super basic. What am I missing?


-Kevin

Re: Storm of Maven issue?

Posted by Kevin Hill <hi...@gmail.com>.
ah ha! worked. knew it'd be one of those 'obvious in hindsight' things.
Thanks! Might want to get someone to update the maven docs page.


On Wed, Aug 20, 2014 at 2:15 PM, Parth Brahmbhatt <
pbrahmbhatt@hortonworks.com> wrote:

> Try changing <artifactId>storm</artifactId> to
> <artifactId>storm-core</artifactId>
>
> Thanks
> Parth
> On Aug 20, 2014, at 11:04 AM, Kevin Hill <hi...@gmail.com> wrote:
>
> Sure, figured txt in msg was easiest:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <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>
>     <groupId>myProject</groupId>
>     <artifactId>rtspCluster</artifactId>
>     <version>0.1-alpha</version>
>     <packaging>jar</packaging>
>     <dependencies>
>         <dependency>
>             <groupId>org.apache.storm</groupId>
>             <artifactId>storm</artifactId>
>             <version>0.9.2-incubating</version>
>         </dependency>
>     </dependencies>
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>         <maven.compiler.source>1.7</maven.compiler.source>
>         <maven.compiler.target>1.7</maven.compiler.target>
>     </properties>
> </project>
>
>
> On Wed, Aug 20, 2014 at 1:58 PM, Parth Brahmbhatt <
> pbrahmbhatt@hortonworks.com> wrote:
>
>> Can you send you pom.xml?
>>
>> Thanks
>> Parth
>>
>> On Aug 20, 2014, at 10:53 AM, Kevin Hill <hi...@gmail.com> wrote:
>>
>> Hello all, I’m brand new to Storm (and Maven) so this might be a more
>> basic issue, but I’d love a bit of help. I’m trying to make my own project
>> to house some topos. My understanding is that the best way to do this is to
>> use Maven and include storm as a dependency.  The docs here:
>> https://storm.incubator.apache.org/documentation/Maven.html seem a bit
>> out of date, and I think missing some formatting for xml file code
>> snippets, but I’ve searched around and think they are now hosted at
>> org.apache.storm:storm. My problem is that Maven can’t seem to find them at
>> any location. I get the following error message whenever I try to compile
>> with ‘mvn compile'
>>
>>
>> "[ERROR] Failed to execute goal on project rtspCluster: Could not resolve
>> dependencies for project fitnet:rtspCluster:jar:0.1-alpha: Could not find
>> artifact org.apache.storm:storm:jar:0.9.2-incubating -> [Help 1]”
>>
>>
>> I’ve also tried other storm repos I’ve found at storm:storm:0.9.0.1 etc,
>> all to the same effect. I’m guessing if I ask on Maven lists they will just
>> say ‘contact the repo maintainers’ but it seems like this must be something
>> super basic. What am I missing?
>>
>>
>> -Kevin
>>
>>
>>
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity
>> to which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>
>
>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Re: Storm of Maven issue?

Posted by Parth Brahmbhatt <pb...@hortonworks.com>.
Try changing <artifactId>storm</artifactId> to <artifactId>storm-core</artifactId>

Thanks
Parth
On Aug 20, 2014, at 11:04 AM, Kevin Hill <hi...@gmail.com> wrote:

> Sure, figured txt in msg was easiest:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <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>
>     <groupId>myProject</groupId>
>     <artifactId>rtspCluster</artifactId>
>     <version>0.1-alpha</version>
>     <packaging>jar</packaging>
>     <dependencies>
>         <dependency>
>             <groupId>org.apache.storm</groupId>
>             <artifactId>storm</artifactId>
>             <version>0.9.2-incubating</version>
>         </dependency>
>     </dependencies>
>     <properties>
>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>         <maven.compiler.source>1.7</maven.compiler.source>
>         <maven.compiler.target>1.7</maven.compiler.target>
>     </properties>
> </project>
> 
> 
> On Wed, Aug 20, 2014 at 1:58 PM, Parth Brahmbhatt <pb...@hortonworks.com> wrote:
> Can you send you pom.xml? 
> 
> Thanks
> Parth
> 
> On Aug 20, 2014, at 10:53 AM, Kevin Hill <hi...@gmail.com> wrote:
> 
>> Hello all, I’m brand new to Storm (and Maven) so this might be a more basic issue, but I’d love a bit of help. I’m trying to make my own project to house some topos. My understanding is that the best way to do this is to use Maven and include storm as a dependency.  The docs here: https://storm.incubator.apache.org/documentation/Maven.html seem a bit out of date, and I think missing some formatting for xml file code snippets, but I’ve searched around and think they are now hosted at org.apache.storm:storm. My problem is that Maven can’t seem to find them at any location. I get the following error message whenever I try to compile with ‘mvn compile'
>> 
>> 
>> 
>> "[ERROR] Failed to execute goal on project rtspCluster: Could not resolve dependencies for project fitnet:rtspCluster:jar:0.1-alpha: Could not find artifact org.apache.storm:storm:jar:0.9.2-incubating -> [Help 1]”
>> 
>> 
>> 
>> I’ve also tried other storm repos I’ve found at storm:storm:0.9.0.1 etc, all to the same effect. I’m guessing if I ask on Maven lists they will just say ‘contact the repo maintainers’ but it seems like this must be something super basic. What am I missing?
>> 
>> 
>> 
>> -Kevin
>> 
> 
> 
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
> 


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Storm of Maven issue?

Posted by Kevin Hill <hi...@gmail.com>.
Sure, figured txt in msg was easiest:

<?xml version="1.0" encoding="UTF-8"?>
<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>
    <groupId>myProject</groupId>
    <artifactId>rtspCluster</artifactId>
    <version>0.1-alpha</version>
    <packaging>jar</packaging>
    <dependencies>
        <dependency>
            <groupId>org.apache.storm</groupId>
            <artifactId>storm</artifactId>
            <version>0.9.2-incubating</version>
        </dependency>
    </dependencies>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
    </properties>
</project>


On Wed, Aug 20, 2014 at 1:58 PM, Parth Brahmbhatt <
pbrahmbhatt@hortonworks.com> wrote:

> Can you send you pom.xml?
>
> Thanks
> Parth
>
> On Aug 20, 2014, at 10:53 AM, Kevin Hill <hi...@gmail.com> wrote:
>
> Hello all, I’m brand new to Storm (and Maven) so this might be a more
> basic issue, but I’d love a bit of help. I’m trying to make my own project
> to house some topos. My understanding is that the best way to do this is to
> use Maven and include storm as a dependency.  The docs here:
> https://storm.incubator.apache.org/documentation/Maven.html seem a bit
> out of date, and I think missing some formatting for xml file code
> snippets, but I’ve searched around and think they are now hosted at
> org.apache.storm:storm. My problem is that Maven can’t seem to find them at
> any location. I get the following error message whenever I try to compile
> with ‘mvn compile'
>
>
> "[ERROR] Failed to execute goal on project rtspCluster: Could not resolve
> dependencies for project fitnet:rtspCluster:jar:0.1-alpha: Could not find
> artifact org.apache.storm:storm:jar:0.9.2-incubating -> [Help 1]”
>
>
> I’ve also tried other storm repos I’ve found at storm:storm:0.9.0.1 etc,
> all to the same effect. I’m guessing if I ask on Maven lists they will just
> say ‘contact the repo maintainers’ but it seems like this must be something
> super basic. What am I missing?
>
>
> -Kevin
>
>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.

Re: Storm of Maven issue?

Posted by Parth Brahmbhatt <pb...@hortonworks.com>.
Can you send you pom.xml? 

Thanks
Parth
On Aug 20, 2014, at 10:53 AM, Kevin Hill <hi...@gmail.com> wrote:

> Hello all, I’m brand new to Storm (and Maven) so this might be a more basic issue, but I’d love a bit of help. I’m trying to make my own project to house some topos. My understanding is that the best way to do this is to use Maven and include storm as a dependency.  The docs here: https://storm.incubator.apache.org/documentation/Maven.html seem a bit out of date, and I think missing some formatting for xml file code snippets, but I’ve searched around and think they are now hosted at org.apache.storm:storm. My problem is that Maven can’t seem to find them at any location. I get the following error message whenever I try to compile with ‘mvn compile'
> 
> 
> 
> "[ERROR] Failed to execute goal on project rtspCluster: Could not resolve dependencies for project fitnet:rtspCluster:jar:0.1-alpha: Could not find artifact org.apache.storm:storm:jar:0.9.2-incubating -> [Help 1]”
> 
> 
> 
> I’ve also tried other storm repos I’ve found at storm:storm:0.9.0.1 etc, all to the same effect. I’m guessing if I ask on Maven lists they will just say ‘contact the repo maintainers’ but it seems like this must be something super basic. What am I missing?
> 
> 
> 
> -Kevin
> 


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.