Re: Example POM for WebLogic servicegen needed

2006-11-13 Thread Dmystery
What i have right now is a ejb-project, war-project and an ear-project. In the ejb-project i use appc to compile the generated artifact so when i do an install the 'compiled artifact' gets installed in the repository. The war-project uses the compiled ejb artifact. Same for the ear-project, it

Unsupported WTP version: 1.5

2006-11-13 Thread Minto van der Sluis
Hi all, I try to use the maven eclipse plugin for WTP 1.5. But it tells me it does not know WTP 1.5. What am I doing wrong? My pom looks like this: properties ejbversion2.0/ejbversion java13_home/opt/java/ibm-jdk-131//java13_home /properties build plugins plugin

Not set groupId and version?

2006-11-13 Thread jiangshachina
Hi guys, I have saw some guides like the following, http://maven.apache.org/guides/mini/guide-assemblies.html plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptorsrc/main/assembly/dep.xml/descriptor /configuration /plugin Why can not set groupId and

Re: Not set groupId and version?

2006-11-13 Thread Dmystery
The parent of this pom might be using pluginManagement. To know more http://maven.apache.org/pom.html#Plugin%20Management jiangshachina wrote: Hi guys, I have saw some guides like the following, http://maven.apache.org/guides/mini/guide-assemblies.html plugin

Re: Unsupported WTP version: 1.5

2006-11-13 Thread Stéphane Bouchet
You may use the 2.3-SNAPSHOT version of the eclipse plugin to have it to work. Cheers, Stéphane. Minto van der Sluis a écrit : Hi all, I try to use the maven eclipse plugin for WTP 1.5. But it tells me it does not know WTP 1.5. What am I doing wrong? My pom looks like this: properties

Re: Not set groupId and version?

2006-11-13 Thread jiangshachina
Well Dmystery, I almost forget the matter :) Thanks for awaking my memory. In fact, I don't use dependency management usually. I think it wastes me too much ink *_* Or anybody has a good way to use the element. Thanks! a cup of Java, cheers! Sha Jiang Dmystery wrote: The parent of this

Re: Not set groupId and version?

2006-11-13 Thread Tom Huybrechts
According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins Tom On 11/13/06, jiangshachina [EMAIL PROTECTED] wrote: Hi guys, I have saw some guides like the following, http://maven.apache.org/guides/mini/guide-assemblies.html plugin

Running tests several times - saving the state (current phase) of the project

2006-11-13 Thread Steinar Cook
The surefire reporting plugin re-runs the tests, which is kind of natural as there is really no way to tell the current state of the project. I think Maven should introduce the concept of a project state, which would make some of the plugins easier to implement. Maven2 supplies a set of

RE: Unsupported WTP version: 1.5

