Hi Otto, Agreed, the project should not be coupled to the IDE we are using. I had got the same dependency error when I tried to build the project using the Maven CLI on my workstation. I will check it on another system. Maybe that was an issue with my workstation.
Cheers, Ali On Mon, Apr 10, 2017 at 12:19 PM, Otto Fowler <ottobackwa...@gmail.com> wrote: > The refections problem is a problem with intellij. > You should *not* change the pom. Also, cli maven is the standard target > for the project, and IDE-isms shouldn’t creep in (IMHO) > > "1. Navigate to Project Structure > metron-rest > Dependencies > 2. Add a new dependency of type Library > 3. Create a new Library of type Java > 4. Select > "~/.m2/repository/org/apache/metron/metron-common/0.3.1/ > metron-common-0.3.1.jar" > 5. Apply “ > > I’m not sure about the guava. > > > On April 9, 2017 at 07:59:13, Ali Nazemian (alinazem...@gmail.com) wrote: > > Hi Casey, > > I have fixed them on my local branch. Two dependencies were missing in my > local branch. Probably it is not quite same as the version which has been > deployed to Travis. Maybe some of the JAR files are not quite updated... > > metron-rest module: > > <dependency> > <groupId>org.reflections</groupId> > <artifactId>reflections</artifactId> > <version>0.9.10</version> > </dependency> > > metron-storm-kafka: > > <dependency> > <groupId>com.google.guava</groupId> > <artifactId>guava</artifactId> > <version>${global_guava_version}</version> > </dependency> > > > Anyway, now I can build Metron packages in my workstation. > > Thanks, > > Ali > > > On Sun, Apr 9, 2017 at 12:40 AM, Ali Nazemian <alinazem...@gmail.com> > wrote: > >> Hi Casey, >> >> For example in "SensorParserConfigServiceImpl" class, I've got compile >> error on "import org.reflections.Reflections;" that class does not >> exist! I am using IntelliJ Maven plugin. >> >> Cheers, >> Ali >> >> On Sat, Apr 8, 2017 at 7:37 PM, Casey Stella <ceste...@gmail.com> wrote: >> >>> Hi Ali, >>> >>> Master does get compiled and have its unit tests run in Travis for every >>> commit, so it should compile. What are you seeing in terms of error and how >>> are you compiling? >>> >>> On Sat, Apr 8, 2017 at 04:56 Ali Nazemian <alinazem...@gmail.com> wrote: >>> >>>> Hi all, >>>> >>>> I am trying to get familiar with Metron source code with using the >>>> Master branch and implementing a few parsers for a start. I have noticed >>>> this branch has some compile error that blocks the build process. I was >>>> wondering if there is a more stable branch that I can use for my purpose. >>>> >>>> Cheers, >>>> Ali >>>> >>> >> >> >> -- >> A.Nazemian >> > > > > -- > A.Nazemian > > -- A.Nazemian