Re: Any way to send email with build and test report?

2008-04-10 Thread David C. Hicks
Don't know of any specific Maven email plugin, but you could use the Ant plugin to execute the Ant Mail task. It shouldn't be too difficult to gather up all of your Surefire reports into a file to send in an email. urir wrote: Hi, I am using maven2 for building and testing a multi-project

RE: filtering resources - switching whole files

2008-04-10 Thread Bernhard David
Hi, I think this'll do the trick: make differrent directories like src/main/dev, src/main/prod etc. and set up the POM: profiles profile iddev/id build resources resource directorysrc/main/dev/directory /resource /resources /build /profile

Re: Where do I put document in Maven project?

2008-04-10 Thread youhaodeyi
Thanks. Maria Odea Ching-5 wrote: You can put your project documentation in src/site and it would get included when you generate the site for your project. Please note that your documents should be written in APT format and when you run 'mvn site', their corresponding html files will

RE: Deploying a modified plugin to an in-house repository

2008-04-10 Thread nicklist
Doh... Note to self: Don't post when you're tired. ;) But I see artifactory also can work with the webdav wagon. [1] Could you try that? Hth, Nick S. [1] http://www.jfrog.org/confluence/display/RTF/Using+Artifactory#UsingArtifactory-CLIDeployment -Original Message- From: Brian E.

RE: binding a plugin to a lifecycle goal

2008-04-10 Thread nicklist
Take a look at the Maven Build Lifecycle page [1]. This page lists for each type of packaging which plugins and goals are added automatically to the lifecycle. All other goals you have to add yourself explicitly. Or in a parent pom file if you need them for many projects. Hth, Nick S. [1]

WAR Overlay includes

2008-04-10 Thread António Mota
I'm sorry if this msg is getting to the list several times but since this is my first post here I don't have a way to tell. Please someone just hit a reply to see if I'm ok, please? --- Hello: I'm trying to do some war overlay but I can't seem to include just the files I want using the include

Re: maven webstart

2008-04-10 Thread Andrius Šabanas
Dmitry Beransky wrote: Hi, I'm aware of the webstart plugin, but what I can't figure out if it's possible to use maven to do the end-to-end automated deployment of an app. In other words, can maven build, package, and deploy to tomcat a webstart application? Thanks Dmitry Yes - see

[maven-resources-plugin bug]: ignored configuration for custom execution, any workaround ?

2008-04-10 Thread Salvador Diaz
Hi all, I've bound the resources:resources goal to the package phase of my build and I wanted it to copy certain resources to a directory but it's ignoring my configuration: plugin groupIdorg.apache.maven.plugins/groupId

Re: where to find maven 2 simian report plugin?

2008-04-10 Thread Tim Kettler
Hi, the plugin is here [1]. However, there seems to be no release of it yet. You can subscribe to the mojo project's mailinglist and ask the there for an release. Or you can grab the sources from here [2] and and just make an internal release of the plugin. -Tim David Delbecq schrieb: Hello,

where to find maven 2 simian report plugin?

2008-04-10 Thread David Delbecq
Hello, I migrated a projet from maven1 to maven2. Compile, package and deployement process ahve now been successfully migrated. We have however some problems with reports. We can't find what's the maven2 equivalent of maven1 simian report plugin? We get this: [INFO] The plugin

AW: [ANN] Maven Eclipse Plugin 2.5.1 Released

2008-04-10 Thread Salgar, Mehmet (external)
Hallo, That is also my question, I am using the WTP 2.0 setting but I am not sure it does an effect or not??? In snapshot version of the plugin, the log statements are mentioning the which setting is in use but that had dissappered. And I have a remark on the second point also. In a

Re: where to find maven 2 simian report plugin?

2008-04-10 Thread David Delbecq
En l'instant précis du 10/04/08 12:21, Tim Kettler s'exprimait en ces termes: Hi, the plugin is here [1]. However, there seems to be no release of it yet. You can subscribe to the mojo project's mailinglist and ask the there for an release. Or you can grab the sources from here [2] and and just

Re: maven-buildnumber-plugin / revision number last changed rev number

2008-04-10 Thread DCVer
scm framework? You mean scm tag in pom.xml? I have no idea how can I configure this using scm tag. Dirk Olmes-4 wrote: DCVer wrote: Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I

Can I set a timeout for downloading dependency

