including dependencies not working in 2.2-beta-5 but works in 2.2-beta-2

2010-07-21 Thread Vitali Hryb
Hi! By creating project as described on http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html will not get results as expected. Only module artifact included without dependencies. I have tested it with 2.2-beta-5, 2.2-beta-4, 2.2-beta-3.

[ANN] Exec Maven Plugin 1.2 Released

2010-07-21 Thread Robert Scholte
The Mojo team is pleased to announce the release of the Exec Maven Plugin version 1.2. The plugin provides 2 goals to help execute system and Java programs. http://mojo.codehaus.org/exec-maven-plugin To get this update, simply specify the version in your project's plugin configuration:

Why does nexus take so much space in the workspace?

2010-07-21 Thread Usirs
Why does nexus take so much space in the workspace? When I check the size of my workspace I find that nexus (in workspace\.metadata\.plugins\org.maven.ide.eclipse\nexus) takes up alot of space. About 400Mb, this is more that twice the size of eclipse with all addons excluding nexus. Why does it

Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Julien HENRY
Hi all, I have a web application that depends on another WAR (overlay). According to m-war-p documentation [1], the current application is priority #1 and then come dependent war. My understanding is that when there are two files with same path in both current application and dependent war,

Re: [Maven 2] plugin using project ressources

2010-07-21 Thread anis chaaba
So, no answers ? no solutions ? nobdoy tried to do the same thing ? :( On Tue, Jul 20, 2010 at 10:27 AM, anis chaaba anis.cha...@gmail.com wrote: *Attachement does not work so here are my sources.* * * *package bundle.plugin;* * * */** * * Copyright 2001-2005 The Apache Software

[ANN] Maven Repository Plugin 2.3.1 Released

2010-07-21 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Repository Plugin, version 2.3.1. This plugin assists the user in creating archived bundles that are designed to meet all requirements for upload to the central Maven repository. Please see the plugin's site for more details:

Re: Reverse dependency:tree?

2010-07-21 Thread Ron Wheeler
It would seem like a useful function on a repository and a lot less stuff to check out. Have you asked this in the Nexus forum? On 20/07/2010 2:28 AM, Wim Deblauwe wrote: I don't know of such a tool, but if you are running linux, you could create a shell script that relies on

Re: Reverse dependency:tree?

2010-07-21 Thread Anders Hammar
I believe it has been discussed in the nexus user mailing list and IIRC it is a planned feature, but it requires some Maven 3 features I think. /Anders On Wed, Jul 21, 2010 at 00:51, Ron Wheeler rwhee...@artifact-software.comwrote: It would seem like a useful function on a repository and a

Copy target file from another module

2010-07-21 Thread Will Hoover
I have a multi-module project where one of the modules needs to copy internally generated file(s) that do not come from any maven-aware resources from a module to a WAR module for inclusion. The following works, but it seems like a hack using directory to get to the module where the file(s) exist.

Re: Copy target file from another module

2010-07-21 Thread Thomas Sundberg
Hi! Why not do it the Maven way and create a module with the generated sources and make the other (2?) modules dependant of it? This would eliminate the need of a hack that copy files from one module to another. /Thomas On Wed, Jul 21, 2010 at 15:49, Will Hoover java.whoo...@gmail.com wrote: I

Re: Copy target file from another module

2010-07-21 Thread Thomas Markus
Hi, create a war with your generated sources and use it as a war overlay regards Thomas Am 21.07.2010 15:49, schrieb Will Hoover: I have a multi-module project where one of the modules needs to copy internally generated file(s) that do not come from any maven-aware resources from a module

Re: Why does nexus take so much space in the workspace?

2010-07-21 Thread Wayne Fay
Why does nexus take so much space in the workspace? Why does it take up so much space and is there anything I can do to stop it? Why are you sending Nexus questions to the Maven Users list??? There are Nexus lists for these kinds of questions -- send them there. Wayne

Re: Why does nexus take so much space in the workspace?

2010-07-21 Thread Anders Hammar
Most likely a question for the nexus users list. /Anders On Wed, Jul 21, 2010 at 10:46, Usirs henrik.sjost...@scila.se wrote: Why does nexus take so much space in the workspace? When I check the size of my workspace I find that nexus (in

RE: Copy target file from another module

2010-07-21 Thread Will Hoover
Thanks for your reply, but unfortunately the module that I'm attempting to copy file(s) from has a set packaging that is not a WAR :/ -Original Message- From: Thomas Markus [mailto:t.mar...@proventis.net] Sent: Wednesday, July 21, 2010 10:01 AM To: Maven Users List Subject: Re: Copy

RE: Copy target file from another module

2010-07-21 Thread Will Hoover
The problem is the generated sources are created during compilation within the module. The WAR module already has a dependency for that module, but some of the generated sources are not part of the normal maven build. So, what happens is the target of the WAR only contains the packaged dependency,

Re : Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Julien HENRY
I have created an issue in JIRA with an attached it: http://jira.codehaus.org/browse/MWAR-229 Regards, Julien - Message d'origine De : Julien HENRY henr...@yahoo.fr À : users@maven.apache.org Envoyé le : Mer 21 juillet 2010, 12h 17min 00s Objet : Issue with Maven WAR plugin and

Complex-valued maps as plugin parameter possible?

2010-07-21 Thread Andreas Sewe
Hi all, I am writing a Maven plugin and have trouble getting a parameter defined as follows to work: /** * @parameter */ private MapString,ComplexObject map; Not matter how I configure map in my POM, it only ever maps Strings to null, not to an instance of ComplexObjext: map key

Maven dependency size limit?

2010-07-21 Thread Leon Franzen
I appear to be encountering a bug in Maven 2.2.1 when downloading a dependency that is over 2 GB. Maven appears to successfully download it and issues no WARN or ERROR messages. However, the file is always truncated at 2147483647 bytes. This happens to be the max value of a Java Integer. I

Re: Why does nexus take so much space in the workspace?

2010-07-21 Thread Brian Fox
We have lots of IT tests. On Wed, Jul 21, 2010 at 4:46 AM, Usirs henrik.sjost...@scila.se wrote: Why does nexus take so much space in the workspace? When I check the size of my workspace I find that nexus (in workspace\.metadata\.plugins\org.maven.ide.eclipse\nexus) takes up alot of space.

accessing the path of a jar in local repository

2010-07-21 Thread Jason Chaffee
Is there a way to use the path to a jar in the local respository using variables in the pom? I know I can use the dependency plugin to copy the jar to my target directory, but I would prefer to just use the location in the repo. For example, plugin

Re: Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Kumar Ampani
Use overlay tags in war plugin configuration to control the order. On Wednesday, July 21, 2010, Julien HENRY henr...@yahoo.fr wrote: Hi all, I have a web application that depends on another WAR (overlay). According to m-war-p documentation [1], the current application is priority #1 and then