Re: Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-09 Thread Jörg Schaible
laredotornado-3 wrote: Hi, I'm using Maven 3.0.3 and trying to use the maven-ear-plugin (2.7). When building the ear project, I'm getting the error, [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.7:generate-application-xml (default-generate-application-xml) on

MavenProject/MavenSession not injected when executing plugin from a plugin

2012-08-09 Thread Kinai User
Hi there, I have developed a plugin which can execute other Maven plugins depending on certain properties available in a project. The process is like this: 1. Maven build starts 2. Plugin A is triggered which has several executions defined. Depending on properties in the project on hand a

Re: MavenProject/MavenSession not injected when executing plugin from a plugin

2012-08-09 Thread Olivier Lamy
Hi Have a look at how we solve that in the site plugin sources That will probably help you. -- Olivier Le 9 août 2012 09:29, Kinai User ki...@live.nl a écrit : Hi there, I have developed a plugin which can execute other Maven plugins depending on certain properties available in a project.

Re: MavenProject/MavenSession not injected when executing plugin from a plugin

2012-08-09 Thread Hervé BOUTEMY
the most interesting code is probably in maven-reporting-executor http://maven.apache.org/shared/maven-reporting-exec/, which is used by m-site- p Regards, Hervé Le jeudi 9 août 2012 12:29:44 Olivier Lamy a écrit : Hi Have a look at how we solve that in the site plugin sources That will

RE: MavenProject/MavenSession not injected when executing plugin from a plugin

2012-08-09 Thread Martin Gainty
to extend non-local plugins where the source is not available...Take a look at implementing maven-inherit-plugin http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin HTH Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de

RE: failsafe report displays no results

2012-08-09 Thread Rodriguez, John
Still stumped on this. Any failsafe gurus out there? :) -Original Message- Sent: Monday, July 30, 2012 1:27 PM Any words of wisdom from the community? :) -Original Message- Sent: Thursday, July 26, 2012 9:00 PM I just started using maven-failsafe-plugin and

RE: failsafe report displays no results

2012-08-09 Thread Rodriguez, John
Martin, Thanks for your reply on this. Since my original post, I’ve actually corrected the line you point out to, as follows: assertEquals(Failed : status= + response.getStatus() + , body= + response.getEntity(String.class), response.getClientResponseStatus(), ClientResponse.Status.OK);

Re: failsafe report displays no results

2012-08-09 Thread Stephen Connolly
On 27 July 2012 01:59, John Rodriguez john.rodrig...@gmail.com wrote: I just started using maven-failsafe-plugin and maven-surefire-report-plugin so my apologies in advance... For starters, I've configured maven-failsafe-plugin and maven-surefire-report-plugin as such (respectively):

Copy dependencies

2012-08-09 Thread Erwin Mueller
Hello, with the maven-dependency-plugin I can copy the dependencies in some output directory. But how can I copy some dependencies to directory libs/ and different dependencies in the directory plugins/ ? I want to copy all compile dependencies to libs/ and all runtime or optional dependencies

Re: Copy dependencies

2012-08-09 Thread Wayne Fay
with the maven-dependency-plugin I can copy the dependencies in some output directory. But how can I copy some dependencies to directory libs/ and different dependencies in the directory plugins/ ? Realistically you should be using the assembly plugin for the construction of non-standard

Maven + Spring 3.1.2.RELEASE Error

2012-08-09 Thread dannylin
Hello, I'm trying to build a project using Maven to package the latest spring 3.1.2.RELEASE jars into a war file. For some reason, it's pulling the latest version for some of the spring modules, but not for all of them. For example, the 3.1.2.RELEASE spring-orm module is downloaded, but the