Displaying #maven/2017-06-13.log:

Tue Jun 13 01:58:23 2017  Lordz:Joined the channel
Tue Jun 13 02:37:35 2017  troker:Joined the channel
Tue Jun 13 04:33:20 2017  svm_invictvs:Joined the channel
Tue Jun 13 04:55:18 2017  Emma_Gination:Joined the channel
Tue Jun 13 05:07:39 2017  ppalaga:Joined the channel
Tue Jun 13 05:40:38 2017  fredcooke:Joined the channel
Tue Jun 13 06:21:45 2017  Emma_Gination:Joined the channel
Tue Jun 13 06:44:16 2017  cyberz:Joined the channel
Tue Jun 13 06:55:47 2017  acidjnk22:Joined the channel
Tue Jun 13 07:08:35 2017  thc202:Joined the channel
Tue Jun 13 07:10:32 2017  TomyWork:Joined the channel
Tue Jun 13 07:21:24 2017  jknetl:Joined the channel
Tue Jun 13 07:24:00 2017  Guest4:Joined the channel
Tue Jun 13 07:46:22 2017  vtunka:Joined the channel
Tue Jun 13 08:32:34 2017  jmcconnell:Joined the channel
Tue Jun 13 08:47:23 2017  vtunka:Joined the channel
Tue Jun 13 09:03:01 2017  Masber_080:Joined the channel
Tue Jun 13 09:15:48 2017  pandaadb:Joined the channel
Tue Jun 13 09:37:32 2017  cyberz:Joined the channel
Tue Jun 13 10:01:17 2017  Keepa:Joined the channel
Tue Jun 13 10:15:07 2017  Emma_Gination:Joined the channel
Tue Jun 13 10:35:59 2017  ottO_:Joined the channel
Tue Jun 13 10:41:14 2017  acidjnk22:Joined the channel
Tue Jun 13 11:19:09 2017  jknetl:Joined the channel
Tue Jun 13 11:44:21 2017  lersch:Joined the channel
Tue Jun 13 11:47:07 2017  lersch:Hi, I'm trying to use the native plugin (http://www.mojohaus.org/maven-native/native-maven-plugin/) to build a JNI project. Not really familiar with Maven. The plugin states that the goal native:javah binds to generate-sources. However, when using JNI I first need to compile my .java file (javac HelloJNI.java) and only then call javah.
Tue Jun 13 11:47:41 2017  lersch:My question is, how can native:javah bind to generate-sources if I need the .java file to be compiled first in order to call javah
Tue Jun 13 11:53:11 2017  Maldivia:lersch: because the that plugin is to compile the native components, meaning you have a dependency on the artifact containing the classes
Tue Jun 13 11:54:41 2017  lersch:Maldivia: so basically there are going to be 2 full build cycles, one for the artifact containing the classes, and one for the native components?
Tue Jun 13 11:55:23 2017  Maldivia:lersch: yeah, a cycle for each module you have
Tue Jun 13 11:55:36 2017  Maldivia:lersch: but you don't _need_ to call javah
Tue Jun 13 11:55:58 2017  lersch:Maldivia: why not?
Tue Jun 13 11:56:28 2017  Maldivia:it's just there to create the stubs, if you've probably already implemented those in your source
Tue Jun 13 11:57:03 2017  lersch:I created the implementation of the stubs, but I need the javah to generate the header file, no?
Tue Jun 13 11:57:32 2017  Maldivia:you don't need the header files
Tue Jun 13 11:58:03 2017  Maldivia:they are basically just there to help you create the correct function names and signatures in your C/C++ code
Tue Jun 13 11:58:33 2017  lersch:true
Tue Jun 13 11:59:00 2017  lersch:once I have the .c/.cpp implementation, that's all I need to compile the library
Tue Jun 13 12:00:00 2017  lersch:the second problem I am facing now is how to compile/link the library with .so extension, the native plugin is generating as .jar :(
Tue Jun 13 12:10:34 2017  synthroid:Joined the channel
Tue Jun 13 12:10:45 2017  jknetl:Joined the channel
Tue Jun 13 12:15:26 2017  lithium:Joined the channel
Tue Jun 13 12:46:01 2017  njuneau:Joined the channel
Tue Jun 13 12:53:22 2017  pandaadb:Joined the channel
Tue Jun 13 12:57:42 2017  vtunka:Joined the channel
Tue Jun 13 13:16:20 2017  Maxel:Joined the channel
Tue Jun 13 13:19:13 2017  lersch:Can I have nested multi-module projects in Maven?
Tue Jun 13 13:24:39 2017  njuneau:lersch: Yup
Tue Jun 13 13:26:03 2017  lersch:njuneau: I get a bit confused by the concept of modules and parent-poms. Can a pom A define pom B as a module, and pom B define pom C as parent?
Tue Jun 13 13:26:06 2017  Maxel:Joined the channel
Tue Jun 13 13:27:11 2017  lersch:If A define B as module, does it implies a dependency on B?
Tue Jun 13 13:27:56 2017  njuneau:lersch: Adding a module in Maven does not imply any parenthood
Tue Jun 13 13:28:31 2017  lersch:what does it imply?
Tue Jun 13 13:28:33 2017  njuneau:lersch: For example, if pom A has a mobule B, it only adds B as part of A's compilation cycle. It does not make B a child of A
Tue Jun 13 13:28:59 2017  lersch:does it mean that whenever I build A, the build of B will be triggered?
Tue Jun 13 13:29:12 2017  njuneau:if B is a module of A, yes
Tue Jun 13 13:29:49 2017  njuneau:but the way to establish a "parent" relationship between the two is to declare the "parent" tag in B
Tue Jun 13 13:30:17 2017  lersch:what does the parent relationship implies? inheritance of build properties?
Tue Jun 13 13:30:29 2017  njuneau:amon other things, yes
Tue Jun 13 13:31:11 2017  njuneau:The best way to see the end-result of having a parent relationship is to generate the "Effective POM" of the child module
Tue Jun 13 13:31:49 2017  njuneau:This way you see the POM with all the variables applied and all the inherited properties/dependencies/whatever
Tue Jun 13 13:31:59 2017  lersch:are the build properties of a parent pom inherited by a grand-child pom?
Tue Jun 13 13:32:45 2017  njuneau:You would have to test that, I'm not quite sure. If C is a child of B that is a child of A, I *guess* that C would inherit A's properties, but I'm not sure
Tue Jun 13 13:32:58 2017  njuneau:Best way to know, generate the effective pom of C and you will see
Tue Jun 13 13:33:19 2017  jsightler:Joined the channel
Tue Jun 13 13:33:27 2017  lersch:how can I generate the effective pom? :)
Tue Jun 13 13:33:47 2017  njuneau:There's a command for that... hang on :P
Tue Jun 13 13:34:06 2017  njuneau:If you're using Eclipse, it's simply a matter of opening the pom.xml and choosing the "Effective POM" tab
Tue Jun 13 13:34:44 2017  lersch:I dont :(
Tue Jun 13 13:35:30 2017  Maxel:Joined the channel
Tue Jun 13 13:36:04 2017  njuneau:lersch: https://maven.apache.org/pom.html#Inheritance
Tue Jun 13 13:36:09 2017  njuneau:lersch: Inheritence is explained there
Tue Jun 13 13:36:38 2017  njuneau:lersch: And instructions to generate the effective pom are there : https://maven.apache.org/pom.html#The_Super_POM
Tue Jun 13 13:36:59 2017  njuneau:lersch: (after the XML example)
Tue Jun 13 13:37:20 2017  lersch:njuneau: cool, thanks
Tue Jun 13 13:37:28 2017  njuneau:lersch: No problem!
Tue Jun 13 13:40:54 2017  lersch:The problem I'm having here is that I have A declaring B as module, B declaring B1 and B2 as module, but whenever I call B, B1 and B2 are not built :(
Tue Jun 13 13:41:25 2017  lersch:not really my code, so I might be missing something
Tue Jun 13 13:56:59 2017  lersch:Apparently, if A defines B as module, and I call "mvn -pl A -am clean package", B will not be built. Is my assumption correct?
Tue Jun 13 14:30:33 2017  troker:Joined the channel
Tue Jun 13 14:56:27 2017  jdcasey:Joined the channel
Tue Jun 13 14:58:50 2017  dmlloyd:Joined the channel
Tue Jun 13 15:03:34 2017  bobbyja_:Joined the channel
Tue Jun 13 15:06:00 2017  zapashcanon:Joined the channel
Tue Jun 13 15:06:00 2017  zapashcanon:Joined the channel
Tue Jun 13 15:16:54 2017  synthroid:Joined the channel
Tue Jun 13 15:54:29 2017  conan:Joined the channel
Tue Jun 13 16:05:04 2017  svm_invictvs:Joined the channel
Tue Jun 13 16:25:44 2017  jdcasey:Joined the channel
Tue Jun 13 16:26:02 2017  svm_invictvs:Joined the channel
Tue Jun 13 16:49:42 2017  troker:Joined the channel
Tue Jun 13 17:07:47 2017  troker:Joined the channel
Tue Jun 13 17:10:05 2017  conan:Joined the channel
Tue Jun 13 17:18:50 2017  davidmichaelkarr:Joined the channel
Tue Jun 13 17:34:37 2017  njuneau:Joined the channel
Tue Jun 13 17:44:09 2017  conan:Joined the channel
Tue Jun 13 18:02:05 2017  Sasazuka:Joined the channel
Tue Jun 13 18:08:46 2017  Emma_Gination:Joined the channel
Tue Jun 13 18:46:07 2017  svm_invictvs:Joined the channel
Tue Jun 13 19:13:28 2017  Lordz:Joined the channel
Tue Jun 13 19:18:24 2017  conan:Joined the channel
Tue Jun 13 19:21:11 2017  lithium:Joined the channel
Tue Jun 13 19:24:16 2017  oseph:Joined the channel
Tue Jun 13 19:46:11 2017  eahmedshendy:Joined the channel
Tue Jun 13 19:57:46 2017  jdcasey:Joined the channel
Tue Jun 13 20:00:40 2017  ppalaga:Left the channel
Tue Jun 13 20:02:08 2017  conan:Joined the channel
Tue Jun 13 20:14:29 2017  conan:Joined the channel
Tue Jun 13 20:18:23 2017  eahmedshendy:Joined the channel
Tue Jun 13 20:19:27 2017  conan:Joined the channel
Tue Jun 13 20:21:27 2017  conan:Joined the channel
Tue Jun 13 21:04:14 2017  Leandro2:Joined the channel
Tue Jun 13 21:05:06 2017  Leandro2:Left the channel
Tue Jun 13 21:09:52 2017  Emma_Gination:Joined the channel
Tue Jun 13 21:18:58 2017  tang^:anybody using the codehaus findbugs plugin and know what time unit the timeout parameter is set at?
Tue Jun 13 21:19:31 2017  tang^:the plugin is consitently failing my builds at ten minutes and the default is apparently supposed to be 600000.
Tue Jun 13 21:20:02 2017  tang^:if it's in milliseconds (what kind of timeout is that) then it would match the ten minutes I'm seeing
Tue Jun 13 21:20:03 2017  tang^:documentation on that plugin is... lacking
Tue Jun 13 21:21:32 2017  conan:Joined the channel
Tue Jun 13 21:50:40 2017  Lordz:Left the channel
Tue Jun 13 21:52:55 2017  tang^:ahh, it does appear to be in milliseconds... I just needed five more minutes to run findbugs on this source... gave it 50 (3600000)
Tue Jun 13 21:53:09 2017  tang^:err, gave it 50 more or 60 total
Tue Jun 13 22:06:21 2017  eahmedshendy:Joined the channel
Tue Jun 13 22:21:31 2017  ottO_:Joined the channel
Tue Jun 13 22:59:55 2017  olamy:Joined the channel
Tue Jun 13 23:18:22 2017  Lordz:Joined the channel
Tue Jun 13 23:18:50 2017  Lordz:Left the channel
Tue Jun 13 23:33:13 2017  masuberu:Joined the channel

Comments