Displaying #maven/2017-05-17.log:

Wed May 17 00:09:42 2017  danrik:Joined the channel
Wed May 17 00:29:11 2017  Masber_080:Joined the channel
Wed May 17 00:40:01 2017  conan:Joined the channel
Wed May 17 00:50:36 2017  svm_invictvs:Joined the channel
Wed May 17 01:01:36 2017  dmlloyd:Joined the channel
Wed May 17 01:45:23 2017  eahmedshendy:Joined the channel
Wed May 17 02:19:42 2017  ottO_:Joined the channel
Wed May 17 03:54:58 2017  svm_invictvs:Joined the channel
Wed May 17 04:41:03 2017  Keepa:Joined the channel
Wed May 17 05:23:03 2017  theRealGent:Joined the channel
Wed May 17 07:01:57 2017  matthewbroadhead:Joined the channel
Wed May 17 07:14:19 2017  TomyWork:Joined the channel
Wed May 17 07:40:49 2017  ppalaga:Joined the channel
Wed May 17 08:06:33 2017  thc202:Joined the channel
Wed May 17 08:47:36 2017  dmlloyd:Joined the channel
Wed May 17 10:40:27 2017  ottO_:Joined the channel
Wed May 17 10:52:04 2017  Hounddog:Joined the channel
Wed May 17 11:08:59 2017  olamy:Joined the channel
Wed May 17 11:20:17 2017  matthewbroadhead:Joined the channel
Wed May 17 11:31:26 2017  conan:Joined the channel
Wed May 17 11:55:45 2017  conan:Joined the channel
Wed May 17 11:57:09 2017  Masber_080:Joined the channel
Wed May 17 12:19:03 2017  synthroid:Joined the channel
Wed May 17 12:34:55 2017  njuneau:Joined the channel
Wed May 17 12:38:59 2017  danrik:Joined the channel
Wed May 17 12:42:31 2017  jsightler_:Joined the channel
Wed May 17 13:12:57 2017  bobbyja:Joined the channel
Wed May 17 13:17:12 2017  bobbyja_:Joined the channel
Wed May 17 13:17:27 2017  TheCycoONE:Joined the channel
Wed May 17 13:18:52 2017  Maxel:Joined the channel
Wed May 17 13:31:55 2017  troker:Joined the channel
Wed May 17 13:33:39 2017  matthewbroadhead:Joined the channel
Wed May 17 13:55:55 2017  jsightler__:Joined the channel
Wed May 17 14:26:04 2017  Masber:Joined the channel
Wed May 17 14:34:58 2017  conan:Joined the channel
Wed May 17 14:43:27 2017  crobbins:Joined the channel
Wed May 17 14:44:31 2017  crobbins:apparently i need to add a dependency on scala-compiler for when i run `mvn scala:console`, however, it's not clear how to do that
Wed May 17 14:44:56 2017  crobbins:according to the scala-maven-plugin docs, there is a dependency parameter i can supply, but i'm not sure how to supply it
Wed May 17 14:44:58 2017  crobbins:http://davidb.github.io/scala-maven-plugin/console-mojo.html#dependencies
Wed May 17 14:45:14 2017  crobbins:where would this go in the pom?
Wed May 17 14:50:31 2017  pawc:are you asking where <dependecies> go?
Wed May 17 14:51:05 2017  crobbins:pawc: well, i'd prefer the dependency to not exist at runtime, only when i call scala:console
Wed May 17 14:51:49 2017  crobbins:using the standard <dependency> with <scope>compile</scope> seems to work though, hoping that doesn't include it in the packaged jar, will have to check
Wed May 17 15:13:20 2017  conan_:Joined the channel
Wed May 17 15:13:57 2017  nicoulaj:Joined the channel
Wed May 17 15:58:57 2017  jdcasey:Joined the channel
Wed May 17 15:59:01 2017  synthroi_:Joined the channel
Wed May 17 16:03:37 2017  svm_invictvs:Joined the channel
Wed May 17 16:19:41 2017  bobbyja:Joined the channel
Wed May 17 16:21:31 2017  bobbyja_:Joined the channel
Wed May 17 16:35:44 2017  Masber:Joined the channel
Wed May 17 16:36:55 2017  ccryx:Joined the channel
Wed May 17 16:38:49 2017  ccryx:hi there
Wed May 17 16:39:46 2017  ccryx:I new to maven
Wed May 17 16:40:23 2017  ccryx:should all archetypes that can be found through the webinterface at search.maven.org also be available when using "mvn archetype:generate" ?
Wed May 17 16:41:19 2017  ccryx:and if not, how would I go about using one that I can find on the web interface but not through mvn?
Wed May 17 16:52:04 2017  svm_invictvs:Joined the channel
Wed May 17 16:53:05 2017  Masber:Joined the channel
Wed May 17 17:17:17 2017  Maxel:Joined the channel
Wed May 17 17:31:47 2017  brettporter:Joined the channel
Wed May 17 17:53:36 2017  Masber:Joined the channel
Wed May 17 18:09:07 2017  noob4684:Joined the channel
Wed May 17 18:15:22 2017  Sasazuka:Joined the channel
Wed May 17 18:56:46 2017  conan:Joined the channel
Wed May 17 19:16:56 2017  bobbyja:Joined the channel
Wed May 17 19:27:25 2017  njuneau:ccryx: Since archetypes are, by themselves, maven artefacts, you should be able to use them from the command line if you have access to the Maven repository on which the archetype resides
Wed May 17 19:27:55 2017  brettpor_:Joined the channel
Wed May 17 19:28:04 2017  njuneau:ccryx: If the repository on which the archetype resides is not Maven Central, you typically need to configure said repository in your settings
Wed May 17 19:29:09 2017  conan:Joined the channel
Wed May 17 19:45:26 2017  ccryx:njuneau: does something being on maven central imply that it is an archetype?
Wed May 17 19:46:47 2017  Maldivia:no
Wed May 17 19:46:50 2017  ccryx:ah ok
Wed May 17 19:47:09 2017  ccryx:that's why it wasn't working then :D
Wed May 17 19:47:47 2017  Maldivia:an archtype is basically a project template... most thing on the central are artifacts you can use as dependencies in your project
Wed May 17 19:48:46 2017  ccryx:yeah I figured. I was trying to build a 'tobago project' and there are artifacts in maven central with names like 'tobago-example'
Wed May 17 19:48:54 2017  ccryx:so I assumed they'd be archetypes
Wed May 17 19:49:04 2017  njuneau:ccryx: Everything on a Maven repository is an artefact
Wed May 17 19:49:16 2017  njuneau:ccryx: An archetype is a kind of artefact :P
Wed May 17 19:49:25 2017  njuneau:ccryx: For maximum confusion in terminology ;)
Wed May 17 19:50:00 2017  njuneau:ccryx: Archetypes are resolved in the same way as other artefacts. Except that you use them as executable generators instead of dependencies
Wed May 17 20:01:59 2017  acidjnk:Joined the channel
Wed May 17 20:02:02 2017  acidjnk:hello
Wed May 17 20:03:44 2017  acidjnk:When a project has sub-projects, or modules, which are mostly decoupled, but do have dependencies. For example, one project is for data access and one is for common utilities, and others need them. Is it good practice to expect of the developer to do a "mvn install" for these dependencies, then build whatever they really wanted, or is it very strongly recommended to have a root-pom.xml that
Wed May 17 20:03:45 2017  acidjnk:builds everything?
Wed May 17 20:04:23 2017  ccryx:njuneau: well, knowing that maven repos contain artifacts in general and not just archetypes specifically helps :)
Wed May 17 20:05:59 2017  acidjnk:like "cd utils & mvn install & cd ..\dataAccess & mvn install & cd ..\myWebapp & mvn package" - is that okay to expect of a developer to do? Or does that violate the principle that a project should be buildable with a single command? Could make for example a root pom.xml with <module>, and then build it all with "mvn package"
Wed May 17 20:08:20 2017  SvenPI:Joined the channel
Wed May 17 20:17:11 2017  Zed_:Joined the channel
Wed May 17 20:18:59 2017  Lordz:Joined the channel
Wed May 17 20:58:26 2017  brettporter:Joined the channel
Wed May 17 21:00:43 2017  bobbyja:Joined the channel
Wed May 17 21:04:53 2017  ppalaga:Left the channel
Wed May 17 21:59:26 2017  brettporter:Joined the channel
Wed May 17 22:03:54 2017  jdcasey:Joined the channel
Wed May 17 22:14:28 2017  conan:Joined the channel
Wed May 17 22:15:13 2017  danrik:Joined the channel
Wed May 17 22:20:49 2017  Maxel_:Joined the channel
Wed May 17 22:30:13 2017  Lordz:Joined the channel
Wed May 17 22:30:41 2017  Lordz:Left the channel
Wed May 17 22:32:59 2017  bobbyja:Joined the channel
Wed May 17 22:36:53 2017  bobbyja_:Joined the channel
Wed May 17 22:37:13 2017  jon-mac:Joined the channel
Wed May 17 22:54:53 2017  acidjnk22:Joined the channel
Wed May 17 22:59:56 2017  bobbyja:Joined the channel
Wed May 17 23:00:09 2017  brettporter:Joined the channel
Wed May 17 23:16:19 2017  tang^:I want to strip a path from my files while applying a fileset in my assembly
Wed May 17 23:16:43 2017  tang^:for... reasons... we have libs/** going into / for the app
Wed May 17 23:17:29 2017  tang^:converting an ant build to maven
Wed May 17 23:29:56 2017  dmlloyd:if you're just bundling them, add "libs" as a resource directory (set "filtering" to "false" unless you want a surprise)
Wed May 17 23:30:12 2017  dmlloyd:<build><resources><resource> ...
Wed May 17 23:30:31 2017  tang^:another part of the project is building the libs directory
Wed May 17 23:30:49 2017  dmlloyd:that seems ill-advised
Wed May 17 23:30:59 2017  tang^:very
Wed May 17 23:31:02 2017  dmlloyd:but, it should still work provided it's sufficiently early
Wed May 17 23:31:49 2017  dmlloyd:you can use maven-dependency-plugin to directly slurp in stuff from other artifacts, without a temp location
Wed May 17 23:32:13 2017  tang^:we're using that to build libs for devs to use when running the app right out of the ide
Wed May 17 23:32:44 2017  tang^:my part is assembling a runtime artifact that our installer can package
Wed May 17 23:33:40 2017  tang^:with the restriction of runtime layout needs to change as little as possible
Wed May 17 23:34:59 2017  dmlloyd:if you need your resource copy to run at a later time, use maven-resource-plugin instead
Wed May 17 23:35:40 2017  tang^:I'll do some reading. thanks

Comments