Displaying #maven/2017-02-27.log:

Mon Feb 27 01:07:00 2017  csanchez:Joined the channel
Mon Feb 27 01:42:28 2017  csingh:Joined the channel
Mon Feb 27 01:54:57 2017  csanchez:Joined the channel
Mon Feb 27 02:07:36 2017  csingh:Joined the channel
Mon Feb 27 02:07:58 2017  csingh:Left the channel
Mon Feb 27 02:10:25 2017  conan:Joined the channel
Mon Feb 27 02:31:00 2017  csanchez:Joined the channel
Mon Feb 27 03:07:04 2017  csanchez:Joined the channel
Mon Feb 27 03:31:20 2017  csanchez:Joined the channel
Mon Feb 27 06:14:47 2017  csanchez:Joined the channel
Mon Feb 27 06:27:29 2017  ppalaga:Joined the channel
Mon Feb 27 07:38:04 2017  thc202:Joined the channel
Mon Feb 27 08:03:30 2017  edvorg-:Joined the channel
Mon Feb 27 08:07:06 2017  edvorg:Joined the channel
Mon Feb 27 08:47:20 2017  TomyWork:Joined the channel
Mon Feb 27 08:49:22 2017  jpoth:Joined the channel
Mon Feb 27 09:11:06 2017  stephenc:Joined the channel
Mon Feb 27 09:20:10 2017  Keepa:Joined the channel
Mon Feb 27 09:21:32 2017  vtunka:Joined the channel
Mon Feb 27 10:13:31 2017  olamy:Joined the channel
Mon Feb 27 10:52:38 2017  vtunka:Joined the channel
Mon Feb 27 11:07:54 2017  Masber:Joined the channel
Mon Feb 27 11:52:38 2017  isavin:Joined the channel
Mon Feb 27 11:52:38 2017  isavin:Joined the channel
Mon Feb 27 11:58:30 2017  [1]Keepa:Joined the channel
Mon Feb 27 12:16:24 2017  csanchez:Joined the channel
Mon Feb 27 12:19:37 2017  conan:Joined the channel
Mon Feb 27 12:31:19 2017  [1]Keepa:Joined the channel
Mon Feb 27 12:42:09 2017  [1]Keepa:Joined the channel
Mon Feb 27 12:45:16 2017  lilalinux:Joined the channel
Mon Feb 27 12:45:37 2017  fedruantine:Joined the channel
Mon Feb 27 12:46:16 2017  lilalinuxHamburg:Joined the channel
Mon Feb 27 12:57:30 2017  vtunka:Joined the channel
Mon Feb 27 13:00:29 2017  Masber:Joined the channel
Mon Feb 27 13:03:31 2017  csanchez:Joined the channel
Mon Feb 27 13:03:44 2017  Pete_:Joined the channel
Mon Feb 27 13:13:04 2017  Pete_:Hello everyone! I'm currently migrating a rather simple javaproject from ant to maven. I've read a few books and looked into some tutorials but am really stumped.
Mon Feb 27 13:13:56 2017  Pete_:The project is library with different jar for tasks like database connection, xmlparsing etc.. but some on these depend on each other
Mon Feb 27 13:14:44 2017  Pete_:I thought that every package and resulting *.jar in maven should be an extra module with an parent POM
Mon Feb 27 13:15:22 2017  Pete_:but the modules seem to hang on the dependencies and I just can't get them to find each other
Mon Feb 27 13:17:11 2017  Pete_:Does someone know if my concept of maven is just wrong or if there is a better suited approach?
Mon Feb 27 13:35:02 2017  Maldivia:Pete_: you have circular dependencies between the modules?
Mon Feb 27 13:37:02 2017  Pete_:i got a 2 core modules which compile fine and create jars
Mon Feb 27 13:37:17 2017  Pete_:But the other modules depend on these.
Mon Feb 27 13:38:11 2017  Maldivia:Pete_: as long as you don't have module A depending on B that depends on A, you should be fine
Mon Feb 27 13:38:53 2017  Pete_:As far as I gathered once a "mvn clean install" happened i should be able to compile the others, but the output always points to them not finding the core modules
Mon Feb 27 13:39:06 2017  Maldivia:Pete_: make a parent pom, and have your individual modules listed as modules in that, and then set the dependencies in each module -- when building, maven should scan the structure and detect the correct order to build in
Mon Feb 27 13:40:30 2017  Pete_:So just because they share a parent pom doesn't mean they can access each other? That could be the mistake..
Mon Feb 27 13:40:56 2017  Maldivia:if the parent pom, declares them as <modules> -- then they should
Mon Feb 27 13:42:31 2017  Pete_:Maybe I got the groupId wrong.. right now they are like "company.project.base" and every module is "company.project.base.modulename". Is that wrong?
Mon Feb 27 13:46:58 2017  Pete_:So I cut it down to just one core module and another module that only needs it
Mon Feb 27 13:47:08 2017  Pete_:Both are declared as modules in the pom
Mon Feb 27 13:47:22 2017  Pete_:Both have the parent declared in their poms
Mon Feb 27 13:47:50 2017  Pete_:and the dependency is declared in the modules pom
Mon Feb 27 13:48:02 2017  Maldivia:Pete_: mockup example: https://www.hastebin.com/favuvinewe.xml
Mon Feb 27 13:48:17 2017  Pete_:But the error still reads "package packagename does not exist"
Mon Feb 27 13:50:20 2017  Pete_:ahh okay, I'll try it like this. Thank you for your time and effort!
Mon Feb 27 13:55:51 2017  Pete_:It's working! Thank you so much
Mon Feb 27 14:00:28 2017  vtunka:Joined the channel
Mon Feb 27 14:09:00 2017  csingh:Joined the channel
Mon Feb 27 14:52:48 2017  conan:Joined the channel
Mon Feb 27 14:55:29 2017  jdcasey:Joined the channel
Mon Feb 27 14:57:25 2017  vtunka:Joined the channel
Mon Feb 27 15:50:38 2017  conan:Joined the channel
Mon Feb 27 16:53:40 2017  Keepa:Joined the channel
Mon Feb 27 17:07:24 2017  tang^:Joined the channel
Mon Feb 27 17:55:18 2017  hboutemy:Joined the channel
Mon Feb 27 19:08:28 2017  Sasazuka:Joined the channel
Mon Feb 27 19:21:50 2017  edvorg:Joined the channel
Mon Feb 27 19:25:55 2017  bentech:Joined the channel
Mon Feb 27 19:45:41 2017  bentech:Joined the channel
Mon Feb 27 20:18:08 2017  Maxel:Joined the channel
Mon Feb 27 20:42:27 2017  ppalaga_away:Left the channel
Mon Feb 27 21:09:09 2017  Sasazuka:Joined the channel
Mon Feb 27 22:35:14 2017  nicoulaj:Joined the channel
Mon Feb 27 23:19:08 2017  olamy:Joined the channel

Comments