Re: Copy two versions of same jar

2012-02-16 Thread Barrie Treloar
On Fri, Feb 17, 2012 at 2:51 PM, Wayne Fay wrote: >> >>       >>           test >>           castor >>           0.9.5 >>       >>       >>           test >>           castor >>           1.0.4 >>       >> > ... >> But this copies only one version and it ignores the other one.. Please >> pro

Re: Copy two versions of same jar

2012-02-16 Thread Wayne Fay
> > > test > castor > 0.9.5 > > > test > castor > 1.0.4 > > ... > But this copies only one version and it ignores the other one.. Please > provide a solution for copying both the versions. Why do you want to

RE: Copy two versions of same jar

2012-02-16 Thread Nalini
test castor 0.9.5 test castor 1.0.4 This is how my dependencies are declared. To use copy-dependencies plug-in, I did something like copy-to-lib validate

Java 7 javadoc broken?

2012-02-16 Thread John R. Todd
Hello fellow Maven users, We have a project where we are trying to build a subset of the JavaDoc as a public API in the section of our POM. This works under Java 6, but when using Java 7, the javadoc process just breaks. It's easy to reproduce if you take the something like the following POM frag

Fwd: Is checkModificationExcludes working for anyone?

2012-02-16 Thread Ed Hillmann
Also, I've tried this with checkModificationExcludeList as well, with no difference. Thanks, Ed -- Forwarded message -- From: Ed Hillmann Date: Fri, Feb 17, 2012 at 8:08 AM Subject: Is checkModificationExcludes working for anyone? To: Maven Users List Hi all. I'm trying to use

Is checkModificationExcludes working for anyone?

2012-02-16 Thread Ed Hillmann
Hi all. I'm trying to use the checkModificationExcludes attribute of the release:prepare goal, but it seems to be ignoring it. I'm using version 2.2.2 of the plugin. My pom file looks like this: org.apache.maven.plugins maven-release-plugin

[ANN] Maven PMD Plugin 2.7.1 Released

2012-02-16 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven PMD Plugin, version 2.7.1 A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics. http://

Re: Spring context dependency not found..

2012-02-16 Thread Wayne Fay
> For the record, and for those who might get stuck into it again, possibly > including me :-) here is the solution to the issue I had. Glad you solved it. Please don't send a huge console output log like that again. Post it to pastebin.com or Gist and send us a link instead. Wayne -

Re: Spring context dependency not found..

2012-02-16 Thread Stephane-3
For the record, and for those who might get stuck into it again, possibly including me :-) here is the solution to the issue I had. My project pom.xml file contained the element dependencyManagement instead of the element dependencies as I had copied the project structure from another one. And mv

Re: Copy two versions of same jar

2012-02-16 Thread Wayne Fay
> Can I copy two different versions of same jar using Maven? > > PS: These two jars have the same groupid and artifact id.. Yes, you can since the V part of GAV is different. If you want a more detailed answer, please provide a more detailed question. Wayne -

Copy two versions of same jar

2012-02-16 Thread Nalini
Hi, Can I copy two different versions of same jar using Maven? PS: These two jars have the same groupid and artifact id.. Thanks and Regards, Nalini P G

Re: what does --define do in maven

2012-02-16 Thread Stephen Connolly
ASIDE: Please note that using properties is not the recommended way to pick different JDKs for building with. The recommended way is to use ~/.m2/toolchains.xml to define where your different JDKs (and other toolchains) are located, and then use the maven-toolchains-plugin to call out the specifi