RE: Multiproject and Testing EJBs

2005-02-28 Thread Jörg Schaible
Poppe, Troy wrote on Monday, February 28, 2005 7:28 PM: > I've got a multiproject set up that generates an EAR > artifact. I'd like to write some JUnit or Cactus tests to > test the EJBs that I have in an EJB-JAR in my EAR I am > using JBoss as my deployment environment... > > I'm curious i

Re: REPOST: question about maven w/ subversion

2005-02-28 Thread Brett Porter
What you are doing looks correct. Can you please raise a JIRA issue at http://jira.codehaus.org/browse/MPSCM? Thanks, Brett On Mon, 28 Feb 2005 21:22:13 -0500, Thomas Porter <[EMAIL PROTECTED]> wrote: > On Tue, Mar 01, 2005 at 10:07:51AM +1100, Brett Porter thoughtfully expounded: > > Subversion

Re: REPOST: question about maven w/ subversion

2005-02-28 Thread Thomas Porter
On Tue, Mar 01, 2005 at 10:07:51AM +1100, Brett Porter thoughtfully expounded: > Subversion support is still in beta. Please see the instructions here: > http://www.apache.org/~brett/maven-stage-site/reference/plugins/scm/ > > You can get maven-scm-plugin 1.5-beta-3 using "maven plugin:download".

Re: REPOST: question about maven w/ subversion

2005-02-28 Thread Brett Porter
Subversion support is still in beta. Please see the instructions here: http://www.apache.org/~brett/maven-stage-site/reference/plugins/scm/ You can get maven-scm-plugin 1.5-beta-3 using "maven plugin:download". Cheers, Brett On Mon, 28 Feb 2005 17:20:08 -0500, Thomas Porter <[EMAIL PROTECTED]>

REPOST: question about maven w/ subversion

