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

Fri Apr 7 00:01:48 2017  dimaj:Left the channel
Fri Apr 7 00:13:43 2017  dandan86:Joined the channel
Fri Apr 7 00:55:03 2017  dandan86:Joined the channel
Fri Apr 7 01:24:27 2017  edvorg:Joined the channel
Fri Apr 7 01:44:56 2017  edvorg:Joined the channel
Fri Apr 7 02:11:38 2017  dandan86:Joined the channel
Fri Apr 7 02:12:15 2017  edvorg:Joined the channel
Fri Apr 7 02:40:55 2017  px3:Joined the channel
Fri Apr 7 02:56:05 2017  frymaster:Joined the channel
Fri Apr 7 02:59:18 2017  dandan86:Joined the channel
Fri Apr 7 03:23:51 2017  frymaster:Joined the channel
Fri Apr 7 03:24:35 2017  px3:Joined the channel
Fri Apr 7 03:51:23 2017  dandan86:Joined the channel
Fri Apr 7 04:32:52 2017  dandan86:Joined the channel
Fri Apr 7 05:14:08 2017  dandan86:Joined the channel
Fri Apr 7 05:25:28 2017  px3:Joined the channel
Fri Apr 7 06:01:07 2017  dandan86:Joined the channel
Fri Apr 7 06:38:42 2017  ppalaga:Joined the channel
Fri Apr 7 06:42:13 2017  dandan86:Joined the channel
Fri Apr 7 07:09:36 2017  TomyWork:Joined the channel
Fri Apr 7 07:10:24 2017  thc202:Joined the channel
Fri Apr 7 07:12:20 2017  lithium:Joined the channel
Fri Apr 7 07:23:43 2017  dandan86:Joined the channel
Fri Apr 7 07:26:20 2017  px3:Joined the channel
Fri Apr 7 07:31:00 2017  bentech:Joined the channel
Fri Apr 7 07:38:01 2017  Guest4:Joined the channel
Fri Apr 7 07:46:27 2017  IRQ`:Joined the channel
Fri Apr 7 07:53:33 2017  dandan86:Joined the channel
Fri Apr 7 07:58:56 2017  px3:Joined the channel
Fri Apr 7 08:13:13 2017  ohej:Joined the channel
Fri Apr 7 08:13:44 2017  vtunka:Joined the channel
Fri Apr 7 08:15:00 2017  Vurtatoo:Joined the channel
Fri Apr 7 08:30:27 2017  lithium:Joined the channel
Fri Apr 7 08:50:24 2017  tony_:Joined the channel
Fri Apr 7 08:50:26 2017  tony_:hello all
Fri Apr 7 08:50:44 2017  tony_:how can I test download speed from maven central repo?
Fri Apr 7 08:52:19 2017  Maldivia:Download a large file, measure time it takes, calculate speed based of size of file...
Fri Apr 7 08:53:31 2017  tony_:lool ok
Fri Apr 7 08:54:11 2017  Maldivia:For instance the index file is around 300mb
Fri Apr 7 08:55:28 2017  tony_:I know how to calculate speed
Fri Apr 7 08:55:40 2017  tony_:(I have no experience with maven)
Fri Apr 7 08:55:46 2017  tony_:I just don't know how the whole "downloading" works
Fri Apr 7 08:55:53 2017  tony_:just find an artifact and wget it?
Fri Apr 7 08:55:58 2017  Maldivia:Its http
Fri Apr 7 08:56:02 2017  tony_:or you need to do the actual maven build to test it?
Fri Apr 7 08:56:37 2017  Maldivia:Maven will also tell you tge download speed when getting dependencies
Fri Apr 7 08:57:54 2017  tony_:if I don't have an application, is there any maven command that would download all "base" dependencies?
Fri Apr 7 08:58:09 2017  tony_:or do I need to have a pom file regardless?
Fri Apr 7 08:58:22 2017  Maldivia:tony_: could try the index file from https://repo1.maven.org/maven2/.index/ if yoy want to check how fast you csn download from there
Fri Apr 7 09:00:10 2017  Maldivia:As for base dependencies -- not really such a thing besides what's included in the installation
Fri Apr 7 09:00:52 2017  Maldivia:(There are some plugins that most projects use that are downloaded if not in the local repo)
Fri Apr 7 09:02:49 2017  Guest4_:Joined the channel
Fri Apr 7 09:05:23 2017  dandan86:Joined the channel
Fri Apr 7 09:35:04 2017  dandan86:Joined the channel
Fri Apr 7 09:35:48 2017  masuberu:Joined the channel
Fri Apr 7 10:16:43 2017  dandan86:Joined the channel
Fri Apr 7 10:56:00 2017  px3:Joined the channel
Fri Apr 7 10:58:03 2017  dandan86:Joined the channel
Fri Apr 7 11:20:15 2017  bentech:Joined the channel
Fri Apr 7 11:21:14 2017  CanSomeoneAssist:Joined the channel
Fri Apr 7 11:21:28 2017  fredcooke:Possibly.
Fri Apr 7 11:25:40 2017  CanSomeoneAssist:Hi there. Is it possible to make each SNAPSHOT version of an artifact also referable via its commit hash? Like each commit=deploy will update the main "1.0-SNAPSHOT" jar but also put itself in the repository as a copy "1.0-SNAPSHOT:commitHash". I am able to generate two jars (+ sources and javadoc, = 6 jars), but deploying only deploys 4 (no sources + javadoc for classified one) and dependency:get does not find "1.0-SNAPSHOT
Fri Apr 7 11:27:53 2017  CanSomeoneAssist:the relevant plugin declarations can be found here: https://pastebin.com/ebgYfzV2
Fri Apr 7 11:27:56 2017  selckin:probably need 1.0:hash-SNAPSHOT for things to not break too much ?
Fri Apr 7 11:29:09 2017  selckin:not looked at your pastebin yet, but if they attached to the project they should get deployed
Fri Apr 7 11:29:22 2017  selckin:can use this to attach extra things http://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
Fri Apr 7 11:35:22 2017  CanSomeoneAssist:@selckin actually my example with dependency:copy was stupid. What I really want is that in a dependency declaration I can add <classifier>commitHash</classifier> to the dependency declaration (and I assumed this would translate into the given qualifier string)
Fri Apr 7 11:35:27 2017  px3:Joined the channel
Fri Apr 7 11:35:51 2017  selckin:ah yeah
Fri Apr 7 11:37:01 2017  CanSomeoneAssist:or doesn't that make sense and I should adapt the concept in general?
Fri Apr 7 11:38:03 2017  selckin:it should be possible, but i think javadoc is a classifier
Fri Apr 7 11:38:16 2017  selckin:not 100% sure
Fri Apr 7 11:40:00 2017  selckin:so you'd need 1.0-SNAPSHOT:commithash-javadoc
Fri Apr 7 11:40:07 2017  selckin:which won't work with any tools
Fri Apr 7 11:40:11 2017  selckin:so no point
Fri Apr 7 11:41:32 2017  fredcooke:modern snapshots are timestamped anyway, aren't they? or is that a nexus thing? i can't remember.
Fri Apr 7 11:41:44 2017  selckin:they are
Fri Apr 7 11:41:45 2017  fredcooke:if you want the git hash, embed it in the artifact somehow
Fri Apr 7 11:41:59 2017  fredcooke:i stick it in fields in a class, but you can just use properties if you only have one per final build
Fri Apr 7 11:42:06 2017  fredcooke:or unique path/name per file
Fri Apr 7 11:42:33 2017  fredcooke:the class way is kinda nice as it survives obfuscation
Fri Apr 7 11:42:50 2017  fredcooke:but to use it you need to refer to it explicitly of course
Fri Apr 7 11:43:28 2017  selckin:if he doesnt want to depend on it, its entirely pointless yeah, but i assume he does (whcih also seems crazy, but hey sometimes you have a crazy problem)
Fri Apr 7 11:45:08 2017  dandan86:Joined the channel
Fri Apr 7 11:45:33 2017  selckin:encoding it in the version seems to best way to me
Fri Apr 7 11:46:40 2017  CanSomeoneAssist:fredcooke/selckin: also using Nexus. The problem we saw is that timestamps are not directly mappable to commits, so I tried to be super clever and misuse (as it seems) the classifier for this. using the version also was an idea we had but yeah, I just thought the classifier makes more sense
Fri Apr 7 11:47:49 2017  selckin:doing it wrong if you need to depend on specific snapshots imo :)
Fri Apr 7 11:48:34 2017  CanSomeoneAssist:that is indeed true, but sadly how it works here since years (quite new in the company) and they are not willing to migrate so much at once (already introduced new dev tools, migrated to git etc.) :)
Fri Apr 7 11:49:49 2017  CanSomeoneAssist:like currently there is no versioning/dependency management at all and I bought Maven in...and now trying to use Maven with the old established workflow.
Fri Apr 7 11:50:37 2017  CanSomeoneAssist:thanks for re-opening my eyes that it simply doesn't make sense and the workflow should be adpoted
Fri Apr 7 11:50:40 2017  CanSomeoneAssist::)
Fri Apr 7 11:50:42 2017  selckin:sounds like 1.0.hash
Fri Apr 7 11:50:45 2017  selckin:no snapshot
Fri Apr 7 11:51:32 2017  selckin:man version:set -DnewVersion=$(get-git-hash) && mvn clean deploy
Fri Apr 7 11:51:37 2017  fredcooke:(23:47:49) selckin: doing it wrong if you need to depend on specific snapshots imo :)
Fri Apr 7 11:51:38 2017  fredcooke:+1
Fri Apr 7 11:52:07 2017  fredcooke:why do you want to use your git hash as a version? why not use specific mvn release versions and just KNOW the git hash if you want to refer back to source later?
Fri Apr 7 11:52:34 2017  selckin:because they probably don't make releases
Fri Apr 7 11:52:47 2017  selckin:and manually up the deps or probably even used to copy the jars around
Fri Apr 7 11:52:48 2017  fredcooke:the best variant of the git hash to use for knowing the origin of a binary is "git describe" with some options for marking dirty builds etc
Fri Apr 7 11:53:09 2017  fredcooke:yes, i was looking for a confession, not speculation, though :-)
Fri Apr 7 11:53:42 2017  fredcooke:and reading above, it was already here.
Fri Apr 7 11:58:41 2017  conan:Joined the channel
Fri Apr 7 11:59:15 2017  CanSomeoneAssist:thanks guys! (not sure if you'd still like some more information why I tried to archive that just to understand but I don't guess so as I have to agree it seems odd now)
Fri Apr 7 12:04:50 2017  CanSomeoneAssist:as it seems you are quite expertized with versioning/releasing. we will develop in master branch =(regular SNAPSHOT version) and like to have feature branches differentiable. there we thought about changing the version to i.e. 1.0-SNAPSHOT-MYBRANCH (or Jenkins as we don't want to care about that).
Fri Apr 7 12:05:52 2017  CanSomeoneAssist:according to previous replies this should be OK, shouldnt it?
Fri Apr 7 12:21:18 2017  TheCycoONE:Joined the channel
Fri Apr 7 12:32:03 2017  dandan86:Joined the channel
Fri Apr 7 12:35:00 2017  H4ml3t:Joined the channel
Fri Apr 7 13:04:40 2017  ottO_:Joined the channel
Fri Apr 7 13:16:18 2017  jdcasey:Joined the channel
Fri Apr 7 13:16:45 2017  px3:Joined the channel
Fri Apr 7 13:21:48 2017  dandan86:Joined the channel
Fri Apr 7 13:48:27 2017  Maxel:Joined the channel
Fri Apr 7 13:51:44 2017  Maxels:Joined the channel
Fri Apr 7 14:03:13 2017  dandan86:Joined the channel
Fri Apr 7 14:08:05 2017  H4ml3t:Joined the channel
Fri Apr 7 14:24:39 2017  tmladek:Joined the channel
Fri Apr 7 14:25:24 2017  tmladek:hi, I put a <phase> tag in the <execution> tag of a plugin I want to run, and it works when I run the plugin manually, but not when I reach the phase, what gives?
Fri Apr 7 14:33:23 2017  synthroid:Joined the channel
Fri Apr 7 14:44:22 2017  dandan86:Joined the channel
Fri Apr 7 14:48:24 2017  Maxel_:Joined the channel
Fri Apr 7 14:53:04 2017  Maxels:Joined the channel
Fri Apr 7 15:05:57 2017  cyberz:Joined the channel
Fri Apr 7 15:07:55 2017  tang^:Joined the channel
Fri Apr 7 15:10:03 2017  n3p3nthess:Joined the channel
Fri Apr 7 15:11:24 2017  conan:Joined the channel
Fri Apr 7 15:26:03 2017  n3p3nthess:Joined the channel
Fri Apr 7 15:28:03 2017  H4ml3t:Joined the channel
Fri Apr 7 15:28:28 2017  synthroid:Joined the channel
Fri Apr 7 15:31:33 2017  dandan86:Joined the channel
Fri Apr 7 15:31:47 2017  witquicked:Joined the channel
Fri Apr 7 15:41:14 2017  n3p3nthess:Joined the channel
Fri Apr 7 15:49:17 2017  n3p3nthess:Joined the channel
Fri Apr 7 15:50:06 2017  witquicked:Joined the channel
Fri Apr 7 15:50:59 2017  lithium:Joined the channel
Fri Apr 7 15:53:26 2017  IRQ`:Left the channel
Fri Apr 7 15:56:14 2017  n3p3nthess:Joined the channel
Fri Apr 7 16:05:45 2017  conan:Joined the channel
Fri Apr 7 16:09:52 2017  tmladek:Joined the channel
Fri Apr 7 16:11:46 2017  n3p3nthess:Joined the channel
Fri Apr 7 16:12:16 2017  conan_:Joined the channel
Fri Apr 7 16:18:05 2017  n3p3nthess:Joined the channel
Fri Apr 7 16:31:19 2017  px3:Joined the channel
Fri Apr 7 16:35:45 2017  n3p3nthess:Joined the channel
Fri Apr 7 16:48:13 2017  bobbyja:Joined the channel
Fri Apr 7 16:51:13 2017  dandan86:Joined the channel
Fri Apr 7 16:51:41 2017  bobbyja_:Joined the channel
Fri Apr 7 17:01:42 2017  bobbyja:Joined the channel
Fri Apr 7 17:08:19 2017  n3p3nthess:Joined the channel
Fri Apr 7 17:25:14 2017  n3p3nthess:Joined the channel
Fri Apr 7 17:30:10 2017  n3p3nthess:Joined the channel
Fri Apr 7 17:32:14 2017  lkiesow:Joined the channel
Fri Apr 7 17:32:48 2017  hboutemy:Joined the channel
Fri Apr 7 17:37:34 2017  lkiesow:Hi everyone, does anyone know if it is possible to tell maven that a repository location has changed? The background is that we would like to have multiple maven repositories and have maven choose them based on location. At the moment, we have one central server which then returns redirects so that at least the larger files will be downloaded from the repository closest to you but it would be nice to have an
Fri Apr 7 17:37:35 2017  lkiesow:initial response saying: Please look here for all further requests for this repository
Fri Apr 7 17:38:13 2017  dandan86:Joined the channel
Fri Apr 7 17:41:45 2017  n3p3nthess:Joined the channel
Fri Apr 7 17:46:19 2017  Masber_080:Joined the channel
Fri Apr 7 17:47:20 2017  n3p3nthess:Joined the channel
Fri Apr 7 18:00:45 2017  n3p3nthess:Joined the channel
Fri Apr 7 18:07:38 2017  Sasazuka:Joined the channel
Fri Apr 7 18:20:19 2017  synthroi_:Joined the channel
Fri Apr 7 18:25:04 2017  dandan86:Joined the channel
Fri Apr 7 18:32:13 2017  px3:Joined the channel
Fri Apr 7 18:44:39 2017  Lordz:Joined the channel
Fri Apr 7 18:46:11 2017  conan:Joined the channel
Fri Apr 7 18:58:11 2017  Lordz:Left the channel
Fri Apr 7 18:58:16 2017  n3p3nthess:Joined the channel
Fri Apr 7 19:05:24 2017  jdcasey:Joined the channel
Fri Apr 7 19:15:08 2017  dandan86:Joined the channel
Fri Apr 7 19:29:30 2017  n3p3nthess:Joined the channel
Fri Apr 7 19:31:53 2017  oseph:Joined the channel
Fri Apr 7 19:46:06 2017  n3p3nthess:Joined the channel
Fri Apr 7 19:55:01 2017  n3p3nthess:Joined the channel
Fri Apr 7 19:59:49 2017  Lordz:Joined the channel
Fri Apr 7 20:00:21 2017  Lordz:Left the channel
Fri Apr 7 20:01:30 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:12:15 2017  bobbyja:Joined the channel
Fri Apr 7 20:14:15 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:19:40 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:23:57 2017  ehiggs:Joined the channel
Fri Apr 7 20:24:52 2017  ehiggs:hi all. I have some scala code on github and someone suggested that I upload it to central repository. Seems a good idea. but when i use the javadoc plugin as required by sonatype central repo, there's no public java classes so it doesn't validate.
Fri Apr 7 20:25:41 2017  ehiggs:Should I generate javadoc for scala? Or should I be submitting this to some scala repo instead?
Fri Apr 7 20:26:08 2017  dandan86:Joined the channel
Fri Apr 7 20:33:04 2017  px3:Joined the channel
Fri Apr 7 20:35:26 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:39:59 2017  conan:Joined the channel
Fri Apr 7 20:46:10 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:54:56 2017  n3p3nthess:Joined the channel
Fri Apr 7 20:56:29 2017  dandan86:Joined the channel
Fri Apr 7 21:12:48 2017  dandan86:Joined the channel
Fri Apr 7 21:13:26 2017  bentech:Joined the channel
Fri Apr 7 21:26:07 2017  conan:Joined the channel
Fri Apr 7 21:29:48 2017  dandan86:Joined the channel
Fri Apr 7 21:31:00 2017  n3p3nthess:Joined the channel
Fri Apr 7 21:45:05 2017  n3p3nthess:Joined the channel
Fri Apr 7 21:47:00 2017  Zed_:Joined the channel
Fri Apr 7 21:48:43 2017  Maxel:Joined the channel
Fri Apr 7 21:50:02 2017  Maxel:Joined the channel
Fri Apr 7 22:07:50 2017  n3p3nthess:Joined the channel
Fri Apr 7 22:14:29 2017  n3p3nthess:Joined the channel
Fri Apr 7 22:33:57 2017  px3:Joined the channel
Fri Apr 7 22:35:31 2017  Zed_:Joined the channel
Fri Apr 7 22:36:44 2017  n3p3nthess:Joined the channel
Fri Apr 7 22:40:41 2017  Sasazuka:Joined the channel
Fri Apr 7 22:50:04 2017  n3p3nthess:Joined the channel
Fri Apr 7 22:50:11 2017  Zed_:Joined the channel
Fri Apr 7 23:00:12 2017  jsightler_afk:Joined the channel
Fri Apr 7 23:34:44 2017  n3p3nthess:Joined the channel
Fri Apr 7 23:58:25 2017  n3p3nthess:Joined the channel

Comments