Displaying #maven/2017-04-11.log:

Tue Apr 11 00:46:20 2017  conan:Joined the channel
Tue Apr 11 00:56:21 2017  edvorg:Joined the channel
Tue Apr 11 00:58:03 2017  tang^:Joined the channel
Tue Apr 11 01:02:14 2017  edvorg:Joined the channel
Tue Apr 11 01:12:52 2017  ottO_:Joined the channel
Tue Apr 11 01:25:22 2017  tang^^:Joined the channel
Tue Apr 11 01:27:01 2017  oseph:Joined the channel
Tue Apr 11 01:50:03 2017  csanchez:Joined the channel
Tue Apr 11 02:47:00 2017  csanchez:Joined the channel
Tue Apr 11 03:02:32 2017  edvorg:Joined the channel
Tue Apr 11 04:35:22 2017  csanchez:Joined the channel
Tue Apr 11 04:57:59 2017  Keepa:Joined the channel
Tue Apr 11 05:11:50 2017  csanchez:Joined the channel
Tue Apr 11 06:01:59 2017  jsightler_afk:Joined the channel
Tue Apr 11 06:44:31 2017  csanchez:Joined the channel
Tue Apr 11 07:00:32 2017  ppalaga:Joined the channel
Tue Apr 11 07:02:29 2017  thc202:Joined the channel
Tue Apr 11 07:05:59 2017  csanchez:Joined the channel
Tue Apr 11 07:37:00 2017  bentech:Joined the channel
Tue Apr 11 07:40:16 2017  vtunka:Joined the channel
Tue Apr 11 07:56:13 2017  IRQ`:Joined the channel
Tue Apr 11 08:03:24 2017  paissad:Joined the channel
Tue Apr 11 08:25:26 2017  Guest4_:Joined the channel
Tue Apr 11 08:53:08 2017  csanchez:Joined the channel
Tue Apr 11 08:58:43 2017  keka:Joined the channel
Tue Apr 11 09:00:40 2017  vtunka:Joined the channel
Tue Apr 11 09:01:15 2017  keka:can you help me with this? https://pastebin.com/7wRsmziL
Tue Apr 11 09:02:42 2017  selckin:update java to 8
Tue Apr 11 09:07:01 2017  keka:I'm doing this with mvn clean install -DskipTests
Tue Apr 11 09:07:29 2017  keka:but in the same cmd window I do java -version
Tue Apr 11 09:07:36 2017  keka:and it says 1.8
Tue Apr 11 09:09:25 2017  keka:how do I make the mvn clean install use a specific jdk?
Tue Apr 11 09:09:44 2017  Maldivia:if you want to use aspectj with java 8 code, you need aspectj version 1.8 or higher
Tue Apr 11 09:14:02 2017  keka:I think the project actually builds with 1.6
Tue Apr 11 09:14:09 2017  keka:tried adding this
Tue Apr 11 09:14:10 2017  keka: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin>
Tue Apr 11 09:14:22 2017  keka:but it didn't work
Tue Apr 11 09:14:36 2017  selckin:then you'll need to use 1.6 jdk
Tue Apr 11 09:14:50 2017  keka:yeah I tried with that
Tue Apr 11 09:14:51 2017  keka: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin>
Tue Apr 11 09:15:01 2017  keka:and BOOOOOOOOOOOOOOOOOOOOOOOOOM same error
Tue Apr 11 09:15:14 2017  Maldivia:keka: that's NOT jdk6, that's saying "compile my classes to jdk 6 class format"
Tue Apr 11 09:15:28 2017  keka:so how do I make it use 1.6
Tue Apr 11 09:15:42 2017  Maldivia:keka: so either point your JAVA_HOME to a jdk6 installation. or change your dependency to a version of aspectj that support java 8
Tue Apr 11 09:18:47 2017  keka:Maldivia: it's strange https://snag.gy/QFmE1i.jpg
Tue Apr 11 09:19:17 2017  keka:Maldivia: I'm not sure if it's using 1.6 or 1.8
Tue Apr 11 09:19:23 2017  Maldivia:keka: no it's not; java looks at PATH not JAVA_HOME -- try: %JAVA_HOME%\bin\java -version
Tue Apr 11 09:19:46 2017  Maldivia:maven reads JAVA_HOME and calls the java there
Tue Apr 11 09:19:54 2017  keka:so that would use 1.6
Tue Apr 11 09:19:57 2017  keka:let's see
Tue Apr 11 09:20:07 2017  Maldivia:(remember to set JAVA_HOME in the same terminal as you're calling maven)
Tue Apr 11 09:21:16 2017  keka:lol still not working https://snag.gy/5YqVyW.jpg
Tue Apr 11 09:22:10 2017  selckin:set "JAVA_HOME=c;\lbalbal bala"
Tue Apr 11 09:22:15 2017  selckin:mind the quote locations
Tue Apr 11 09:24:37 2017  keka:lol the error changed https://snag.gy/XRQ8z7.jpg
Tue Apr 11 09:25:03 2017  selckin:you can figure that one out yourself
Tue Apr 11 09:25:30 2017  Maldivia:keka: well, you're not in your project dir right now... or are you trying to build java using maven ? :D
Tue Apr 11 09:25:38 2017  keka:ahh!!
Tue Apr 11 09:25:41 2017  keka:sorry
Tue Apr 11 09:28:24 2017  keka:it changed now
Tue Apr 11 09:28:25 2017  keka:https://snag.gy/Rkta2L.jpg
Tue Apr 11 09:29:46 2017  Maldivia:keka: well, not it's complaining that it cannot find a dependency, you should probably build that part first
Tue Apr 11 09:58:26 2017  keka:Maldivia: thanks a lot
Tue Apr 11 10:27:16 2017  olamy:Joined the channel
Tue Apr 11 10:56:12 2017  Yamakaja:Left the channel
Tue Apr 11 11:29:30 2017  masuberu:Joined the channel
Tue Apr 11 11:55:42 2017  synthroid:Joined the channel
Tue Apr 11 11:57:01 2017  LouisJBurton:Joined the channel
Tue Apr 11 11:58:43 2017  synthroi_:Joined the channel
Tue Apr 11 12:21:56 2017  Guest4:Joined the channel
Tue Apr 11 12:38:29 2017  [1]Keepa:Joined the channel
Tue Apr 11 12:39:55 2017  Seldon75:Joined the channel
Tue Apr 11 12:42:04 2017  Seldon75:if I have two projects in the same folder at paths /child-project/pom.xml and /parent-project/pom.xml and I go into the /parent-project folder and do ‘mvn install’ and then go to the /child-project dir and do ‘mvn install’ shouldn’t the child POM (whose <parent> points at /parent-project’s group and artifact Id) be able to resolve it’s parent
Tue Apr 11 12:42:05 2017  Seldon75:?
Tue Apr 11 12:42:45 2017  Seldon75:I’m getting “non-resolvable parent pom”
Tue Apr 11 12:46:33 2017  Maldivia:Seldon75: what's packaging type is the parent?
Tue Apr 11 12:47:09 2017  Seldon75:<packaging>pom</packaging?
Tue Apr 11 12:47:52 2017  Maldivia:Seldon75: considered providing the relative path to the parent?
Tue Apr 11 12:48:42 2017  Seldon75:I did consider it, but my boss prepared these POMs and he uses them in his projects; I’d rather avoid isplaying my ignorance if possible :)
Tue Apr 11 12:49:22 2017  Maldivia:Seldon75: well, it should be able to find it, assuming group/artifact/version is the same
Tue Apr 11 12:49:38 2017  Seldon75:ok, thanks for that; I’ll keep digging
Tue Apr 11 12:57:34 2017  TheCycoONE:Joined the channel
Tue Apr 11 13:07:07 2017  Hounddog:Joined the channel
Tue Apr 11 13:11:58 2017  Seldon75:found the problem
Tue Apr 11 13:12:09 2017  Seldon75:there was a -Dbuild.number variable in play...
Tue Apr 11 13:12:39 2017  Maldivia::D
Tue Apr 11 13:26:04 2017  troker:Joined the channel
Tue Apr 11 13:26:59 2017  vtunka:Joined the channel
Tue Apr 11 13:31:36 2017  jsightler:Joined the channel
Tue Apr 11 13:32:02 2017  TheCycoONE:Joined the channel
Tue Apr 11 13:33:28 2017  ottO_:Joined the channel
Tue Apr 11 13:37:57 2017  Maxel_:Joined the channel
Tue Apr 11 13:38:31 2017  jsightler_:Joined the channel
Tue Apr 11 13:39:36 2017  Maxels:Joined the channel
Tue Apr 11 14:20:59 2017  kranjcec:Joined the channel
Tue Apr 11 14:31:32 2017  LouisJBurton:Hi, If I have a POM that centrally controls dependency versions for my repository (my-project-bom), and I import it into depmgmt of other sibling artifacts, how can I ensure 'my-project-bom' is built first in the reactor before other artifacts. I don't see many examples where projects that import a POM to depmgmt from the same reactor have to declare it as a dependency also?
Tue Apr 11 14:34:31 2017  paissad:Joined the channel
Tue Apr 11 14:51:06 2017  vtunka:Joined the channel
Tue Apr 11 14:51:16 2017  Guest4:Joined the channel
Tue Apr 11 15:01:35 2017  TheCycoONE:Joined the channel
Tue Apr 11 15:03:09 2017  synthroid:Joined the channel
Tue Apr 11 15:23:13 2017  IRQ`:Joined the channel
Tue Apr 11 15:28:19 2017  TheCycoTWO:Joined the channel
Tue Apr 11 16:14:53 2017  jsightler_:Joined the channel
Tue Apr 11 16:15:24 2017  rdyer:Left the channel
Tue Apr 11 16:34:44 2017  Maxel_:Joined the channel
Tue Apr 11 16:38:23 2017  ottO_:Joined the channel
Tue Apr 11 16:41:21 2017  bobbyja:Joined the channel
Tue Apr 11 16:54:12 2017  bobbyja_:Joined the channel
Tue Apr 11 17:04:51 2017  bobbyja:Joined the channel
Tue Apr 11 18:05:23 2017  Sasazuka:Joined the channel
Tue Apr 11 18:09:08 2017  csanchez:Joined the channel
Tue Apr 11 18:48:25 2017  oseph:Joined the channel
Tue Apr 11 19:20:45 2017  cyberz:Joined the channel
Tue Apr 11 19:40:35 2017  csanchez:Joined the channel
Tue Apr 11 20:13:48 2017  Deadron:Joined the channel
Tue Apr 11 20:14:38 2017  Deadron:Anyone know how to retrieve project dependencies from inside a maven plugin but exclude the plugin dependencies?
Tue Apr 11 20:38:13 2017  Maxels:Joined the channel
Tue Apr 11 20:47:35 2017  n3p3nthess:Joined the channel
Tue Apr 11 21:46:54 2017  csanchez:Joined the channel
Tue Apr 11 22:08:53 2017  olamy:Joined the channel
Tue Apr 11 23:02:49 2017  Maxel_:Joined the channel
Tue Apr 11 23:06:13 2017  csanchez:Joined the channel

Comments