2008-04-10 Thread youhaodeyi
Can I set a timeout for downloading dependency jars? -- View this message in context: http://www.nabble.com/Can-I-set-a-timeout-for-downloading-dependency-tp16608218s177p16608218.html Sent from the Maven - Users mailing list archive at Nabble.com.

RE: maven-buildnumber-plugin / revision number last changed rev number

2008-04-10 Thread nicklist
No, not the scm tag. As you can see here [1] the buildnumber-plugin uses the scm-api and implementations of Maven. Hth, Nick S. [1] http://mojo.codehaus.org/buildnumber-maven-plugin/dependencies.html -Original Message- From: DCVer [mailto:[EMAIL PROTECTED] Sent: Thu 4/10/2008 13:23

Can I give a dependency a specific repository url?

2008-04-10 Thread youhaodeyi
My pom.xml has many dependencies and repositories. Maven will try to download each of them in each of the repository. It will waste a lot of time for downloading. How can I specify a dependency from a specific repository? -- View this message in context:

Re: Multiple CPUs

2008-04-10 Thread VELO
The main problem you would have with a multi-cpu build would be understanding the console output. Since maven isn't threaded already the output would be interwoven and impossible to understand. Agree... Will only be readable on separated text logs. Or multi column output (just a joke =D).

where to find xmlsec-1.4.1.jar ?

2008-04-10 Thread torsten . reinhard
Hi, what´s the official group and artifactId of xmlsec-1.4.1jar ? http://repo1.maven.org/maven2/xml-security/xmlsec/ = ends up at 1.3.0 http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/ = ends up at 1.4.0 (without pom), directory 1.4.1 is empty

assembly:assembly failure

2008-04-10 Thread Harper, Brad
Anyone have thoughts on what's behind the following error? ... [ERROR] BUILD FAILURE [INFO] -- [INFO] The assembly id null is used more than once. ... I see this error when testing a garden-variety assembly from the command line % mvn assembly:assembly

Recommended production release procedure?

2008-04-10 Thread Jesper
Hi, I'm maven'izing a large enterprise project (from ant) and am looking for any recommendations on how to do releases to non-maven environments. After doing the maven build (multi-module) and producing all the artifacts in the repository, I need to deploy them to different environments.

RE: Recommended production release procedure?

2008-04-10 Thread Chris Helck
I don't think Maven was meant to solve application deployment issues. The whole field of installers deployment is very complex. Sometimes you need to install certain files as root, install cron/timer jobs, stop and restart services, create directory structures, and so on. I have been able to use

Re: Recommended production release procedure?

2008-04-10 Thread jesper
Yes, I'm using the assembly plugin to create the structure, where the missing link for me is to deploy to other environments outside a maven repository as explained below. I'll add a shell script for now to do the final steps (eg. unpacking) after the assembly built jar has been transferred to

[ANN] Apache Maven 2.0.9 Released

2008-04-10 Thread Brian Fox
The Apache Maven team would like to announce the availability of Maven 2.0.9. This release went through a new process that saw 8 release candidates tested by the user community before the final release and we expect it to be more robust than previous versions. There are several important fixes

Re: Any way to send email with build and test report?

2008-04-10 Thread Wayne Fay
To me at least, this sounds like functionality I might expect out of my Continuous Integration server, not my build tool. Look at implementing Continuum, Hudson, etc rather than creating an email plugin. Wayne On 4/10/08, David C. Hicks [EMAIL PROTECTED] wrote: Don't know of any specific Maven

Re: Can I set a timeout for downloading dependency

2008-04-10 Thread Wayne Fay
No. Ctrl-X to cancel the build and run again with mvn -o ... for offline mode. Wayne On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote: Can I set a timeout for downloading dependency jars? -- View this message in context:

Re: Can I give a dependency a specific repository url?

2008-04-10 Thread Wayne Fay
You cannot. You should consider implementing a Repo Manager like Archiva, Nexus, Artifactory, etc instead, and set it up as a proxy for the other various repos you need to access. Wayne On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote: My pom.xml has many dependencies and repositories. Maven

Re: where to find xmlsec-1.4.1.jar ?

2008-04-10 Thread Wayne Fay
Who produces xmlsec? I'd ask them where to find it/where it should be located in the Maven repos. Wayne On 4/10/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, what´s the official group and artifactId of xmlsec-1.4.1jar ? http://repo1.maven.org/maven2/xml-security/xmlsec/ =

Re: Multiple CPUs