2006-11-13 Thread hermod.opstvedt
Hi You need to use the latest snapshot of the plugin - Not the released Hermod -Original Message- From: Minto van der Sluis [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 10:07 AM To: users@maven.apache.org Subject: Unsupported WTP version: 1.5 Hi all, I try to use the

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Barrett Nuzum [mailto:[EMAIL PROTECTED] Sent: 10 November 2006 17:30 To: Maven Users List Subject: RE: [m2] List of All Dependencies for any project X Peter: mvn project-info-reports:dependencies should give you what you want. Can you make

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can you make this report easily descend recursively through sub-projects or not ? Don't you get a dependency tree like on this report?: http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies.html Mark

Re: Not set groupId and version?

2006-11-13 Thread jiangshachina
Hi Tom, According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins How to see it? a cup of Java, cheers! Sha Jiang Tom Huybrechts wrote: According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins Tom

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Barrett Nuzum [mailto:[EMAIL PROTECTED] Sent: 10 November 2006 17:30 To: Maven Users List Subject: RE: [m2] List of All Dependencies for any project X Peter: mvn project-info-reports:dependencies should give you what you want. What I meant to

Re: Problem during build

2006-11-13 Thread ETIENNE Olivier
I found the solution ! It cames from dirty files stored in the CVS repository, removing them has solved my problem. ETIENNE Olivier a écrit : Hi, I'm trying to compile a Java project based on a CVS repository and ant builds scripts. When the project build is launch, the files are retrieved

RE: Mailing is not working

2006-11-13 Thread Artamonov, Juri
Do you use single continuum or continuum with maestro? If second then the issue could be in the code and here is the file you need to have updated: http://people.apache.org/~evenisse/private/continuum-plexus-application- 1.0.3-maestro-1.0.1.jar -Original Message- From: Morgovsky,

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What I meant to ask. Is there a way to get a aggregate (or grand total) of all the dependencies for project A and it descendent sub projects A-A, A-B, A-B-A, A-B-B etc? So a list of all transitive dependencies, as per the report, but also

Re: Not set groupId and version?

2006-11-13 Thread Tom Huybrechts
The POM reference is http://maven.apache.org/pom.html It contains a link to the schema: http://maven.apache.org/maven-v4_0_0.xsd On 11/13/06, jiangshachina [EMAIL PROTECTED] wrote: Hi Tom, According to the POM schema, the groupId for plugin has a default value of org.apache.maven.plugins

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 10:15 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What I meant to ask. Is there a way to get a

How does Continuum launch a build process?

2006-11-13 Thread Binil Thomas
Hi all, I am using Maven2+Continuum1.0.3+Win2K. I have some automated GUI tests for my project. In my tests, I take a screenshot of every step using java.awt.Robot.createScreenCapture (http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html#createScreenCapture(java.awt.Rectangle). When I

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
Hi Mark Is this a MOJO or plug-in? I loaded this project from the ZIP into Eclipse and built it from the command. I commented out the maven-shared-component definition in the pom.xml. How do I use this plug-in? There are no descriptions or secret parameters that I can see. -- Peter Pilgrim

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Something like that I think. For now I would like to know if what the dependency used in the whole project. Suppose I had a project tree such as this: A--B--C | D--E--F | G Say if `commons-collections (3.1)' is used

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
Hi Peter, On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is this a MOJO or plug-in? I loaded this project from the ZIP into Eclipse and built it from the command. I commented out the maven-shared-component definition in the pom.xml. How do I use this plug-in? There are no descriptions

Advice for 3rd party deps not in public repos

2006-11-13 Thread Mirko Nasato
Hi all, I'm moving the JOOReports and JOOConverter (http://jooreports.sourceforge.net) open source projects to a maven2-based build, with an eye to publishing the artifacts to a public repository. The migration was very easy thanks to the excellent documentation, especially Better Builds

Re: Exclude modules from site

2006-11-13 Thread dawn.angelito
Hi JC, Have you tried using moduleExcludes instead? You may refer to: http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleExcludes. Hope this helps. Dawn JC Walmetz wrote: I have a pom with several modules. I'd like to exclude some of the modules from the site. I

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 11:23 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Something like that I think. For now I

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] ==== On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is this a MOJO or plug-in? I loaded this project from the ZIP into Eclipse and built it from the command. I commented out the

Ant build file generation is bad...

2006-11-13 Thread Javier Leyba
Hi I´ve used ant:ant command from maven to generate a build file some time ago and ant place in the generated build file all dependencies as classpath. I did today and discovered that ant just make something like this: path id=build.classpath fileset dir=${maven.repo.local}/ /path Is this

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok when I try running `mvn project-info-reports:dependencies' on my client's own project I don't see this grand total view. I can see only the dependencies relevant to the current project that I am in, even it is the (root) master project.

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So this is no go, then until the Mojo is released. Kind of - I could submit the patch in the meantime, but really it just gives the same info as the dependency reports plugin. Mark

Setting up a new jre to maven

2006-11-13 Thread Allan Valeriano
Hi all, I'm having problems setting up a new jre to run mvn install. My default java version is 1.4.2_11, but I need maven to use jre 5 for it. I've read the FAQ, but I must say the example for it is not really helpful. Could somebody give me a hand on this sending a complete example? thanks

Re: Passing Maven Variable as a system property to the tests

2006-11-13 Thread Binil Thomas
dan tran wrote: ${basedir}/target could be the work around -D I did not try this, but by replacing ${project.build.outputDirectory} with ${basedir}/target we end up shifting the problem of evaluating ${project.build.outputDirectory} with one of evaluating ${basedir} rt? Also, using File

Re: Advice for 3rd party deps not in public repos

2006-11-13 Thread Nicolas DE LOOF
You can create POMs for those artifacts and create an upload bundle. Then publish a request on Jira for uploading. http://maven.apache.org/guides/mini/guide-central-repository-upload.html The best solution would be to get those jar published by Oo.org themselve. Did you try to contact them

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] ==== On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok when I try running `mvn project-info-reports:dependencies' on my client's own project I don't see this grand total view. I can see only the

Re: Advice for 3rd party deps not in public repos

2006-11-13 Thread Mirko Nasato
Hi Nicolas, Nicolas DE LOOF wrote: The best solution would be to get those jar published by Oo.org themselve. Did you try to contact them for this ? You may sugget your home mades POMs to openoffice developpers for approval prior to creating an upload request. Notice those POMs are not

Best practice for source-generating multiple archetype plugin

2006-11-13 Thread Tomas Carlsson
Hi, We have a tool that given one input file generates code for different purposes (currently j2me, j2se, ansi-c). I'm planning to write an m2 plugin for this tool but I'm not really sure how to do it. What I'm trying to achieve is to only have one copy of the original input file and whenever

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Running `mvn -U project-info-reports:dependencies'. Does not get the latest version. Where is the latest version in the SVN tree? And is the one in SVN actually working now? The latest version is 2.0.1:

Re: Exclude modules from site

2006-11-13 Thread JC Walmetz
Hi, I've tried several configuration artifactIdmaven-site-plugin/artifactId configuration moduleExcludesmoduleExcludetransferobject.sdo.test/moduleExclude/moduleExcludes /configuration This one is ignored, module is still in the test artifactIdmaven-site-plugin/artifactId

Re: Unsupported WTP version: 1.5

2006-11-13 Thread Minto van der Sluis
Hi, Thanks for the answers. I not have the following in my pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration wtpversion1.5/wtpversion /configuration

Re: Unsupported WTP version: 1.5

2006-11-13 Thread Stéphane Bouchet
the eclipse plugin snapshot is hosted on apache. add these to your settings : repositories repository idapache.snapshots/id urlhttp://people.apache.org/maven-snapshot-repository//url /repository /repositories pluginRepositories

SV: Best practice for source-generating multiple archetype plugin

2006-11-13 Thread Jonas Olsson
How about moving the input file into a dependency for the other three projects (each using the same plugin configured for one of its three modes)? You end up with four projects instead of one, but it's maven compliant. Also you get the (unwanted in your case) option of having different versions

Re: Exception while registering Interceptor class pssForceAdminUserInterceptor

2006-11-13 Thread Erik Ruisma
Seems like some update have been submitted to the archiva project I got it up and running know: As mentionned on the site Deploying in Plexus is broken at the moment. This works fine for me: - cd archiva-webapp - mvn jetty:run On 11/9/06, Erik Ruisma [EMAIL PROTECTED] wrote: Hello,

Re: Newbie help needed with Eclipse project

2006-11-13 Thread Adam Hardy
Marco Mistroni wrote: Hi rick, try this link http://blogs.unixage.com/blojsom/blog/adam.kruszewski/eclipse/?permalink=Maven2-Eclipse-plugin-with-latest-WTP-from-callisto-update-site.html looks like an 'updated version' of maven2 plugin for eclipse... i m using it too.. even though i m

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 13:34 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Running `mvn -U

customize email notification

2006-11-13 Thread raghurajan . x . gurunathan
Is there a way to customize the email notification sent from continuum?? Thanks, Raghurajan Gurunathan - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable

Re: How does Continuum launch a build process?

2006-11-13 Thread Emmanuel Venisse
mvn is launched by Continuum by using mvn command and the build definition define on your project, by default is '-N clean install'. So continuum build the project with this command 'mvn -N clean install' For your problem, it's possible you don't have a display on your server. Emmanuel Binil

RE: customize email notification

2006-11-13 Thread Artamonov, Juri
Not in 1.0.3. I believe continuum developers will introduce this in 1.1 and make them based on templates. Best regards, Juri. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 5:00 PM To:

ZQ: Parent POM version

2006-11-13 Thread Rahamim, Zvi \(Zvi\)
Hi, In case I have a project with pom.xml with a parent. I want that this pom.xml will use the latest version of the parent (so that in case there is a change in the dependencies of the parent, I won't have to change pom.xml, but only the parent). How can I do it? Thanks!

Re: [m2] List of All Dependencies for any project X

2006-11-13 Thread Mark Hobson
On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Guess I must be missing something elementary here with report set up, because I definitely have the latest 2.0.1 on my machine. Unfortunately I don't see the aggregate view for all the sub projects at all. Subprojects.. right, so you're

Re: Setting up a new jre to maven

2006-11-13 Thread Wayne Fay
We already did. There were 5 responses to your original email sent on Friday. Wayne On 11/13/06, Allan Valeriano [EMAIL PROTECTED] wrote: Hi all, I'm having problems setting up a new jre to run mvn install. My default java version is 1.4.2_11, but I need maven to use jre 5 for it. I've read

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 15:31 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Guess I must be missing something elementary

Re: [M1] AspectJ with two source trees (main/src main/test)

2006-11-13 Thread diyfiesta
So, looking into this more (and having created a simple example project to demonstrate it), it looks like the the aspectj plugin is compiling things correctly, its just that the tests are being run from the incorrect place. So, for example, the output of the aspectj compilation goes into

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
No. It wont work at all -Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 15:31 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Guess I must be missing

Re: [m2] eclipse:eclipse and checkstyle nature

2006-11-13 Thread Daniel Kulp
On Wednesday November 08 2006 4:31 pm, Barrie Treloar wrote: I found one post here http://www.nabble.com/forum/ViewPost.jtp?post=2165470framed=yskin=177 which discussed creating the buildcommand, projectnature and additional .checkstyle file needed for configuring checkstyle in eclipse but

Re: Unknown file status: 'S' in line Skipped '.'.

2006-11-13 Thread thenew05
What seems to be happening is that the parent is throwing the error/warning then it skips the update for all the child projects? Is there a way to get pass this? Or is this a known problem? Thanks On 11/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The problem is that the build passes,

continuum build project more than once

2006-11-13 Thread Wierschke Robert
hi, why does continuum build my projects multiple times (up to 31) when i click on build now??? robert

Re: Test : preventing expected stack trace in the console

2006-11-13 Thread Mirko Nasato
Same problem here. dawn.angelito wrote: Try using the --quiet option. It will change the logging level to ERROR. The --quiet option doesn't seem to exist in Maven 2.0.4 $ mvn --quiet test Unable to parse command line options: Unrecognized option: --quiet ... I've also tried the

RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 15:31 To: Maven Users List Subject: Re: [m2] List of All Dependencies for any project X On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Guess I must be missing something elementary

Ignore CVS-directories in Eclipse builds of a Maven 2 project

2006-11-13 Thread Robin de Silva Jayasinghe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks! I have the following problem with a Maven 2 project: My project is in a CVS repository and the target-dir is excluded from CVS via .cvsignore. As long as I build with Maven everything is fine. When I generate a Eclipse project out of

Re: Setting up a new jre to maven

2006-11-13 Thread Allan Valeriano
Sorry about it. I had some problems with my subscription, so I didn't receive any response. I found them at the mail archive, but I'm still having the same problem. =( I put the tag Julio S.G. suggested in the pom.xml of my project's packaging pom because it's multimodule project build

Definition of a custom archetype

2006-11-13 Thread Barbier-Accary Aurélien
Hi, I try to define a custom j2ee archetype with spring, struts, hibernate, ... I have an issue to define the sources and resources in the archetype.xml file : sources sourcesrc/main/java/**/* /source /sources resources

Re: Passing Maven Variable as a system property to the tests

2006-11-13 Thread Dan Tran
I think you got stucked with this, just like me. File a jira againt surefire plugin to support Map as additional configuration ( beside Properties) , that will solve all the problems. -D On 11/13/06, Binil Thomas [EMAIL PROTECTED] wrote: dan tran wrote: ${basedir}/target could be the

Re: Setting up a new jre to maven

2006-11-13 Thread Wayne Fay
You can put it in the parent pom project with complete configuration etc, but then you also need to include a reference to the compiler-plugin in the build section in each of your modules. Wayne On 11/13/06, Allan Valeriano [EMAIL PROTECTED] wrote: Sorry about it. I had some problems with my

Re: Advice for 3rd party deps not in public repos

2006-11-13 Thread Mirko Nasato
Mirko Nasato wrote: I've raised an issue with the OOo team asking them to publish the jars but I'll be very surprised if they actually listen to that request. Actually I have to take this back; seems like they'll let me maintain the OOo jars on ibiblio. :) Best regards Mirko

RE: Performance collapse when logged as admin

2006-11-13 Thread Samuel Langlois
Hello, Can you please confirm that the issue is pinpointed and taken care of? I apologize for sounding pushy, but I would really like to be sure that this performance issue will be corrected in the future (and hopefully before we roll out in a few months!) In case it matters, we indeed use

Re: Unsupported WTP version: 1.5

2006-11-13 Thread Minto van der Sluis
Thanks, now it works. Stupid me forgot all about the separate plugin repositories. :-) regards, Minto Stéphane Bouchet-3 wrote: the eclipse plugin snapshot is hosted on apache. add these to your settings : repositories repository idapache.snapshots/id

Trying Quickly build Archiva

2006-11-13 Thread Peter . Pilgrim
Hi Trying to build Archiva because there is no binaries available. What are the correct repositories? 278K downloaded Downloading: https://maven-repository.dev.java.net/nonav/repository/commons-conf iguration/jars/commons-configuration-1.3.jar [INFO]

Re: Trying Quickly build Archiva

2006-11-13 Thread Wendy Smoak
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Trying to build Archiva because there is no binaries available. What are the correct repositories? Error transferring file commons-configuration:commons-configuration:jar:1.3 Did it happen more than once? Commons Configuration

mvn2: Failed to validate POM error

2006-11-13 Thread Attila Mezei-Horvati
I have two projects. One is a jar, second is a war. I run the 'mvn clean install' for the jar and works fine. I can see the files installed in my local .m2/repository. The second project has the dependency on the first: dependency groupIdgroupId/groupId

RE: Trying Quickly build Archiva

2006-11-13 Thread Peter . Pilgrim
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 18:22 ==== On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Trying to build Archiva because there is no binaries available. What are the correct repositories? Error

Re: Setting up a new jre to maven

2006-11-13 Thread Aaron Metzger
Can anyone explain the rationale behind this behavior? Why doesn't maven default to using the highest source and binary versions supported by the JVM with which Maven itself is executed with the configuration only required if you don't want that? When the JDK reaches version 42.7, will

Re: Trying Quickly build Archiva

2006-11-13 Thread Wendy Smoak
On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I download all of the software from the required page as described. The sun jars. I cant see what is wrong there. It happens more than once in build Archive Security Configuration project. The error you posted said it couldn't download

Updating the super pom.xml

2006-11-13 Thread Prashanth Krishnamurthy
We recently moved the maven repository to a different machine. Hence we updated the ftp url in the super pom.xml, pointing to the new maven machine. When I build the projects in continuum, they are all still pointing to the ftp server on the old maven machine. Shouldn't this sync up (perforce)

Re: mvn2: Failed to validate POM error

2006-11-13 Thread Eric Redmond
Does it actually say: POM for 'projname':compile? with 'projname' in quotes? Note that all IDs are case sensitive also. As a last resort, try deleting the offending project from your local repository, then recompiling. Eric On 11/13/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: I have

test failure on trunk

2006-11-13 Thread Brian E. Fox
I'm trying to build the trunk and I get this test failure: Test set: org.apache.maven.continuum.DefaultContinuumTest --- Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25.313 sec FAILURE!

Re: Best practice for source-generating multiple archetype plugin

2006-11-13 Thread Arnaud Bailly
Tomas Carlsson [EMAIL PROTECTED] writes: Hi, My initial thought is to create a plugin that first generates sources for the different purposes, then compiles them and lastly packages one archive for each type. I.e: 1 input file = 3 generated source trees = 3 compiled classes tress = 3

Re: Trying Quickly build Archiva

2006-11-13 Thread Arnaud HERITIER
I deployed some days ago a snapshot of the webapp with some patchs applied which aren't yet in the trunk : http://people.apache.org/~aheritier/archiva/ http://jira.codehaus.org/browse/MRM-211 If it can help ... Arnaud On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Trying to

Re: mvn2: Failed to validate POM error

2006-11-13 Thread Attila Mezei-Horvati
Eric, thanks for your reply. So far I couldn't get any closer to the issue. I already tried to delete from my local repo and then reinstall. The error still occurs. I checked the pom itself in the installed package. It is valid xml and seems as a valid pom file to me. This is the exact

maven stat cvs plugin

2006-11-13 Thread Kaukuntla, Sukumar - CO B
I have a NullPointerException with de plugin statcvs and I don´t known how to solve it... Thanks, Sukumar The information contained in this email may be privileged, confidential or otherwise protected from disclosure. All persons are advised that they may face penalties under state and

RE: Deploy trunk on tomcat

2006-11-13 Thread Brian E. Fox
For the archives: I was able to get 1.1-SNAPSHOT deployed on Tomcat 5.0 and MSSQL 2005. I configured the resources via the admin tool and it updated the server.xml file as follows (I was unsuccesfull in getting the resources defined in the continum.xml) GlobalNamingResources ResourceParams

Re: How to get path to artifact for a dependency in a plugin

2006-11-13 Thread pjungwir
Hi Joachim, Some methods on MavenProject are deliberately limited to what you see in the pom, and others contain computed values. getDependencies() and getDependencyArtifacts() are the former type. Probably you want getArtifacts(). That will give you a Set of Artifact objects which should have

Re: Setting up a new jre to maven

2006-11-13 Thread Arnaud Bailly
Wayne Fay [EMAIL PROTECTED] writes: You can put it in the parent pom project with complete configuration etc, but then you also need to include a reference to the compiler-plugin in the build section in each of your modules. Hello, I tried without adding the reference to compiler plugin in

Re: problem with provided scope

2006-11-13 Thread pjungwir
I believe that dependencyManagement does not actually add dependencies. It just specifies which version should be used if a child adds that dependency. So instead of using dependencyManagement, perhaps you should try dependencies. Paul Joachim Van der Auwera wrote: Thanks for the help.

Re: Setting up a new jre to maven

2006-11-13 Thread Wayne Fay
Then I have no idea why its not working for Aaron... ;-) Wayne On 11/13/06, Arnaud Bailly [EMAIL PROTECTED] wrote: Wayne Fay [EMAIL PROTECTED] writes: You can put it in the parent pom project with complete configuration etc, but then you also need to include a reference to the

Why does ${...} replacement not work within parent.../parent?

2006-11-13 Thread Christian Goetze
Why can't I do this: project modelVersion4.0.0/modelVersion !-- This project belongs to ... -- parent groupIdcom.sensage/groupId artifactIdsensage/artifactId version${sensage-version}/version /parent I do run mvn -Dsensage-version=3.6... It works fine when I run from the top of the

How do I avoid install error when using dir assembly?

2006-11-13 Thread Christian Goetze
I'd like to avoid getting the following error, but still have an - bin.dir file available: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error

Re: Assembly plugin - packaging chaning the extension

2006-11-13 Thread pjungwir
Hi Ste, I'm not sure how to get a s4j extension. You could rename the file, but then it wouldn't be an attached artifact, so things like deploy would break. To get rid of the top-level directory, put this in your assembly descriptor: includeBaseDirectoryfalse/includeBaseDirectory Paul

Re: Junit and sites in Continuum

2006-11-13 Thread Lee Meador
First, I'm assuming you are talking about the site that is generated by Maven 2. I deploy the site to a handy Apache server. (See distributionManagement) It points back to the continuum server. (ciManagement I think) So its sort of the opposite of the way you are asking about. -- Lee On

Re: mvn2: Failed to validate POM error

2006-11-13 Thread Maria Odea Ching
Hi Attila, Have you tried deleting the .pom file ((com.mycompany-myapp-1.5-5007.0-QA0-SNAPSHOT.pom) from the repo before you re-installed the artifact or did you delete only the .jar (com.mycompany-myapp-1.5-5007.0-QA0-SNAPSHOT.jar) file? Thanks, Deng Attila Mezei-Horvati wrote: Eric,

Re: Continue Build and Site Generation on Junit failure

2006-11-13 Thread pjungwir
Suppose you say this: mvn test mvn site That gives you a failure but not a site. And if you say this: mvn test; mvn site you get a site but not a failure. So what if you wrote a quick plugin that checks for errors in the surefire reports? Then you could say: mvn test; mvn site; mvn

Re: [m2] eclipse:eclipse and checkstyle nature

2006-11-13 Thread Barrie Treloar
On 11/13/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote: Ok then, in the maven eclipse plugin i found the following that could be of use? Top find Rolf. I am already using the 2.3-SNAPSHOT to try out the pde stuff. eclipse:eclipse is now able to produce the .checkstyle file correctly and

Re: How do I avoid install error when using dir assembly?

2006-11-13 Thread Barrie Treloar
On 11/14/06, Christian Goetze [EMAIL PROTECTED] wrote: I'd like to avoid getting the following error, but still have an - bin.dir file available: This is a known problem and has been fixed in the snapshot version and scheduled for 2.2. http://jira.codehaus.org/browse/MASSEMBLY-119 2.2 is

RE: [M1] AspectJ with two source trees (main/src main/test)

2006-11-13 Thread Jeff Jensen
Are you saying that the test classes in test-classes need a pass by the AspectJ compiler, or the test classes do not see the AspectJ compiled classes in the classes dir? (or something else entirely?) The fact that the production classes compile to target/classes and the test classes compile to

Re: Continue Build and Site Generation on Junit failure

2006-11-13 Thread Rahul Thakur
Have you tried passing -fn (fail never) option when you invoke a build? mvn test site -fn That should continue the build inspite of any failures. HTH, Rahul pjungwir wrote: Suppose you say this: mvn test mvn site That gives you a failure but not a site. And if you say this: mvn

Re: ZQ: Generate a report to show source changes

2006-11-13 Thread franz see
Good day to you, Rahamim, Try maven-changes-plugin ( see [1] ). Cheers, Franz [1] http://maven.apache.org/plugins/maven-changes-plugin/ Rahamim, Zvi (Zvi) wrote: Hi, Is there a way to have a report that shows the changes between the sources of two releases? Thanks!

http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-13 Thread jiangshachina
Hello guys, In Maven2 super pom(see following link) http://maven.apache.org/guides/introduction/introduction-to-the-pom.html the repository is http://repo1.maven.org/maven2; but there is another repository http://www.ibiblio.org/maven2; I browsed the two, but didn't find any real difference

Re: Setting up a new jre to maven

2006-11-13 Thread franz see
Good day to you, Sha Jiang, You may be running your maven2 in jdk1.5, but the plugins that uses java may not necessarily use 1.5. For example, you can set the maven-compiler-plugin (which by default, handles the compile phase of your build) to a different JVM ( see [1] ) or by specifying the

Re: Running tests several times - saving the state (current phase) of the project

2006-11-13 Thread franz see
Good day to you, Steinar, You may want to discuss that further in the Maven Dev List and / or file a Jira Issue for that. Thanks, Franz Steinar Cook wrote: The surefire reporting plugin re-runs the tests, which is kind of natural as there is really no way to tell the current state of

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-13 Thread Brett Porter
Ibiblio is a mirror of repo1 - they are the same content. On 14/11/06, jiangshachina [EMAIL PROTECTED] wrote: Hello guys, In Maven2 super pom(see following link) http://maven.apache.org/guides/introduction/introduction-to-the-pom.html the repository is http://repo1.maven.org/maven2; but there

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-13 Thread jiangshachina
Hi Brett, Thanks for your reply. Additionally, I find that some artifacts are duplicated in the repository. For example, there are groups spring and springframework. They have same artifactsId, but the artifacts in springframework are newer. It means the group spring is deprecated? There are

Re: http://www.ibiblio.org/maven2 vs. http://repo1.maven.org/maven2?

2006-11-13 Thread Brett Porter
On 14/11/06, jiangshachina [EMAIL PROTECTED] wrote: They have same artifactsId, but the artifacts in springframework are newer. It means the group spring is deprecated? Some newer versions get moved to a new group ID. We are generally trying to consolidate them over time, and migrate old ones.

  1   2   >