Re: maven v. 1.0.2 and multiproject:site

2005-07-12 Thread Sidart Kurias
I too had a different structure for my projects than what maven suggests. Struggled with getting multiproject:site to work, (all other goals such as jar, compile worked). In the end moved to a maven compliant structure. Would highly recommend you try the same. --- Anthony Kong <[EMAIL PROTECTED]>

Re: maven v. 1.0.2 and multiproject:site

2005-07-12 Thread Sidart Kurias
I too had a different structure for my projects than what maven suggests. Struggled with getting multiproject:site to work, (all other goals such as jar, compile worked). In the end moved to a maven compliant structure. Would highly recommend you try the same. Sid --- Anthony Kong <[EMAIL PROTECT

Re: [M2] classpath problem with surefire

2005-07-12 Thread Joakim Erdfelt
Johnny Ruiz wrote: c_inconnu3 wrote: And 2 properties files in src/test/resources/ and src/test/resources/a/b/c/. When I run "m2 test" the following always returns null: InputStream inputStream = ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties"); System.out.println(" " +

Re: [M2] classpath problem with surefire

2005-07-12 Thread Johnny Ruiz
c_inconnu3 wrote: Hi, I have this pom: 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 maven-v4_0_0.xsd"> 4.0.0 mygroup tests 0.20-SNAPSHOT jar

Re: Local repository first

2005-07-12 Thread Allan Ramirez
Scott Yongjie Liu wrote: Hello everybody, Maven is always checking remote repository b4 local even if the artifacts are already downloaded, is there any way to configure this? Thanks, Scott try this. "m2 install -o" -o option means that maven will work offline. -

[M1.0.2] Can a CD be a remote repository

2005-07-12 Thread Harrison . Curtis
I am trying to use Maven to install an application on a secure system. The system can not have access to the WEB. I have put all required libraries in a repository on the CD, but it appears Maven can not access them as part of the download (from the plugin jelly code it appears it has to be a htt

Re: [m2] build failure

2005-07-12 Thread Rahul
Hi John, It is fixed ! I tried it this morning and it works. Thanks, Rahul John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this should be fixed, I think. John Casey wrote: | when did you svn up? I checked in some changes related to that stuff | yesterday at around 8:00 PM U

Re: [m2] build failure

2005-07-12 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this should be fixed, I think. John Casey wrote: | when did you svn up? I checked in some changes related to that stuff | yesterday at around 8:00 PM US Eastern time...if you can svn up again | and the build/bootstrap still breaks, can you let me kno

RE: Maven, CruiseControl, multiple projects & Best Practices

2005-07-12 Thread Paul Roberts
Jamie - I have a similar issue. Using your project structure names to illustrate - I am using a jar:deploy-snapshot goal for the common and component1 projects. In the POM file for the component1 and server projects I define the dependencies for common and component1 with a version of SNAPSHOT

[M2] classpath problem with surefire

2005-07-12 Thread c_inconnu3
Hi, I have this pom: 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 maven-v4_0_0.xsd"> 4.0.0 mygroup tests 0.20-SNAPSHOT jar junit

Re: Local repository first

2005-07-12 Thread Alex Soto
see maven --help use the -o OR --offline option On 7/12/05, Scott Yongjie Liu <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > > > Maven is always checking remote repository b4 local even if the > artifacts are already downloaded, is there any way to configure this? > > > > Thanks, > >

scm:update

2005-07-12 Thread Mariano Stampella
Hi, Im using scm:update with a 1.5 version of SCM plugin and I have this problems: scm:update: [echo] Updating from SCM [INFO] Executing: cvs -f -q update -d [INFO] Working directory: c:\eclipse\workspace\manga [WARNING] Unknown status: '? '. [WARNING] Unknown status: '? '. [WARNING] Unknown

Re: Dependency management in maven 2

2005-07-12 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See my response inline. Maarten Coene wrote: | | What we need is the following (which is all supported by Ivy): | - a repository layout which is different from the standard maven/maven2 layout on ibiblio We have two layouts currently: legacy (maven

deploying webstart apps with maven

2005-07-12 Thread Ryan Sonnek
Is anyone using maven (JNLP plugin) to deploy webstart applications? I've been trying to figure out a sensible way to deploy my application for a while now. One of the biggest issues i've run into is how should the webstart app be deployed? I think ideally, the jnlp file would be deployed to the

[m2] Adding ANT task to Maven 2

2005-07-12 Thread Vitaliy Geraymovych
I am in the process of moving Ant scripts to Maven2. I am looking for an example of how to invoke ant task within a specific phase of m2. My goal for now is to invoke our custom ant targets and than later on replace them one by one with maven plugins. Thanks, Vitaliy

Re: [m2] adding an existing tld to a war file

2005-07-12 Thread Emmanuel Venisse
Dennis Geurts wrote: On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Dennis Geurts wrote: Thanks Emmanuel, If I'm not mistaken, the spring-1.0.2.tld is not added to the war at all... I'll check as soon as possible... Add a jira issue done: http://jira.codehaus.org/browse/MNG

Local repository first

2005-07-12 Thread Scott Yongjie Liu
Hello everybody, Maven is always checking remote repository b4 local even if the artifacts are already downloaded, is there any way to configure this? Thanks, Scott

Re: [m2] adding an existing tld to a war file

2005-07-12 Thread Dennis Geurts
On 7/12/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > > > Dennis Geurts wrote: > > Thanks Emmanuel, > > If I'm not mistaken, the spring-1.0.2.tld is not added to the war at > > all... I'll check as soon as possible... > > Add a jira issue done: http://jira.codehaus.org/browse/MNG-579

Re: [m2] adding an existing tld to a war file

2005-07-12 Thread Emmanuel Venisse
Dennis Geurts wrote: Thanks Emmanuel, If I'm not mistaken, the spring-1.0.2.tld is not added to the war at all... I'll check as soon as possible... Add a jira issue I also notice that the maven-eclipse-plugin will add the dependency of type 'tld' to the classpath, resulting in an incorr

Re: [m2] build failure

2005-07-12 Thread Yann LE DU
I svn-ed up today at 11:30 AM GMT +1 and got the same error as Rahul. Seems to be somewhat related to http://jira.codehaus.org/browse/MNG-377 -- Mail d'origine --- De : "John Casey" [EMAIL PROTECTED] A : "Maven Users List" users@maven.apache.org Cc : Date : Tue,

Re: [m2] adding an existing tld to a war file

2005-07-12 Thread Dennis Geurts
Thanks Emmanuel, If I'm not mistaken, the spring-1.0.2.tld is not added to the war at all... I'll check as soon as possible... I also notice that the maven-eclipse-plugin will add the dependency of type 'tld' to the classpath, resulting in an incorrect build classpath in eclipse. (but I'll loo

Re: [m2] build failure

2005-07-12 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 when did you svn up? I checked in some changes related to that stuff yesterday at around 8:00 PM US Eastern time...if you can svn up again and the build/bootstrap still breaks, can you let me know? Thanks, - -john Rahul wrote: | Greetings, | | For t

Re: [m2] adding an existing tld to a war file

2005-07-12 Thread Emmanuel Venisse
Dennis Geurts wrote: Hi all, I'm using maven 2.0-alpha-3. To get used to the new structure in maven2 I started converting some of my projects to maven2 and came up with the following: 1) Suppose I want to package a war file and want to include the spring-1.0.2.tld in /WEB-INF how do I go

Re: [m2] SCM update

2005-07-12 Thread Emmanuel Venisse
it isn't released, so you can't use it. I think I'll deploy a snapshot version this week. Emmanuel Peter Meijer wrote: Hi, Does anybody know how to use the SCM plugin in Maven 2 (alpha-3)? It used to be "scm:update", but this seems not to be the case anymore. On the Maven 2 site I can't f

Re: [ANN] continuum-1.0-alpha-3

2005-07-12 Thread Jason van Zyl
On Tue, 2005-07-12 at 07:22 +0200, Kenney Westerhof wrote: > On Mon, 11 Jul 2005, Jason van Zyl wrote: > > The subject sais alpha-3, > > > The Maven team is pleased to announce the 1.0-alpha-2 release of > > and this line alpha-2. > > Human error or bug in some announce plugin? Human error on

[m2] SCM update

2005-07-12 Thread Peter Meijer
Hi, Does anybody know how to use the SCM plugin in Maven 2 (alpha-3)? It used to be "scm:update", but this seems not to be the case anymore. On the Maven 2 site I can't find any information on this subject. It seems that the 'update' step is not in the build-lifecycle. Thanks, Peter Mei

[m2] adding an existing tld to a war file

2005-07-12 Thread Dennis Geurts
Hi all, I'm using maven 2.0-alpha-3. To get used to the new structure in maven2 I started converting some of my projects to maven2 and came up with the following: 1) Suppose I want to package a war file and want to include the spring-1.0.2.tld in /WEB-INF how do I go about automatically inser

Re: [m2] JUnit report plug-in

2005-07-12 Thread Emmanuel Venisse
oh sorry, the surefire plugin doesn't generate for the moment a report It's why you obtain an error. Add a jira issue, and we'll do it later. Emmanuel Yann LE DU wrote: I got the same pom and the same error. I had guessed that surefire had replaced junit, but as I got this ClassCastException,

Refering to Jars not in the maven repository

2005-07-12 Thread Andrei Oleinik
Hi All, Is it possible to set up maven in the way to use all jars from specific folder as a dependencies without specifying file by file? The problem is: we are using CruiseControl + Ant for integration builds and Maven for reports. All our jars are in specific location in the project repository

Re: [m2] JUnit report plug-in

2005-07-12 Thread Yann LE DU
I got the same pom and the same error. I had guessed that surefire had replaced junit, but as I got this ClassCastException, I thought surefire was not a report plugin. What is the problem here ? Need to file in JIRA ? -- Mail d'origine --- De : "news" [EMAIL PROTECTED] A

Re: [ANN] continuum-1.0-alpha-3

2005-07-12 Thread jeremi joslin
On 7/12/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > The Maven team is pleased to announce the 1.0-alpha-2 release of > Continuum. This release offers users both an advance look at what's in > Continuum 1.0 and a head start in helping to shape the final Continuum > release. > > You can find ever

Re: [m2] JUnit report plug-in

2005-07-12 Thread Daniel Schömer
Emmanuel Venisse wrote: > Yann LE DU wrote: >> >> I'm looking for the JUnit report plug-in in Maven 2. Is >> it implemented yet or is it planned for beta 1 ? > > it exist since the first alpha. it's the surefire plugin. And what is needed in pom.xml to get the surefire report? | | ... | |

RE: Ignoring the dependent goal

2005-07-12 Thread Vincent Massol
> -Original Message- > From: rahul murthy [mailto:[EMAIL PROTECTED] > Sent: mardi 12 juillet 2005 09:47 > To: Maven Users List > Subject: Ignoring the dependent goal > > Hi all, > > how can we implement the dependent goal to ignored. > like i have > > > ${cmd_arg} > > > > >

Ignoring the dependent goal

2005-07-12 Thread rahul murthy
Hi all, how can we implement the dependent goal to ignored. like i have ${cmd_arg} i would like the goal "rrm" to be executed even if the goal ="createSomething" fails. regards, Rahul. ___

Dependency management in maven 2

2005-07-12 Thread Maarten Coene
Hi, I'm investigating a migration from our Ant build files to maven 2. During this, I came accross Ivy, which has some nice features maven 2 doesn't seem to provide. What we need is the following (which is all supported by Ivy): - a repository layout which is different from the standard maven

[m2] build failure

2005-07-12 Thread Rahul
Greetings, For the latest SVN snapshot, I am getting a build failure with the message below. Appreciate any ideas? Cheers, Rahul [INFO] maven-archiver: using locally installed snapshot [INFO] [jar:jar] [INFO] Building jar: /opt/applications/sources/maven2/trunk/maven-plugins/maven-ant-plug