2008-04-10 Thread Wayne Fay
I think, if someone was able to hack something together (that worked!) and it demonstrated real added value to Maven, then the dev team would be more likely to hear this request and consider adding it. But there are so many interactions between poms, plugins, etc that I don't honestly believe it

Re: Multiple CPUs

2008-04-10 Thread Jorg Heymans
On Thu, Apr 10, 2008 at 5:04 PM, Wayne Fay [EMAIL PROTECTED] wrote: I think, if someone was able to hack something together (that worked!) and it demonstrated real added value to Maven, then the dev team would be more likely to hear this request and consider adding it. But there are so many

Unit Testing with SureFire Classpath settings

2008-04-10 Thread Kristan Uccello
Hello, I am trying to specify the Sure Fire additionalClasspathElements Additional elements to be appended to the classpath. and being a Maven2 newbe I am a bit lost when I'm told to set the plugin values as a java.util.List. === FROM:

Antwort: Re: where to find xmlsec-1.4.1.jar ?

2008-04-10 Thread torsten . reinhard
xmlsec is produced by http://santuario.apache.org/ the jars can be downloaded from http://xml.apache.org/security/dist/java-library/ Maybe someone of the copy-recepcients can fix that? Thanx, Torsten Wayne Fay [EMAIL PROTECTED] 10.04.2008 17:16 Bitte antworten an Maven Users List

Deploying XML schemas

2008-04-10 Thread Brandon Enochs
I have a bunch of schemas that I would like to upload to a web server and would like to known if there any best practices for doing so using maven. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Deploying XML schemas

2008-04-10 Thread Michael
Brandon Enochs wrote: I have a bunch of schemas that I would like to upload to a web server and would like to known if there any best practices for doing so using maven. An Ant Task bound to a phase or simply Ant. Maven is not designed to fullfil tasks the way Ant does. -- NO OOXML - Say NO

Re: Deploying XML schemas

2008-04-10 Thread Graham Leggett
Brandon Enochs wrote: I have a bunch of schemas that I would like to upload to a web server and would like to known if there any best practices for doing so using maven. Is the idea to make these schemas available within a maven repository? If so, the deploy:deploy-file should help getting

Re: Multiple CPUs

2008-04-10 Thread VELO
Lets just think... Today someone is reporting maven doesn't your his 2 cores. Tomorrow 4 cores. Next year 6 cores. 8, 10, what ever Mono threaded maven will not get the max power from a multi-core machine. So, I still dreaming, may be I can pull a developer to dream together. VELO On

Re: Multiple CPUs

2008-04-10 Thread Graham Leggett
VELO wrote: Lets just think... Today someone is reporting maven doesn't your his 2 cores. Tomorrow 4 cores. Next year 6 cores. 8, 10, what ever Mono threaded maven will not get the max power from a multi-core machine. So, I still dreaming, may be I can pull a developer to dream

Documentation and/or examples for Maven Embedder

2008-04-10 Thread Bill Rye
I'm looking for something beyond http://maven.apache.org/guides/mini/guide-embedding-m2.html as I want to do things like read pom.xml (done), add a jar to the repository, and get the URL for the location of a jar in the local repository given the artifact. Thanks, Bill

relative href link generates strange filesystem path

2008-04-10 Thread Trent Larson
Here's an issue that wasted a few hours of my time before I found the solution. I'm just posting it to help others that may hit the same thing. I was trying to make my own link; here's my simplified site.xml: project body menu name=Other Documents item name=MPA Plan

RE: Multiple CPUs

2008-04-10 Thread Lacoste, Dana (TSG Software San Diego)
The situation below (deploying to multiple J2EE platforms in the build) is already easily supported: you're using ant to do it, and ant supports a parallel section http://ant.apache.org/manual/CoreTasks/parallel.html So, inside a maven-antrun-plugin section you can do a parallel with no

Re: Documentation and/or examples for Maven Embedder

2008-04-10 Thread Henrique Prange
Hi Bill, The newest version of the embedder was not released yet. Look here [1]. I think you can find a way to solve your problems without having to make use of the Maven embedder. [1]http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Cheers, Henrique Bill Rye wrote: I'm

Re: relative href link generates strange filesystem path

2008-04-10 Thread Michael
Trent Larson wrote: Here's an issue that wasted a few hours of my time before I found the solution. I'm just posting it to help others that may hit the same thing. I was trying to make my own link; here's my simplified site.xml: project body menu name=Other Documents item name=MPA

[ANN] findbugs-maven-plugin v 1.2 released

