Adding jars in ear to the war manifest file

2009-10-27 Thread neptune_pluto
Hi All, MainFolder |-pom.xml (All dependecies are scope-provided) Earfolder |--pom.xml (Scope is not provided and so gets added in the ear folder) Wa

Re: How to send email with enclosed files ?

2009-10-27 Thread Wayne Fay
> Please tell me which plugin is able to do it ? None that I'm aware of. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

[MECLIPSE-552] Discover projects in the workspace

2009-10-27 Thread Tomas Pollak
Hi Maven developers, I have attached two patches to the bug MECLIPSE-552. This is a request for the maven eclipse plugin not to "discover" projects in the workspace and create project references automatically. The first patch contains only unit tests showing the current behavior, since that pa

Re: Use a mojo within a mojo

2009-10-27 Thread Wayne Fay
> I try to use a mojo "B" within a mojo "A".  I develop a custom plugin which > should use AddSourceMojo within my custom plugin for adding new  sources. Is > this possible? Extract the method to a utility class/jar/artifact which you can depend on independently of your mojos, and then call it fro

RE: NAR plugin

2009-10-27 Thread Martin Gainty
Damon- some company in texas purchased the borland compiler and i dont know what happened afterwards i had the same problem with Borland Compiler and punted to cygwin...download the full devel package.. gcc is the compiler..ld is the linker..ar is the library manager http://www.cygwin.com Mar

NAR plugin

2009-10-27 Thread Damon Jacobsen
I am building the newly absorbed NAR project from source and using it. I cannot seem to get it to use the borland compiler correctly. The cpptasks project seems to have support for bcc. I have even updated the aol.properties file to reflect the necessary setting to no avail. Has anyone attempting g

Re: Maven unable to deliver adequate Copyright notices?

2009-10-27 Thread Dan Tran
First sorry for the noise, I have create a maven-upload bundle at http://people.apache.org/~dantran/maven-upload The license files are under main saxon.jar/META-INF/notices any one interested, please review. The pom in bundle tell you how i create the bundle Thanks -Dan On Tue, Oct 27, 2009

Re: Create zip of multi-module project

2009-10-27 Thread Alexander
Your looks s impressive! 2009/10/28 Michael Remijan > > I have a multi-module project and at the project POM level (not the > module level) I want to create a a zip of the entire multi-module > project excluding the common stuff like /CVS dirs and /target dirs. I've > tried configuring the

Best practices for dependency on SWT

2009-10-27 Thread Michael Heuer
Hello, This is a follow-up to some old threads on maven-dev/maven-users: What is the official Eclipse repo layout/How to use central repo into an Eclipse project? [1] Problem of resolving eclipse swt linux library [2] It appears that things have not improved since then. We're a maven-only p

Create zip of multi-module project

2009-10-27 Thread Michael Remijan
I have a multi-module project and at the project POM level (not the module level) I want to create a a zip of the entire multi-module project excluding the common stuff like /CVS dirs and /target dirs. I've tried configuring the assembly plugin but haven't been able to get it to work. The confi

Error when trying to run scm:perform-release

2009-10-27 Thread laredotornado
Hi, I'm using Maven 1.1. I'm trying to perform a release into our test environment using this command (from my root project folder): maven -Dmaven.scm.tag=myco-oit-governor-citizen-assistanceUtility-1_6-SNAPSHOT-20091027-01 scm:perform-release Unfortunately the command fail

Use a mojo within a mojo

2009-10-27 Thread Tsuyoshi Ito
Hello, I try to use a mojo "B" within a mojo "A". I develop a custom plugin which should use AddSourceMojo within my custom plugin for adding new sources. Is this possible? Or do I have to define plugin "A" and plugin "B" in the plugins section of the pom. Found some hints in the "mav

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
I should further explain that I want the behaviour of the ear Mojo, with the ability to filter etc. If there is a non-coding way to do that, please let me know. So, what I want is to create a dar file that contains the files from a filtered list of the transitive dependencies in the various poms.

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
That's right. It wasn't. Just for the purposes of the new type per se I didn't need another mojo if all I wanted was the default behaviour. Of course, since I actually want to copy all of the dependencies to put them into the archive, I think that I do need my own Mojo, so I am writing that now :-

RE: Global transitive depedency exclude

2009-10-27 Thread Edelson, Justin
The war plugin doesn't support useTransitiveDependencies. It does, however, support packagingIncludes and packagingExcludes, which can be used to limit which files get placed into the WAR file. See http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.ht ml Justin -Original M

RE: Creating a dar archive

