Re: problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-16 Thread Daivish Shah
Hi Glenh, I have similar issue and i want to pass my JDK version rt.jar file... Can you please send me the Tags that you are using ? And The line of code which i need to use to implement this ? thanks, daivish. On Tue, Aug 16, 2011 at 12:44 PM, glenh wrote: > I think I found a solution for

RE: [maven] use local repo

2011-08-16 Thread Jason Pyeron
> -Original Message- > From: Yang [mailto:tedd...@gmail.com] > Sent: Tuesday, August 16, 2011 16:04 > To: Maven Users List > Subject: [maven] use local repo > > in my project, I need some special jars that are not present > in our company repo. > > so I put them in the same svn dir

Re: use local repo

2011-08-16 Thread Wayne Fay
> in my project, I need some special jars that are not present in our > company repo. > > so I put them in the same svn dir of my source code, and let my > special maven-settings.xml to point to that > svn dir as a local repo. This is completely the wrong approach. Why in the world are you doing a

RE: maven-assembly-plugin for test?

2011-08-16 Thread Robert Scholte
If you want to have a jar with reusable test-classes, you have to create a separate project for it. http://rfscholte.wordpress.com/2010/09/05/how-to-create-a-jar-containing-reusableabstract-testclasses-with-maven/ -Robert > Date: Tue, 16

use local repo

2011-08-16 Thread Yang
in my project, I need some special jars that are not present in our company repo. so I put them in the same svn dir of my source code, and let my special maven-settings.xml to point to that svn dir as a local repo. in order to do this, I need to let maven use this maven-settings.xml, right now I

maven-assembly-plugin for test?

2011-08-16 Thread Yang
I could use jar:test-jar to generate a jar for my test cases, but it lacks the dependencies is there a way to let maven-assembly-plugin generate a jar-with-dependencies for test classes? I looked into http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html nothing seems relate

Re: problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-16 Thread glenh
I think I found a solution for this problem. In my maven build I just download the particular jar that I need and add the -endorseddirs option when I invoke the maven compiler to override the default class provided in the rt.jar. -- View this message in context: http://maven.40175.n5.nabble.com/

Re: how to add *.java source files in my jar?

2011-08-16 Thread Yang
Thanks Jesse, this is perfect On Mon, Aug 15, 2011 at 4:12 PM, Jesse Farinacci wrote: > Greetings, > > On Mon, Aug 15, 2011 at 6:46 PM, Wayne Fay wrote: >> I remember seeing this on the Maven Users list a couple times. I think >> they were from a project that someone was using GWT with since GWT

Re: How to use "default" layout repository with maven 1

2011-08-16 Thread Wayne Fay
He wants to use a Maven2 repo with Maven1. I have no idea if this is supported in MRM such as Nexus. Obviously he needs to just go to the source (Nexus, Archiva, Artifactory, etc) and ask them directly. Wayne On Tue, Aug 16, 2011 at 10:41 AM, Stevo Slavić wrote: > Use repository manager like Son

Re: How to use "default" layout repository with maven 1

2011-08-16 Thread Stevo Slavić
Use repository manager like Sonatype Nexus to proxy repositories with Maven 1 legacy layout as Maven 2 repositories. Regards, Stevo. On Tue, Aug 16, 2011 at 10:43 AM, amaresh mourya wrote: > Thanks All. > > On Tue, Aug 16, 2011 at 1:58 PM, Lukas Theussl wrote: > >> >> >> Manfred Moser wrote: >>

Re: How to use "default" layout repository with maven 1

2011-08-16 Thread amaresh mourya
Thanks All. On Tue, Aug 16, 2011 at 1:58 PM, Lukas Theussl wrote: > > > Manfred Moser wrote: > >> On Mon, August 15, 2011 12:13 pm, amaresh mourya wrote: >> >>> Hi All, >>> >>> Can I use "default" layout repository with Maven 1? By specifying >>> following >>> in my POM? >>> >>> >>> maven

Re: How to use "default" layout repository with maven 1

2011-08-16 Thread Lukas Theussl
Manfred Moser wrote: On Mon, August 15, 2011 12:13 pm, amaresh mourya wrote: Hi All, Can I use "default" layout repository with Maven 1? By specifying following in my POM? maven2-repository Repository for Maven http://abc.net/maven/2/ default Please.. do NOT

[ANN] License Maven Plugin 1.0-beta-3 Released

2011-08-16 Thread Tony Chemit
Hi, The Mojo team is pleased to announce the release of the License Maven Plugin version 1.0-beta-3. Site : http://mojo.codehaus.org/license-maven-plugin/ To get this update, simply specify the version in your project's plugin configuration: org.codehaus.mojo license-maven-plugin 1.0-beta