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

Wed Apr 19 00:46:38 2017  witquicked:Joined the channel
Wed Apr 19 00:52:03 2017  watersoul:Joined the channel
Wed Apr 19 00:55:15 2017  riddle:Joined the channel
Wed Apr 19 02:40:42 2017  Sasazuka:Joined the channel
Wed Apr 19 03:04:36 2017  Lordz:Joined the channel
Wed Apr 19 03:14:17 2017  Lordz:Joined the channel
Wed Apr 19 03:33:19 2017  Lordz:Joined the channel
Wed Apr 19 03:38:15 2017  Sasazuka:Joined the channel
Wed Apr 19 03:48:01 2017  Sasazuka:Joined the channel
Wed Apr 19 03:54:18 2017  bobbyja:Joined the channel
Wed Apr 19 03:55:48 2017  bobbyja_:Joined the channel
Wed Apr 19 04:18:02 2017  Lordz:Joined the channel
Wed Apr 19 04:26:02 2017  Lordz:Joined the channel
Wed Apr 19 04:49:06 2017  Lordz:Joined the channel
Wed Apr 19 05:16:40 2017  Lordz:Joined the channel
Wed Apr 19 05:30:55 2017  Lordz:Joined the channel
Wed Apr 19 05:48:58 2017  Lordz:Joined the channel
Wed Apr 19 05:54:40 2017  Lordz:Joined the channel
Wed Apr 19 06:07:51 2017  Lordz:Joined the channel
Wed Apr 19 06:43:02 2017  Lordz1:Joined the channel
Wed Apr 19 07:06:12 2017  olamy:Joined the channel
Wed Apr 19 07:06:52 2017  olamy:Joined the channel
Wed Apr 19 07:07:05 2017  thc202:Joined the channel
Wed Apr 19 07:07:09 2017  Vurtatoo:Joined the channel
Wed Apr 19 07:07:47 2017  olamy:Joined the channel
Wed Apr 19 07:08:41 2017  olamy:Joined the channel
Wed Apr 19 07:09:28 2017  olamy:Joined the channel
Wed Apr 19 07:25:38 2017  ppalaga:Joined the channel
Wed Apr 19 07:26:49 2017  Hounddog:Joined the channel
Wed Apr 19 07:48:12 2017  paissad:Joined the channel
Wed Apr 19 08:03:24 2017  Guest4:Joined the channel
Wed Apr 19 08:57:29 2017  vtunka:Joined the channel
Wed Apr 19 09:13:39 2017  [1]Keepa:Joined the channel
Wed Apr 19 09:22:20 2017  cyberz:Joined the channel
Wed Apr 19 09:35:58 2017  Hounddog:Joined the channel
Wed Apr 19 10:18:50 2017  Hounddog_:Joined the channel
Wed Apr 19 10:53:54 2017  olamy:Joined the channel
Wed Apr 19 10:57:07 2017  jerrinot:Joined the channel
Wed Apr 19 11:13:36 2017  olamy:Joined the channel
Wed Apr 19 11:17:41 2017  paissad:Joined the channel
Wed Apr 19 11:17:57 2017  paissad:is there a maven property which contains the version without the -SNAPSHOT string ?
Wed Apr 19 11:18:39 2017  paissad:if my project version is "0.0.1-SNAPSHOT", ... i would like to only retrieve the "0.0.1" (automatically) in order to use it somewhere else in my pom.xml
Wed Apr 19 11:19:15 2017  paissad:otherwise, any workaround in order to achieve that ? ... without hardcoding the version "0.0.1" again in <properties></properties> ;)
Wed Apr 19 11:19:34 2017  paissad:thanks in advance for helping
Wed Apr 19 11:23:11 2017  Vurtatoo_Work:Joined the channel
Wed Apr 19 11:28:24 2017  conan:Joined the channel
Wed Apr 19 11:34:49 2017  fredcooke:paissad: that makes no sense - 0.0.1 and 0.0.1-SNAPSHOT are distinct and valid versions in their own right. One is a pre-release candidate of sorts, and the other is a final release version.
Wed Apr 19 11:35:33 2017  paissad:fredcooke: well, i do know that those 2 versions are distinct ;)
Wed Apr 19 11:36:08 2017  paissad:fredcooke: so, you either can help me get what i want, because i have no time to explain the reason why i need it ... or you don't help me at all :)
Wed Apr 19 11:36:28 2017  fredcooke:do you need it in your artifact or your build?
Wed Apr 19 11:36:58 2017  paissad:fredcooke: i have a tool "xldeploy" which needs in its manifest a version number which "must not" contain -SNAPSHOT, but the timestamp
Wed Apr 19 11:37:11 2017  paissad:so 0.0.1-${maven.build.timestamp}
Wed Apr 19 11:38:26 2017  paissad:so , i have to pass to xldeploy configuration, the property <packageVersion>0.0.1-${maven.build.timestamp}</packageVersion>
Wed Apr 19 11:39:14 2017  paissad:i simply don't want to hardcode the version (without snapshot) ... we don't need the -SNAPSHOT string, knowing that there is already the timestamp suffix ... and btw, i must not use -SNAPSHOT (for many reasons)
Wed Apr 19 11:39:37 2017  paissad:i'll try this http://stackoverflow.com/questions/12002033/in-maven-how-can-i-dynamically-build-a-property-value-at-runtime?answertab=active#tab-top
Wed Apr 19 11:40:11 2017  fredcooke:i see, i suppose that's fair enough
Wed Apr 19 11:47:04 2017  masuberu:Joined the channel
Wed Apr 19 12:01:03 2017  paissad:fredcooke: it did the job perfectly http://www.mojohaus.org/build-helper-maven-plugin/usage.html <==== Set a property by applying a regex replacement to a value
Wed Apr 19 12:01:50 2017  synthroid:Joined the channel
Wed Apr 19 12:09:17 2017  Vurtatoo:Joined the channel
Wed Apr 19 12:13:51 2017  fredcooke:glad you got what you needed :-)
Wed Apr 19 12:18:33 2017  conan:Joined the channel
Wed Apr 19 13:08:44 2017  danrik:Joined the channel
Wed Apr 19 14:10:41 2017  AmVarPG:Joined the channel
Wed Apr 19 14:21:51 2017  conan:Joined the channel
Wed Apr 19 14:28:23 2017  ottO_:Joined the channel
Wed Apr 19 14:32:37 2017  IRQ`:Joined the channel
Wed Apr 19 14:52:57 2017  conan:Joined the channel
Wed Apr 19 15:03:54 2017  conan:Joined the channel
Wed Apr 19 15:10:05 2017  dfib:Joined the channel
Wed Apr 19 15:16:42 2017  masuberu:Joined the channel
Wed Apr 19 15:17:56 2017  masuberu:Joined the channel
Wed Apr 19 15:17:57 2017  synthroid:Joined the channel
Wed Apr 19 15:18:51 2017  synthroi_:Joined the channel
Wed Apr 19 15:19:22 2017  masuberu:Joined the channel
Wed Apr 19 15:20:36 2017  masuberu:Joined the channel
Wed Apr 19 15:33:26 2017  bobbyja_:Joined the channel
Wed Apr 19 15:34:45 2017  dfib:Joined the channel
Wed Apr 19 15:38:17 2017  dfib:Joined the channel
Wed Apr 19 15:46:41 2017  dfib:Joined the channel
Wed Apr 19 15:50:18 2017  jdcasey:Joined the channel
Wed Apr 19 15:52:19 2017  dfib:Joined the channel
Wed Apr 19 16:05:09 2017  dfib:Joined the channel
Wed Apr 19 16:12:27 2017  dfib:Joined the channel
Wed Apr 19 16:14:32 2017  synthroid:Joined the channel
Wed Apr 19 17:01:49 2017  Zed_:Joined the channel
Wed Apr 19 17:11:44 2017  AmVarPG:Joined the channel
Wed Apr 19 17:14:50 2017  AmVarPG_:Joined the channel
Wed Apr 19 17:18:18 2017  synthroi_:Joined the channel
Wed Apr 19 17:41:04 2017  dmlloyd:Joined the channel
Wed Apr 19 17:52:08 2017  Lordz:Joined the channel
Wed Apr 19 18:00:51 2017  Sasazuka:Joined the channel
Wed Apr 19 18:07:59 2017  synthroid:Joined the channel
Wed Apr 19 18:23:11 2017  bobbyja:Joined the channel
Wed Apr 19 19:00:55 2017  conan:Joined the channel
Wed Apr 19 19:28:37 2017  ppalaga_away:Left the channel
Wed Apr 19 19:33:20 2017  Lordz:Joined the channel
Wed Apr 19 19:36:37 2017  Lordz:Joined the channel
Wed Apr 19 19:40:59 2017  Lordz:Joined the channel
Wed Apr 19 19:43:47 2017  Lordz:Joined the channel
Wed Apr 19 19:46:21 2017  Maxel:Joined the channel
Wed Apr 19 19:57:47 2017  Lordz:Joined the channel
Wed Apr 19 20:04:29 2017  Lordz:Joined the channel
Wed Apr 19 20:04:42 2017  Lordz:Left the channel
Wed Apr 19 20:09:49 2017  bobbyja:Joined the channel
Wed Apr 19 20:17:02 2017  jsightler:Joined the channel
Wed Apr 19 20:26:56 2017  bobbyja:Joined the channel
Wed Apr 19 20:32:29 2017  bobbyja:Joined the channel
Wed Apr 19 20:37:06 2017  bobbyja_:Joined the channel
Wed Apr 19 20:53:09 2017  Maxel_:Joined the channel
Wed Apr 19 21:15:56 2017  jdcasey:Joined the channel
Wed Apr 19 21:17:22 2017  jc__:Joined the channel
Wed Apr 19 22:08:14 2017  masuberu:Joined the channel
Wed Apr 19 22:11:54 2017  Lordz:Joined the channel
Wed Apr 19 23:15:33 2017  Lordz:Joined the channel
Wed Apr 19 23:43:11 2017  [1]Keepa:Joined the channel
Wed Apr 19 23:48:27 2017  Maxel:Joined the channel
Wed Apr 19 23:49:01 2017  ottO_:Joined the channel

Comments