2008-04-10 Thread Garvin LeClaire
The Maven *Findbugs* team is pleased to announce the release of the Maven *Findbugs* Plugin version 1.2 This plugin allows the developer to run *Findbugs* analysis against a Maven project and produce site output in HTML to match other site reports. There are option to produce other XML outputs

Re: Any way to send email with build and test report?

2008-04-10 Thread Nick Stolwijk
At least continuum [1] uses the configured maven information and hudson supports it a little [2] [3]. Hth, Nick S. [1] http://continuum.apache.org/docs/1.1/user_guides/notification/index.html [2] http://www.nabble.com/ciManagement-notifications-for-a-maven-2-build-td15006168.html [3]

Re: Multiple CPUs

2008-04-10 Thread VELO
So, the dream was killed? VELO On Thu, Apr 10, 2008 at 2:31 PM, Lacoste, Dana (TSG Software San Diego) [EMAIL PROTECTED] wrote: The situation below (deploying to multiple J2EE platforms in the build) is already easily supported: you're using ant to do it, and ant supports a parallel section

Re: Multiple CPUs

2008-04-10 Thread Nigel Magnay
Yes - but all these dependencies are calculable from the POM files. I think about this every time my machine sits with 7 idle cores... The biggest initial issue is that the local repo is not threadsafe (2 mvn instances running in parallel can crash in interesting ways). That's the first thing to

embedded maven engine

2008-04-10 Thread Jan Torben Heuer
Hi, Is it possible to embed the maven engine in a java program? I think of using it as plugin management for an application. I want to define an artifact (my pointing to a pom or giving an group:artifact:version string. Then I want maven to resolve, download and add the artifact+dependencies to

Dependency Relationships in EARs

2008-04-10 Thread David Weintraub
I've just started using Maven, and I'm struggling with a few things. I took one our our components I build with Ant, and created a Maven build for it. This is a set of foundation classes that several of our projects use, so I called it foundation.jar. So far, so good, I specified a set of JARS

maven 2 + cargo plugin

2008-04-10 Thread Urooj Khan
hi everyone i have a project with three sub-projects which are web apps... i am currently using cargo to deploy each web app project and have the individual pom.xml and profiles.xml configured... i am trying to figure out what command i can use when building the parent project that will be the

Re: Multiple CPUs

2008-04-10 Thread Jorg Heymans
On Thu, Apr 10, 2008 at 6:55 PM, Graham Leggett [EMAIL PROTECTED] wrote: maven-surefire-plugin could be taught to run tests in parallel: that will make a huge difference. Has anyone looked at using Parallel Junit [1] through surefire ? . Jorg [1] https://parallel-junit.dev.java.net/

Re: Multiple CPUs

2008-04-10 Thread VELO
Very good idea... The same thing I'm thinking for maven itself, but if we got fastest junit is good =D VELO On Thu, Apr 10, 2008 at 5:22 PM, Jorg Heymans [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 6:55 PM, Graham Leggett [EMAIL PROTECTED] wrote: maven-surefire-plugin could be taught

war overlaying

2008-04-10 Thread António Mota
Hello: I'm trying to do some war overlay but I can't seem to include just the files I want using the include tag on the overlay. In this case I only want what's under WEB-INF, but what I get is everything that's inside the war. overlay groupIdbirt-runtime/groupId

Re: maven 2 + cargo plugin

2008-04-10 Thread Wayne Fay
You should ask this question on the Cargo Users list. Wayne On 4/10/08, Urooj Khan [EMAIL PROTECTED] wrote: hi everyone i have a project with three sub-projects which are web apps... i am currently using cargo to deploy each web app project and have the individual pom.xml and profiles.xml

Re: Dependency Relationships in EARs

2008-04-10 Thread Wayne Fay
The dependencies of your dependencies are called transitive dependencies. Normally, Maven2 is able to figure out what you need and build/package things properly. So, you must be doing something wrong to get these results. Can you send the 2 pom.xml files you created, 1 for foundation, and 1 for

Re: Multiple CPUs

2008-04-10 Thread Jorg Heymans
On Thu, Apr 10, 2008 at 7:31 PM, Lacoste, Dana (TSG Software San Diego) [EMAIL PROTECTED] wrote: The situation below (deploying to multiple J2EE platforms in the build) is already easily supported: you're using ant to do it, and ant supports a parallel section

RE: Multiple CPUs

2008-04-10 Thread Lacoste, Dana (TSG Software San Diego)
That's an interesting build you have there, care to tell us what the longest running tasks are (hope it's not the compiling :-P) In short, it's Compare new dataset vs. old dataset It takes a very long time because it has to take the newly built binaries and data, get them up and running (the

