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

Fri Feb 17 00:12:46 2017  mischat:Joined the channel
Fri Feb 17 00:13:08 2017  mischat:Joined the channel
Fri Feb 17 01:29:57 2017  hboutemy:Joined the channel
Fri Feb 17 02:05:03 2017  Sasazuka:Joined the channel
Fri Feb 17 02:08:08 2017  mischat:Joined the channel
Fri Feb 17 03:22:27 2017  Dominic__:Joined the channel
Fri Feb 17 03:23:05 2017  Dominic__:Hi I'm running into issues with TestNG and Maven Surefire. Anyone available to help'?
Fri Feb 17 03:27:24 2017  jdcasey:Joined the channel
Fri Feb 17 03:28:19 2017  jimklo_:Joined the channel
Fri Feb 17 03:30:00 2017  mexiwithacan:Joined the channel
Fri Feb 17 03:48:14 2017  deepbook5broo:Joined the channel
Fri Feb 17 03:48:15 2017  deepbook5broo:Left the channel
Fri Feb 17 05:04:17 2017  mexiwithacan:Joined the channel
Fri Feb 17 06:17:26 2017  Keepa:Joined the channel
Fri Feb 17 06:24:00 2017  masuberu:Joined the channel
Fri Feb 17 06:50:41 2017  mexiwithacan:Joined the channel
Fri Feb 17 08:01:36 2017  jimklo:Joined the channel
Fri Feb 17 08:09:04 2017  ppalaga:Joined the channel
Fri Feb 17 08:16:37 2017  thc202:Joined the channel
Fri Feb 17 08:17:54 2017  olamy:Joined the channel
Fri Feb 17 08:30:33 2017  Athlon^:Joined the channel
Fri Feb 17 08:32:37 2017  DevAntoine:Joined the channel
Fri Feb 17 08:50:28 2017  jimklo:Joined the channel
Fri Feb 17 08:54:07 2017  isavin:Joined the channel
Fri Feb 17 09:39:40 2017  denisMone:Joined the channel
Fri Feb 17 09:41:36 2017  mischat:Joined the channel
Fri Feb 17 09:45:01 2017  Hounddog:Joined the channel
Fri Feb 17 09:46:13 2017  Hounddog:Good Morning, I am trying to get my hands a little dirty to automate building our docker images. Now i am also using the MAven Relese Plugin... can i somehow perform a release without artifacts as i do not have any?
Fri Feb 17 09:46:50 2017  selckin:whats the point of using the plugin then?
Fri Feb 17 09:47:11 2017  Hounddog:tagging and updating the poms
Fri Feb 17 09:47:58 2017  Hounddog:I want to tag, update and push images in to the registry but not artifacts to the nexus repo as i have none in this case
Fri Feb 17 09:48:13 2017  Hounddog:docker registry aswell as git
Fri Feb 17 09:48:58 2017  Hounddog:selckin: i am having a release just not a release of a artifacts to the nexus repo
Fri Feb 17 09:49:48 2017  selckin:think if you just configure maven to not build the jars it'll do that
Fri Feb 17 09:49:56 2017  selckin:skip the jar plugin etc
Fri Feb 17 09:50:06 2017  Hounddog:hmmm ok
Fri Feb 17 09:50:57 2017  Hounddog:selckin: so that way i could keep the deploy and hook in the docker plugin?
Fri Feb 17 09:51:37 2017  selckin:don't know about docker
Fri Feb 17 09:52:13 2017  selckin:see if it has option to not "attach" the files think thats what maven calls it
Fri Feb 17 09:53:32 2017  jpoth:Joined the channel
Fri Feb 17 10:09:56 2017  TomyWork:Joined the channel
Fri Feb 17 10:20:20 2017  Hounddog:selckin i just found stuff like i can set the deploy plugin to skip but the release plugin is just ignoring this so i think i will skip the release plugin...
Fri Feb 17 10:22:27 2017  vtunka:Joined the channel
Fri Feb 17 10:33:00 2017  mexiwithacan:Joined the channel
Fri Feb 17 10:44:16 2017  mexiwithacan:Joined the channel
Fri Feb 17 11:26:05 2017  mexiwithacan:Joined the channel
Fri Feb 17 12:59:06 2017  rfscholte:Joined the channel
Fri Feb 17 13:35:12 2017  njuneau:Joined the channel
Fri Feb 17 13:44:17 2017  ppalaga:Left the channel
Fri Feb 17 13:51:15 2017  Masber:Joined the channel
Fri Feb 17 13:53:14 2017  synthroid:Joined the channel
Fri Feb 17 14:31:26 2017  z1mvader:Joined the channel
Fri Feb 17 14:33:07 2017  z1mvader:Hey guys I've been trying to generate an unique jar for two projects, one which can be built with mvn and another which can be built with any. However I can't get it right
Fri Feb 17 14:33:16 2017  z1mvader:Could you give me a hand?
Fri Feb 17 14:36:51 2017  selckin:whats the problem
Fri Feb 17 14:38:01 2017  z1mvader:I've managed to run ant from mvn and package the any problem, however mvn is not packaging the maven project
Fri Feb 17 14:38:40 2017  z1mvader:Any problem = ant project
Fri Feb 17 14:42:12 2017  selckin:we can't read your mind, if you don't present something nobody can help
Fri Feb 17 14:42:39 2017  z1mvader:ok then
Fri Feb 17 14:42:53 2017  davut:Joined the channel
Fri Feb 17 14:43:01 2017  davut:hi
Fri Feb 17 14:43:11 2017  davut:anyone here?
Fri Feb 17 14:46:40 2017  z1mvader:selckin: The ant project is inside the mvn project folder under the name ant_dep
Fri Feb 17 14:46:48 2017  z1mvader:here is my dom.xml for the mvn project http://pastebin.com/ARvjDbJK
Fri Feb 17 14:47:32 2017  z1mvader:and there is my build.xml for the ant project http://pastebin.com/YXdzxArw
Fri Feb 17 14:48:08 2017  z1mvader:when i run mvn package, it generates a jar for the ant project but never generates in target a jar for the mvn project
Fri Feb 17 14:51:52 2017  selckin:because of the '<packaging>pom' line
Fri Feb 17 14:54:51 2017  mischat_:Joined the channel
Fri Feb 17 14:54:58 2017  z1mvader:now i'm getting
Fri Feb 17 14:54:59 2017  z1mvader:[ERROR] Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.3:attach-artifact (add-jar) on project test-recommender101: Execution add-jar of goal org.codehaus.mojo:build-helper-maven-plugin:1.3:attach-artifact failed: For artifact {test-recommender101:test-recommender101:0.0.1-SNAPSHOT:jar}: An attached artifact must have a different ID than
Fri Feb 17 14:54:59 2017  z1mvader:its corresponding main artifact. -> [Help 1]
Fri Feb 17 14:55:18 2017  Lordz:Joined the channel
Fri Feb 17 14:56:21 2017  selckin:seems clear, did you read the last part
Fri Feb 17 14:56:37 2017  z1mvader:yes i did
Fri Feb 17 14:56:56 2017  mischat_:Joined the channel
Fri Feb 17 14:57:00 2017  selckin:change name from ant
Fri Feb 17 14:57:49 2017  z1mvader:they have different names
Fri Feb 17 15:01:18 2017  Lordz:Left the channel
Fri Feb 17 15:02:23 2017  selckin:hmm, try adding a classifier with the maven build helper
Fri Feb 17 15:05:22 2017  z1mvader:how do I do that?
Fri Feb 17 15:06:44 2017  z1mvader:like <classifier>foo</classifier> on the artifact?
Fri Feb 17 15:08:00 2017  z1mvader:if i do that it compiles, but when i run the main class on the jar it fails because it cannot found the ant project
Fri Feb 17 15:08:40 2017  selckin:need to specify the classifier in the dependency then too
Fri Feb 17 15:11:14 2017  z1mvader:ok i did it but now it doesn't find the dependency
Fri Feb 17 15:12:07 2017  selckin:group/artificat/version(/classifier) resolves to a single jar
Fri Feb 17 15:12:22 2017  selckin:so if you want to deploy 2 jars, need differend artificat id or add classifier
Fri Feb 17 15:15:47 2017  z1mvader:no, its a single jar
Fri Feb 17 15:16:14 2017  selckin:i thought you wanted ant to make a jar and maven to make ajar and attach both
Fri Feb 17 15:17:09 2017  z1mvader:yeah, i think im not understanding then
Fri Feb 17 15:18:48 2017  z1mvader:the ant jar is a dependency of the mvn jar
Fri Feb 17 15:19:11 2017  selckin:thats not possible
Fri Feb 17 15:19:42 2017  z1mvader:what do you mean?
Fri Feb 17 15:19:48 2017  selckin:you'll need to use modules to seperate them, or create a standalone build for the ant jar
Fri Feb 17 15:20:16 2017  selckin:you're trying to make it depend on itself
Fri Feb 17 15:21:19 2017  z1mvader:i tried to just add the ant jar to my local mvn repository but it still cannot find it
Fri Feb 17 15:21:52 2017  rfscholte:z1mvader: just wondering, are you trying to migrate an Ant project to Maven?
Fri Feb 17 15:22:02 2017  z1mvader:no
Fri Feb 17 15:22:17 2017  z1mvader:i'm just trying to make everything work without recurring to eclipse
Fri Feb 17 15:23:04 2017  z1mvader:the thing is that the main project has an ant project as a dependency which has its own dependencies stored as jars inside lib
Fri Feb 17 15:23:11 2017  selckin:do you want it to just work on your computer or make a proper build
Fri Feb 17 15:24:00 2017  z1mvader:i wanted to make a proper build but now it would be enough to just make it work
Fri Feb 17 15:25:21 2017  selckin:if its just a dependency, you could just make a seperate pom for the dependency, run mvn install, depend on that GAV in your current
Fri Feb 17 15:25:55 2017  z1mvader:what should that pom content?
Fri Feb 17 15:27:28 2017  selckin:ant + maven helper without classifier + disable jar plugin i think
Fri Feb 17 15:30:44 2017  csingh:Joined the channel
Fri Feb 17 15:33:21 2017  z1mvader:Why the disable jar plugin?
Fri Feb 17 15:34:53 2017  selckin:because build-helper is providing it
Fri Feb 17 15:36:41 2017  z1mvader:I can recycle the ant plugin part right?
Fri Feb 17 15:39:03 2017  mischat:Joined the channel
Fri Feb 17 15:40:52 2017  selckin:yeah basicly copy the entire thing and change the artifictid at the top
Fri Feb 17 15:42:47 2017  jdcasey:Joined the channel
Fri Feb 17 15:49:37 2017  csingh3:Joined the channel
Fri Feb 17 15:52:43 2017  liori:Joined the channel
Fri Feb 17 16:11:37 2017  z1mvader:ok let me test it
Fri Feb 17 16:11:51 2017  z1mvader:oh wait i didnt add the disable jar plugin
Fri Feb 17 16:14:56 2017  z1mvader:damn
Fri Feb 17 16:15:24 2017  z1mvader:mvn its telling me that is running with source 1.5
Fri Feb 17 16:15:48 2017  z1mvader:and idk why
Fri Feb 17 16:18:05 2017  z1mvader:http://pastebin.com/2MEL6xTY
Fri Feb 17 16:20:39 2017  z1mvader:i didnt add the compiler plugin
Fri Feb 17 16:20:44 2017  z1mvader:right?
Fri Feb 17 16:26:10 2017  z1mvader:ok now the problem is that mvn isn't finding the dependencies inside lib
Fri Feb 17 16:26:44 2017  z1mvader:but on the ant file the classpath is set
Fri Feb 17 16:35:42 2017  Spockz:Joined the channel
Fri Feb 17 16:37:23 2017  Spockz:I'm trying to get a complete project/model of a pom.xml from my own java application. But the DefaultProjectBuilder and such all require the Plexus container to be setup: a) how can I do it without needing the DI from Plexus or b) how do I setup the container properly
Fri Feb 17 16:41:48 2017  mischat:Joined the channel
Fri Feb 17 16:42:32 2017  synthroid:Joined the channel
Fri Feb 17 16:43:43 2017  mischat_:Joined the channel
Fri Feb 17 16:44:12 2017  z1mvader:finally i managed to make the dependencies work
Fri Feb 17 16:52:17 2017  Lordz:Joined the channel
Fri Feb 17 16:57:13 2017  mischat:Joined the channel
Fri Feb 17 17:08:16 2017  elh9:Joined the channel
Fri Feb 17 17:08:26 2017  tang^:Joined the channel
Fri Feb 17 17:12:06 2017  Keepa:Joined the channel
Fri Feb 17 17:30:13 2017  danrik:Joined the channel
Fri Feb 17 17:32:00 2017  tang^:Joined the channel
Fri Feb 17 17:47:46 2017  Lordz:Joined the channel
Fri Feb 17 17:47:57 2017  Lordz:Left the channel
Fri Feb 17 18:31:42 2017  Lordz:Joined the channel
Fri Feb 17 18:32:16 2017  Lordz:Left the channel
Fri Feb 17 18:55:51 2017  wmp:Joined the channel
Fri Feb 17 19:16:54 2017  Sasazuka:Joined the channel
Fri Feb 17 19:31:03 2017  z1mvader:selckin: thanks for the help man :)
Fri Feb 17 19:44:34 2017  mischat:Joined the channel
Fri Feb 17 20:09:07 2017  isavin:Joined the channel
Fri Feb 17 20:09:07 2017  isavin:Joined the channel
Fri Feb 17 20:22:08 2017  Lordz:Joined the channel
Fri Feb 17 20:32:54 2017  jdcasey:Joined the channel
Fri Feb 17 21:04:54 2017  denisMone:Joined the channel
Fri Feb 17 21:24:48 2017  mischat:Joined the channel
Fri Feb 17 21:59:06 2017  mischat:Joined the channel
Fri Feb 17 22:25:45 2017  conan:Joined the channel
Fri Feb 17 22:27:01 2017  conan:Joined the channel
Fri Feb 17 23:09:32 2017  panzon:Joined the channel
Fri Feb 17 23:53:25 2017  mischat:Joined the channel

Comments