2009-10-27 Thread Edelson, Justin
It looks like your DARMojo class isn't in this project or that it doesn't have the correct annotations. -Original Message- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27, 2009 9:59 AM To: Maven Users List Subject: Re: Creating a dar archive Thank you very much :-)

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
Thank you very much :-) I got: [WARNING] *** [WARNING] Deprecation Alert: [WARNING] No mojo descriptors were found in this project which has a packaging type of maven-plugin. [WARNING] In future versions of the plugin tools, this will fail the b

Global transitive depedency exclude

2009-10-27 Thread chicagopooldude
I am working on getting a war file from our project using maven, we initially had around 120+ jars in lib which are have become cluttered that's one of the reason to move to Maven. Now due to transitive dependencies we have around 180+ jars in web-inf/lib. I have tried excluding each transitive ja

RE: Creating a dar archive

2009-10-27 Thread Edelson, Justin
You need to create a new packaging type. See http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi ng-type-for-maven Justin -Original Message- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27, 2009 8:53 AM To: Maven Users List Subject: Creating a d

Re: Create zip of multi-module project

2009-10-27 Thread Michael Remijan
What's in the descriptor is simple and as far as I can tell has nothing to do with the error. source-release zip . / true %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]

How to structure my base poms?

2009-10-27 Thread Wim Deblauwe
Hi, we have java and flex projects at work. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: flex projects inherit configuration for javadoc and pmd for example, which they do not want. I want to do this a bit more clean and hav

Creating a dar archive

2009-10-27 Thread nsowatsk
Hi all I would like to use Maven to create a new kind of archive. I want this new archive to be called a "dar" file. I want it to work the same in all other respects as jars/wars/ears, so it is really just the name that differs. As a first stab at this I have created a DARMojo that extends Abst

Re: Maven unable to deliver adequate Copyright notices?

2009-10-27 Thread Benson Margulies
Of course it is. Don't pay any attention to that drama queen over there. You can either strip down his jar to just saxon proper with a POM with dependencies for the other stuff or you can add the licenses to the jar. On Tue, Oct 27, 2009 at 4:11 AM, Dan Tran wrote: > Jason, so it is legal for u

Re: Controller POM - central version registry

2009-10-27 Thread Anders Hammar
To handle versions of dependencies in Maven you use a dependencyManagement section, which you normally put in a parent pom. By doing this, you only have to change the version in one place when you upgrade to a new version. http://maven.apache.org/guides/introduction/introduction-to-dependency-mecha

Controller POM - central version registry

2009-10-27 Thread Adam Flinton
Dear All, We have a project which is an assembly of other projects. At present the versions of these projects is set in individual POM files which means (A) Someone can set one part to use one version of a sub-project while another uses a different one (B) If you want to upgrade a version number

Threads in a plug-in

2009-10-27 Thread Gajo Csaba
Hello, I've developed a plug-in which executes some shell commands. I would like to run these commands in parallel with the rest of the build process, because they don't affect the other files. So I was thinking of creating a thread in the execute() method, starting it, and let it do its job.

How to send email with enclosed files ?

2009-10-27 Thread boraldo
Please tell me which plugin is able to do it ? -- View this message in context: http://www.nabble.com/How-to-send-email-with-enclosed-files---tp26074704p26074704.html Sent from the Maven - Users mailing list archive at Nabble.com. --

Re: Properties file in Maven

2009-10-27 Thread Anders Hammar
No, not in core Maven. However, I found this plugin: http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/ However, if you want to use properties in resource files the resource plugin can handle external files when doing the filtering: http://maven.apache.org/plugins/maven-resources-plugin/

Properties file in Maven

2009-10-27 Thread Sethuraman, Nirmala (NSN - IN/Bangalore)
Hi I am a new user of Maven. I have been looking for using external property files in Maven. However I couldn't find any. Does maven provide this option (like ANT) for using an external property file? Best Regards Nirmala

How to checkout multiple projects from CVS using Maven

2009-10-27 Thread zainab . madawala
Hi All I need to checkout all the projects under a specific branch in CVS using Maven. In my POM.xml, I have the following scm:cvs:pserver:[username]:@[server name][path to module]:[moduleName] [tag name] This is a single POM which I have for all my modules. I want to pass a li

Re: Maven unable to deliver adequate Copyright notices?

2009-10-27 Thread Dan Tran
Jason, so it is legal for us to inject all required license files into all jars under this bundle https://sourceforge.net/projects/saxon/files/Saxon-B/9.1.0.7/saxonb9-1-0-7j.zip/download order to upload them into central? I am really interested on how to get those files for dita-ot's 1.5 dependen

[ANN] Maven Invoker Plugin 1.5 Released

2009-10-27 Thread Stephen Connolly
The Maven team is pleased to announce the release of the Maven Invoker Plugin, version 1.5 This plugin allows to run Maven on a collection of projects and is especially useful for integration testing of other Maven plugins. See the plugin's site for more details: http://maven.apache.org/plugi