RE: war overlaying

2008-04-10 Thread Brian E. Fox
It sounds like a bug to me. File a Jira in the MWAR plugin. It will at least get the attention of the war developers. -Original Message- From: António Mota [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 4:45 PM To: users@maven.apache.org Subject: war overlaying Hello: I'm

RE: Multiple CPUs

2008-04-10 Thread Lacoste, Dana (TSG Software San Diego)
Not sure if i agree here. Why can the building of different artifacts not be parallelized if they completely don't depend on each other? If my build contains 1 war and 5 completely independent jars that are used in the war, why can those 5 jar artifacts not be built in parallel ? Sure enough,

How can I use a plugin SNAPSHOT version?

2008-04-10 Thread Brewster, Richard
I want to use the latest version of this plugin: http://snapshots.repository.codehaus.org/org/codehaus/mojo/jboss-maven-p lugin/1.3.2-SNAPSHOT/ What's the procedure for getting this into my local repository, and then into my company's Artifiactory? Thanks, Richard Brewster Senior Associate

RE: How can I use a plugin SNAPSHOT version?

2008-04-10 Thread Brian E. Fox
If you have an artifactory install, you should just be able to ask the maintainer to add the snapshot repo. I don't know if artifactory groups like nexus, I think so, if yes than that should be all you need. -Original Message- From: Brewster, Richard [mailto:[EMAIL PROTECTED] Sent:

Re: Re: where to find xmlsec-1.4.1.jar ?

2008-04-10 Thread Wayne Fay
Realistically you will need to talk to the Santuario/XML Security team about this. It is their responsibility to pick the groupId, artifactId, and version for their artifacts. And since its an Apache project, there is no reason why the latest version would not be available in Central

Re: Dependency Relationships in EARs

2008-04-10 Thread David Weintraub
Sure: Here's the POM for the Foundation: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion

Re: Dependency Relationships in EARs

2008-04-10 Thread David Weintraub
Whoops, this was a local repository error. I am manually doing the repository, and copying the JARS, creating the POMs, etc. I accidently called the POM for the foundation JAR file, foundation-0.1.xml instead of foundation-0.1.pom and that caused the problem. Changing the name fixed the issue.

Looking to make internal repository externally access

2008-04-10 Thread Mike Leonardo
Hello, My company has an internal maven repo that I would like to have accessible from the outside. The problem is that it's a private repo - so we want to at least have basic auth on it when it is externally accessible. Up until now we've been just using vpn - but we we've been having issues

Re: Can I set a timeout for downloading dependency

2008-04-10 Thread youhaodeyi
ok. thanks. Wayne Fay wrote: No. Ctrl-X to cancel the build and run again with mvn -o ... for offline mode. Wayne On 4/10/08, youhaodeyi [EMAIL PROTECTED] wrote: Can I set a timeout for downloading dependency jars? -- View this message in context:

Re: Dependency Relationships in EARs

2008-04-10 Thread Wayne Fay
Yep, that would do it! Wayne On 4/10/08, David Weintraub [EMAIL PROTECTED] wrote: Whoops, this was a local repository error. I am manually doing the repository, and copying the JARS, creating the POMs, etc. I accidently called the POM for the foundation JAR file, foundation-0.1.xml instead

Re: Deploying a modified plugin to an in-house repository

2008-04-10 Thread Joshua ChaitinPollak
This bug went away (really, it just vanished) when I upgraded to Artifactory 1.2.5 -Josh On Apr 10, 2008, at 3:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Doh... Note to self: Don't post when you're tired. ;) But I see artifactory also can work with the webdav wagon. [1] Could

How can I let Maven run a class before packaging

2008-04-10 Thread youhaodeyi
By default, Maven will package all the classes under target/classes directory into a jar file. But some classes are not generated by compiling, by running a Java application. How can I let Maven run a java application before packaging? -- View this message in context:

Re: How can I use a plugin SNAPSHOT version?

2008-04-10 Thread Heinrich Nirschl
You may also need to specify the additional repository as a pluginRepository with snapsots enabled. The exact setting depends on your environment (i.e. if you use a repository manager and how it is configured) Henry. On Fri, Apr 11, 2008 at 12:54 AM, Brian E. Fox [EMAIL PROTECTED] wrote: If you