RE: [EXTERNAL] dependency management with ant quick question

2015-05-14 Thread Justin Georgeson
Thanks for the correction. -Original Message- From: Manfred Moser [mailto:manf...@mosabuam.com] Sent: Wednesday, May 13, 2015 11:20 PM To: users@maven.apache.org Subject: Re: [EXTERNAL] dependency management with ant quick question Do NOT use the Maven Ant tasks.. they are

(Very basic) Command line completion for Fish-Shell

2015-05-14 Thread Johannes Schneider
A lot is missing, but much better than nothing: https://github.com/jschneider/fish-maven-completion/blob/master/mvn.fish Install by copying to ~/.config/fish/completions/mvn.fish Pull requests very welcome. Regards, Johannes

Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Stephen Connolly
On Thursday, May 14, 2015, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi Andrew, On 5/14/15 10:44 AM, andrew.mar...@sungard.com wrote: It should, in principle, be possible to build maven from the source. That was not the point.. It is possible to build Maven from source using Ant but

Re: deployAtEnd really works?

2015-05-14 Thread Dan Tran
I hit the same usecase discussed at your blog, and have to orchestrate maven to activate all modules at release time ( maven -B release:prepare release:perform -Dmy-release together with additional profile activation at release plugin configuration. For the currently setup, it will not go thru

Re: (Very basic) Command line completion for Fish-Shell

2015-05-14 Thread Curtis Rueden
Hi Johannes, https://github.com/jschneider/fish-maven-completion/blob/master/mvn.fish FWIW, zsh is also a great modern shell, with many plugins available, including pretty nice completion for Maven [1] from the Oh My Zsh! project. Using a plugin manager like zgen [2] with zsh, you can easily

Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
(sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory

Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote:

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
Yes. IT seems I’m a weird type of dependency hell. The dependencySet is using test… and if I manually add exclusions to some of these, it overwrites the exclusion used in the original POM. But at least I know there’s a core bug causing all this insanity. (I hope) On Thu, May 14, 2015 at 1:51

How to properly use a custom maven archetype

2015-05-14 Thread Maven User
Hi all - Now that I've created and released my archetype to my nexus server, I can see it listed in the catalog file. How can I reference that archetype via maven? I've tried filtering the archetype listings by my groupId of the archetype but it's never found.

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Karl Heinz Marbaise
Hi Kevin, if you have really the assumption seeing a bug than it would be helpful to create a test project or offer the project where you can observe the problem so we can take a deeper look into it? Kind regards karl Heinz Marbaise On 5/14/15 11:22 PM, Kevin Burton wrote: Yes. IT seems

Re: How to properly use a custom maven archetype

2015-05-14 Thread Manfred Moser
It should be listed but if you know the GAV coordinates for it you can also specify them Like mvn archetype:generate -DarchetypeGroupId=com.example.maven the rest of the parameters are here http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html manfred Maven User

Re: deployAtEnd really works?

2015-05-14 Thread Dan Tran
Darn, I am using rpm-maven-plugin, and it has its own build lifecycle. what a bug. It is a very good feature Thanks -Dan On Wed, May 13, 2015 at 11:19 PM, Cintia Del Rio miladyarte...@gmail.com wrote: Do you have a customised lifecycle plugin in your reactor?

Re: deployAtEnd really works?

2015-05-14 Thread domi
I think to remember that I had the same problem when a module was included via profile, deployAtEnd seems not to work in that case Domi Am 14.05.2015 um 09:01 schrieb Cintia Del Rio miladyarte...@gmail.com: I was able to achieve similar results using this plugin:

Re: deployAtEnd really works?

2015-05-14 Thread Dan Tran
Hi Bernd , I dont configure or execute any maven-deploy-plugin at my top level parent pom. The only thing that I have which may not be very conventional: all of my modules are conditional activated by profile looking for existing existing pom profile idenable-compX/id

Re: deployAtEnd really works?

2015-05-14 Thread Cintia Del Rio
Do you have a customised lifecycle plugin in your reactor? https://jira.codehaus.org/browse/MDEPLOY-176 On 14 May 2015 at 16:12, Dan Tran dant...@gmail.com wrote: Hi Bernd , I dont configure or execute any maven-deploy-plugin at my top level parent pom. The only thing that I have which

Re: deployAtEnd really works?

2015-05-14 Thread Cintia Del Rio
I was able to achieve similar results using this plugin: https://github.com/sonatype/nexus-maven-plugins/tree/master/staging/maven-plugin It's possible to disable the 'remote' staging and use only local staging - it's called 'Deferred deploy'. Effectively it's the same as deployAtEnd. The

Re: deployAtEnd really works?

2015-05-14 Thread Karl Heinz Marbaise
Hi Dan, On 5/14/15 8:12 AM, Dan Tran wrote: Hi Bernd , I dont configure or execute any maven-deploy-plugin at my top level parent pom. The only thing that I have which may not be very conventional: all of my modules are conditional activated by profile looking for existing existing pom

Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Andrew.Marlow
Hello everyone, I am trying to build maven from source in a corporate environment behind a firewall. It fails to download a pom, eventually timing out. I read of others with the same problem and the solutions posted always involve configuring an http proxy. Different solutions have different

Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Karl Heinz Marbaise
Hi Andrew, why are you building Maven from source and not downloading from http://maven.apache.org/download.html the distribution...(-bin.tar.gz unix -bin.zip for windows). A proxy in maven (settings.xml) is something different than using http_proxy see

RE: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Andrew.Marlow
It should, in principle, be possible to build maven from the source. -Original Message- From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] Sent: 14 May 2015 09:36 To: Maven Users List Cc: marlow.age...@gmail.com Subject: Re: Problems building maven from source from behind a firewall:

Re: deployAtEnd really works?

2015-05-14 Thread Robert Scholte
deployAtEnd works for most projects, not all. Hence, it is 'false' by default. Improvements need to be made in Maven Core itself[1] It seems like Jason wants to fix this for the next release. [1] https://issues.apache.org/jira/browse/MNG-5666 Op Thu, 14 May 2015 10:21:19 +0200 schreef Karl

Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Karl Heinz Marbaise
Hi Andrew, On 5/14/15 10:44 AM, andrew.mar...@sungard.com wrote: It should, in principle, be possible to build maven from the source. That was not the point.. It is possible to build Maven from source using Ant but why would you like to do so? What's the intention? Kind regards Karl