2005-02-28 Thread Thomas Porter
First, my apologies to everyone for the first post with a bad subject line, too fast on the draw w/ mutt!! I am a relative newcomer to maven, but have been using subversion for a while. I have what appears to be a trivial question: If I have a maven enabled project stored in subversion (with pr

Re: Rsync staged site deploy hangs

2005-02-28 Thread Brett Porter
if you are on cygwin, it is a known bug in Cygwin when there is remote output. You need to change it to "rsync -az" (the latest site plugin code defaults to this). - Brett On Mon, 28 Feb 2005 08:41:40 -0800 (PST), Oscar Picasso <[EMAIL PROTECTED]> wrote: > Hi, > > Not sure this is a maven speci

RE: Junit with maven does it work

2005-02-28 Thread Ryan Sonnek
I don't have an answer, but i would suggest changing the subject line to something more relevant to get any response. please don't piggyback someone else's thread with a different topic. -Original Message- From: Thomas Porter [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:49

Re: Junit with maven does it work

2005-02-28 Thread Thomas Porter
I am a relative newcomer to maven, but have been using subversion for a while. I have what appears to be a trivial question: If I have a maven enabled project stored in subversion (with project.xml, etc. etc.) how do I check out the project to an empty directory using maven? Assuming my subversi

Re: Maintaining private repositories

2005-02-28 Thread Paul Spencer
I use project properties. Since project.properties is checked into the CVS along with the other files in the project, any changes are distributed to all of the other team members via CVS. In addition, I place the private repository in front of ibiblio for performance reasons. maven.repo.remo

Re: Junit with maven does it work

2005-02-28 Thread Krikor Krumlian
Thank you martijn Dashorst Figured out my mistake and what was happening , the problem was that in my unit tests I have specified the package name test , So maven was putting the classes in in test-classes/test/Testxxx.class and thus it was not finding it later when it needed to test. so when

Re: Maintaining private repositories

2005-02-28 Thread Paul Spencer
I use project properties. Since project.properties is checked into the CVS along with the other files in the project, any changes are distributed to all of the other team members via CVS. In addition, I place the private repository in front of ibiblio for performance reasons. maven.repo.remote=h

Re: Multiproject and Testing EJBs

2005-02-28 Thread David Jencks
After spending some time studying cactus, I'm afraid I still don't have a clue how to use it. It may be your best bet. An alternative approach might be to use the itest plugin. You can see an example of this in the openejb itests module.For openejb, this depends on having a maven plugin t

Re: Maintaining private repositories

2005-02-28 Thread Tim Stephenson
Not sure where the official doc is - somewhere on the site - but what we do is to set up a directory structure exactly like the local repo or remote repositories under some web-server published directory with just those internally-managed components in and then tell maven to look both in the public

RE: Multiproject and Testing EJBs

2005-02-28 Thread Poppe, Troy
Maybe I'm missing something, but Cactus isn't mentioned in that URL at all. T -Original Message- From: Ryan Sonnek [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:55 PM To: Maven Users List Subject: RE: Multiproject and Testing EJBs try this: http://wiki.codehaus.org/maven

RE: Multiproject and Testing EJBs

2005-02-28 Thread Ryan Sonnek
try this: http://wiki.codehaus.org/maven/CreatingEjbApplications -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 12:28 PM To: 'Maven Users List' Subject: Multiproject and Testing EJBs I've got a multiproject set up that generates an EAR art

Multiproject and Testing EJBs

2005-02-28 Thread Poppe, Troy
I've got a multiproject set up that generates an EAR artifact. I'd like to write some JUnit or Cactus tests to test the EJBs that I have in an EJB-JAR in my EAR I am using JBoss as my deployment environment... I'm curious if anyone can share their experience setting up JUnit/Cactus tests.

Re: artifacts and JDK version

2005-02-28 Thread Arnaud HERITIER
No, I can say : "You're welcome to help us to do it in m1 if you want" Personally I have already a lot of things to do in m1 plugins. Little by little, Brett and others core committers (maybe myself one day) will try to add m2 features in m1 but it won't be done in 1 day. Arnaud On Mon, 28 Feb 2

Rsync staged site deploy hangs

2005-02-28 Thread Oscar Picasso
Hi, Not sure this is a maven specific question. When I do: $ maven site:publish I get: ... [echo] Executing rsync on stage server to publish to live server [echo] executable: ssh and it hangs. I can do direct deployments without problem to both the stage and publish sites. I tried the

Re: artifacts and JDK version

2005-02-28 Thread Martijn Dashorst
But when is m2 due? Please don't say 'its done when its done'. Most developers can't wait until then. I don't think this is too hard to add, just as adding the type of dependency (runtime, compiletime, testtime). If this could make it into maven 1.1 then many people would be happy. Martijn Arn

Re: artifacts and JDK version

2005-02-28 Thread Arnaud HERITIER
I think that this feature will be available in m2. But in m1 I don't think we'll support it. Arnaud On Mon, 28 Feb 2005 13:23:32 +0100, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > This sounds like a good option. I'm +1. > > Martijn > > Nicolas De Loof wrote: > > > > > Hi, > > > > I've got s

Re: Junit with maven does it work

2005-02-28 Thread Krikor Krumlian
Thank you martijn Dashorst Figured out my mistake and what was happening , the problem was that in my unit tests I have specified the package name test , So maven was putting the classes in in test-classes/test/Testxxx.class and thus it was not finding it later when it needed to test. so when

RE: Dependency download mechanism

2005-02-28 Thread Harald Meyer
Hi, > yup. You would have to declare the 0.8 dependency as > 0.8-SNAPSHOT. Then it would check the timestamp of the remote > file and download it if it's new. > That's the only workaround I know about. Non snapshots are > never downloaded when in the local repository. ok, that looks promising.

Re: Maintaining private repositories

2005-02-28 Thread Frederic Jean
I configured a seperate repository to hold our private jars and pointed maven-proxy to look at it first. Fred Ralph PÃllath wrote: Is it possible to upload a jar to maven-proxy directly? Or do I have to maintain a separate repository that maven-proxy mirrors in addition to ibiblio? Than

Re: Junit with maven does it work

2005-02-28 Thread Martijn Dashorst
Krikor Krumlian wrote: Hello everyone Has anyone been able to make junit tests work in maven ? If yes can you show me the dependency you used maven version and the stuff . It seems so easy and should work but for some reason i have not been able to . thank you Try the 'maven genapp' plugin, whic

Re: Dependency download mechanism

2005-02-28 Thread Milos Kleint
Harald Meyer wrote: Hi, Why do you want to do that? What do you want to achieve? the idea is to allow users to specify "partial" version numbers for dependencies (at least for internal dependencies). So "0.8" means download the artifact in version "0.8.x" with the highest av

Junit with maven does it work

2005-02-28 Thread Krikor Krumlian
Hello everyone Has anyone been able to make junit tests work in maven ? If yes can you show me the dependency you used maven version and the stuff . It seems so easy and should work but for some reason i have not been able to . thank you

RE: Dependency download mechanism

2005-02-28 Thread Harald Meyer
Hi, > >>Why do you want to do that? What do you want to achieve? > > > > > > the idea is to allow users to specify "partial" version numbers for > > dependencies (at least for internal dependencies). So "0.8" means > > download the artifact in version "0.8.x" with the highest > available x.

Re: Dependency download mechanism

2005-02-28 Thread Gisbert Amm
Harald Meyer wrote: Hi, is the mechanism that downloads the dependencies specified in the project object model a plugin or in some way adjustable? AFAIK is this part of the maven core. I want to change the dependencies specified in the pom before their download is tried. Is this possible? Why do

Réf. : Re: artifacts and JDK version

2005-02-28 Thread julien . kirch
> Is they're some plan to add property to artifacts in repo that gives > minimal Java version ? I think it may be set in Manifest, but I've > never seen this info. sounds like http://jira.codehaus.org/browse/MPJAR-36 ? (see Created-By section) Julien This message and any attachments (the "m

Re: artifacts and JDK version

2005-02-28 Thread Martijn Dashorst
This sounds like a good option. I'm +1. Martijn Nicolas De Loof wrote: Hi, I've got some troubles using ibiblio as source for binaries because my project runs on JDK1.3. Some artifacts on repository are compiled on java 1.4 or 5.0 and don't run on JDK 1.3 For example, my project uses commons-dbc

artifacts and JDK version

2005-02-28 Thread Nicolas De Loof
Hi, I've got some troubles using ibiblio as source for binaries because my project runs on JDK1.3. Some artifacts on repository are compiled on java 1.4 or 5.0 and don't run on JDK 1.3 For example, my project uses commons-dbcp and securityfilter. The first required to be rebuilt (using it's ant

RE: Dependency download mechanism

2005-02-28 Thread Harald Meyer
Hi, > > Harald Meyer wrote: > > Hi, > > > > is the mechanism that downloads the dependencies specified in the > > project object model a plugin or in some way adjustable? > > AFAIK is this part of the maven core. > > > I want to change the dependencies specified in the pom before their > >

Re: Dependency download mechanism

2005-02-28 Thread Gisbert Amm
Harald Meyer wrote: Hi, is the mechanism that downloads the dependencies specified in the project object model a plugin or in some way adjustable? AFAIK is this part of the maven core. I want to change the dependencies specified in the pom before their download is tried. Is this possible? Why do

JSF problem

2005-02-28 Thread Eric Chow
Hello, Is there any simple completed example to use JSF with Maven ? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maintaining private repositories

2005-02-28 Thread Rick Mann
On Feb 27, 2005, at 19:43, Frederic Jean wrote: I have used maven-proxy with good results to do so. Have a look at http://maven-proxy.codehaus.org/ That's more like it. Thanks! -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Maintaining private repositories

2005-02-28 Thread Ralph Pöllath
Is it possible to upload a jar to maven-proxy directly? Or do I have to maintain a separate repository that maven-proxy mirrors in addition to ibiblio? Thanks, -Ralph. On 28.02.2005, at 04:43, Frederic Jean wrote: I have used maven-proxy with good results to do so. Have a look at http://maven-p