Re: Trying to run test Storm App on Windows but getting problems with POM file
Finally I solved the problem, I had tried building storm-starter before the main storm project. I just removed the previous folder with all of its files, extracted a new one from the incubator-storm.rar and did the build succesfully. But when I make the eclipse project files via the command "mvn eclipse:eclipse" inside the storm-starter folder and then I open it on Eclipse IDE Indigo I get errors like "Class missing, Fix Project Setup etc". I figured it out that in the build path were a bunch of M2_HOME .jar files but I dont know if the problem has to do with the ordering or anything else. On Wed, Sep 17, 2014 at 1:57 AM, Gezim Musliaj wrote: > Yes, Im running it from top level dir (incubator-storm) with the following > command: mvn clean install -DskipTests=true > and still cant get it to work properly, I have tried to build it from the > storm-starter and still the same, keeps telling me there is an error with > dependencies. > > On Wed, Sep 17, 2014 at 1:45 AM, Harsha wrote: > >> Hi , >> Did you changed storm/pom.xml >> org.apache.storm >> storm >> 0.9.3-incubating-SNAPSHOT >> >> and also are your running mvn install from top-level dir not from >> storm-starter. >> -Harsha >> >> On Tue, Sep 16, 2014, at 03:12 PM, Gezim Musliaj wrote: >> >> I have been following these instructions: >> >> >> If you are using the latest development version of Storm, e.g. by having >> cloned the Storm git repository, then you must first perform a local build >> of Storm itself. Otherwise you will run into Maven errors such as "Could >> not resolve dependencies for project >> org.apache.storm:storm-starter:-SNAPSHOT". >> >> # Must be run from the top-level directory of the Storm code repository >> $ mvn clean install -DskipTests=true >> >> This command will build Storm locally and install its jar files to your >> user's $HOME/.m2/repository/. When you run the Maven command to build >> and run storm-starter (see below), Maven will then be able to find the >> corresponding version of Storm in this local Maven repository at >> $HOME/.m2/repository. >> >> From >> https://github.com/apache/incubator-storm/tree/master/examples/storm-starter >> >> On Wed, Sep 17, 2014 at 12:02 AM, Nick Beenham >> wrote: >> >> I think you'll need to build and install in your local maven repo, i dont >> think 0.9.3 is in maven central. >> >> On Tue, Sep 16, 2014 at 4:47 PM, Gezim Musliaj >> wrote: >> >> [INFO] Scanning for projects... >> [INFO] >> [INFO] >> >> [INFO] Building storm-starter 0.9.3-incubating-SNAPSHOT >> [INFO] >> >> [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.3-incubating is >> missin >> g, no dependency information available >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 1.193 s >> [INFO] Finished at: 2014-09-16T22:39:58+02:00 >> [INFO] Final Memory: 8M/113M >> [INFO] >> >> [ERROR] Failed to execute goal on project storm-starter: Could not >> resolve depen >> dencies for project >> org.apache.storm:storm-starter:jar:0.9.3-incubating-SNAPSHOT >> : Failure to find org.apache.storm:storm-core:jar:0.9.3-incubating in >> http://rep >> o1.maven.org/maven2/ was cached in the local repository, resolution will >> not be >> reattempted until the update interval of central has elapsed or updates >> are forc >> ed -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e swit >> ch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please rea >> d the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso >> lutionException >> >> >> = >> I have tried the solution provided by " >> http://mail-archives.apache.org/mod_mbox/storm-user/201404.mbox/%3CCALFqTqR7HeZ=k2cdrtbq_ntw52yppokaska_hzrjgf+qrh2...@mail.gmail.com%3E >> " >> by addind the given rows and by changing the version to 0.9.3 (because in >> the solution email is 0.9.1). >> >> Thanks in advance! >> >> >> >> >> >> >> > >
Re: Trying to run test Storm App on Windows but getting problems with POM file
Yes, Im running it from top level dir (incubator-storm) with the following command: mvn clean install -DskipTests=true and still cant get it to work properly, I have tried to build it from the storm-starter and still the same, keeps telling me there is an error with dependencies. On Wed, Sep 17, 2014 at 1:45 AM, Harsha wrote: > Hi , > Did you changed storm/pom.xml > org.apache.storm > storm > 0.9.3-incubating-SNAPSHOT > > and also are your running mvn install from top-level dir not from > storm-starter. > -Harsha > > On Tue, Sep 16, 2014, at 03:12 PM, Gezim Musliaj wrote: > > I have been following these instructions: > > > If you are using the latest development version of Storm, e.g. by having > cloned the Storm git repository, then you must first perform a local build > of Storm itself. Otherwise you will run into Maven errors such as "Could > not resolve dependencies for project > org.apache.storm:storm-starter:-SNAPSHOT". > > # Must be run from the top-level directory of the Storm code repository > $ mvn clean install -DskipTests=true > > This command will build Storm locally and install its jar files to your > user's $HOME/.m2/repository/. When you run the Maven command to build and > run storm-starter (see below), Maven will then be able to find the > corresponding version of Storm in this local Maven repository at > $HOME/.m2/repository. > > From > https://github.com/apache/incubator-storm/tree/master/examples/storm-starter > > On Wed, Sep 17, 2014 at 12:02 AM, Nick Beenham > wrote: > > I think you'll need to build and install in your local maven repo, i dont > think 0.9.3 is in maven central. > > On Tue, Sep 16, 2014 at 4:47 PM, Gezim Musliaj wrote: > > [INFO] Scanning for projects... > [INFO] > [INFO] > > [INFO] Building storm-starter 0.9.3-incubating-SNAPSHOT > [INFO] > > [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.3-incubating is > missin > g, no dependency information available > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.193 s > [INFO] Finished at: 2014-09-16T22:39:58+02:00 > [INFO] Final Memory: 8M/113M > [INFO] > > [ERROR] Failed to execute goal on project storm-starter: Could not resolve > depen > dencies for project > org.apache.storm:storm-starter:jar:0.9.3-incubating-SNAPSHOT > : Failure to find org.apache.storm:storm-core:jar:0.9.3-incubating in > http://rep > o1.maven.org/maven2/ was cached in the local repository, resolution will > not be > reattempted until the update interval of central has elapsed or updates > are forc > ed -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso > lutionException > > > = > I have tried the solution provided by " > http://mail-archives.apache.org/mod_mbox/storm-user/201404.mbox/%3CCALFqTqR7HeZ=k2cdrtbq_ntw52yppokaska_hzrjgf+qrh2...@mail.gmail.com%3E > " > by addind the given rows and by changing the version to 0.9.3 (because in > the solution email is 0.9.1). > > Thanks in advance! > > > > > > >
Re: Trying to run test Storm App on Windows but getting problems with POM file
Hi , Did you changed storm/pom.xml org.apache.storm storm 0.9.3-incubating-SNAPSHOT and also are your running mvn install from top-level dir not from storm-starter. -Harsha On Tue, Sep 16, 2014, at 03:12 PM, Gezim Musliaj wrote: I have been following these instructions: If you are using the latest development version of Storm, e.g. by having cloned the Storm git repository, then you must first perform a local build of Storm itself. Otherwise you will run into Maven errors such as "Could not resolve dependencies for project org.apache.storm:storm-starter:-SNAPSHOT ". # Must be run from the top-level directory of the Storm code repository $ mvn clean install -DskipTests=true This command will build Storm locally and install its jar files to your user's $HOME/.m2/repository/. When you run the Maven command to build and run storm-starter (see below), Maven will then be able to find the corresponding version of Storm in this local Maven repository at $HOME/.m2/repository. >From [1]https://github.com/apache/incubator-storm/tree/master/e xamples/storm-starter On Wed, Sep 17, 2014 at 12:02 AM, Nick Beenham <[2]nick.been...@gmail.com> wrote: I think you'll need to build and install in your local maven repo, i dont think 0.9.3 is in maven central. On Tue, Sep 16, 2014 at 4:47 PM, Gezim Musliaj <[3]gmusl...@gmail.com> wrote: [INFO] Scanning for projects... [INFO] [INFO] --- - [INFO] Building storm-starter 0.9.3-incubating-SNAPSHOT [INFO] --- - [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.3-incubating is missin g, no dependency information available [INFO] --- - [INFO] BUILD FAILURE [INFO] --- - [INFO] Total time: 1.193 s [INFO] Finished at: 2014-09-16T22:39:58+02:00 [INFO] Final Memory: 8M/113M [INFO] --- - [ERROR] Failed to execute goal on project storm-starter: Could not resolve depen dencies for project org.apache.storm:storm-starter:jar:0.9.3-incubating-SNAPSHOT : Failure to find org.apache.storm:storm-core:jar:0.9.3-incubating in [4]http://rep [5]o1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forc ed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] [6]http://cwiki.apache.org/confluence/display/MAVEN/Dependen cyReso lutionException = I have tried the solution provided by " [7]http://mail-archives.apache.org/mod_mbox/storm-user/201404 .mbox/%3CCALFqTqR7HeZ=k2CdrTbq_NTW52YpPOkAsKa_HZrJGF+QRH2pDg@ma il.gmail.com%3E " by addind the given rows and by changing the version to 0.9.3 (because in the solution email is 0.9.1). Thanks in advance! References 1. https://github.com/apache/incubator-storm/tree/master/examples/storm-starter 2. mailto:nick.been...@gmail.com 3. mailto:gmusl...@gmail.com 4. http://rep/ 5. http://o1.maven.org/maven2/ 6. http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso 7. http://mail-archives.apache.org/mod_mbox/storm-user/201404.mbox/%3CCALFqTqR7HeZ=k2cdrtbq_ntw52yppokaska_hzrjgf+qrh2...@mail.gmail.com%3E
Re: Trying to run test Storm App on Windows but getting problems with POM file
I have been following these instructions: If you are using the latest development version of Storm, e.g. by having cloned the Storm git repository, then you must first perform a local build of Storm itself. Otherwise you will run into Maven errors such as "Could not resolve dependencies for project org.apache.storm:storm-starter:-SNAPSHOT". # Must be run from the top-level directory of the Storm code repository $ mvn clean install -DskipTests=true This command will build Storm locally and install its jar files to your user's $HOME/.m2/repository/. When you run the Maven command to build and run storm-starter (see below), Maven will then be able to find the corresponding version of Storm in this local Maven repository at $HOME/.m2/repository. From https://github.com/apache/incubator-storm/tree/master/examples/storm-starter On Wed, Sep 17, 2014 at 12:02 AM, Nick Beenham wrote: > I think you'll need to build and install in your local maven repo, i dont > think 0.9.3 is in maven central. > > On Tue, Sep 16, 2014 at 4:47 PM, Gezim Musliaj wrote: > >> [INFO] Scanning for projects... >> [INFO] >> [INFO] >> >> [INFO] Building storm-starter 0.9.3-incubating-SNAPSHOT >> [INFO] >> >> [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.3-incubating is >> missin >> g, no dependency information available >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 1.193 s >> [INFO] Finished at: 2014-09-16T22:39:58+02:00 >> [INFO] Final Memory: 8M/113M >> [INFO] >> >> [ERROR] Failed to execute goal on project storm-starter: Could not >> resolve depen >> dencies for project >> org.apache.storm:storm-starter:jar:0.9.3-incubating-SNAPSHOT >> : Failure to find org.apache.storm:storm-core:jar:0.9.3-incubating in >> http://rep >> o1.maven.org/maven2/ was cached in the local repository, resolution will >> not be >> reattempted until the update interval of central has elapsed or updates >> are forc >> ed -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e swit >> ch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please rea >> d the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso >> lutionException >> >> >> = >> I have tried the solution provided by " >> http://mail-archives.apache.org/mod_mbox/storm-user/201404.mbox/%3CCALFqTqR7HeZ=k2cdrtbq_ntw52yppokaska_hzrjgf+qrh2...@mail.gmail.com%3E >> " >> by addind the given rows and by changing the version to 0.9.3 (because in >> the solution email is 0.9.1). >> >> Thanks in advance! >> > >
Re: Trying to run test Storm App on Windows but getting problems with POM file
I think you'll need to build and install in your local maven repo, i dont think 0.9.3 is in maven central. On Tue, Sep 16, 2014 at 4:47 PM, Gezim Musliaj wrote: > [INFO] Scanning for projects... > [INFO] > [INFO] > > [INFO] Building storm-starter 0.9.3-incubating-SNAPSHOT > [INFO] > > [WARNING] The POM for org.apache.storm:storm-core:jar:0.9.3-incubating is > missin > g, no dependency information available > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.193 s > [INFO] Finished at: 2014-09-16T22:39:58+02:00 > [INFO] Final Memory: 8M/113M > [INFO] > > [ERROR] Failed to execute goal on project storm-starter: Could not resolve > depen > dencies for project > org.apache.storm:storm-starter:jar:0.9.3-incubating-SNAPSHOT > : Failure to find org.apache.storm:storm-core:jar:0.9.3-incubating in > http://rep > o1.maven.org/maven2/ was cached in the local repository, resolution will > not be > reattempted until the update interval of central has elapsed or updates > are forc > ed -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso > lutionException > > > = > I have tried the solution provided by " > http://mail-archives.apache.org/mod_mbox/storm-user/201404.mbox/%3CCALFqTqR7HeZ=k2cdrtbq_ntw52yppokaska_hzrjgf+qrh2...@mail.gmail.com%3E > " > by addind the given rows and by changing the version to 0.9.3 (because in > the solution email is 0.9.1). > > Thanks in advance! >