Re: source modifications?

2005-10-11 Thread Wendy Smoak
From: Brett Porter [EMAIL PROTECTED] is the preferred way of doing sourceModification from maven 1 in maven 2 to use filtering on the source files and compile the target? Or is there a different (better) method. I believe these would be achieved by profiles in m2. Is there an example with

Available report plugins for Maven 2

2005-10-11 Thread Arun Chandrasekhar
Hi Is there anyplace I can get a list of the plugins that are available for maven 2? I'm looking for report plugins to use on a project but all I can seem to find at the moment are for maven v1. Thanks Arun

Re: Available report plugins for Maven 2

2005-10-11 Thread Thomas Van de Velde
http://docs.codehaus.org/x/-Ws On 10/11/05, Arun Chandrasekhar [EMAIL PROTECTED] wrote: Hi Is there anyplace I can get a list of the plugins that are available for maven 2? I'm looking for report plugins to use on a project but all I can seem to find at the moment are for maven v1.

problem in generating .war MANIFEST file with Maven 1.1

2005-10-11 Thread Marco Mistroni
Hello all, i am building a webapp using Mven 1.1 (in the background there's ant 1.6.5) whenever i built a .war, the manifest that gets created (in the war\META-INF directory) is like this Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.4.2_07-b05 (Sun Microsystems Inc.)

RE: Compiling Multiple Source Trees

2005-10-11 Thread Allison, Bob
These classes are not used in the test cases for the project they are in. They are used in test cases for projects that depend on the project. -Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 18:35 To: Maven Users List Subject: Re: Compiling

RE: Compiling Multiple Source Trees

2005-10-11 Thread Allison, Bob
I am trying to avoid having an extra 20 or 30 projects, each with one or two classes in them. -Original Message- From: Jay H. Hartley [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 19:41 To: 'Maven Users List' Subject: RE: Compiling Multiple Source Trees Alternatively, if the

RE: Compiling Multiple Source Trees

2005-10-11 Thread Allison, Bob
Trying to go down path #1 right now... I have a plugin mojo which is basically a copy of CompilerMojo, but with a couple parameters (like source and output directories) adjusted so I can specify them in the plugin configuration. Everything compiles fine but when I try to use the plugin I get a

[m2] Xdoclet Not Working

2005-10-11 Thread Thomas Van de Velde
Hi, I've tried to configure Xdoclet with M2 but it's not calling the xdoclet goal. Here's the configuration I've added to my EJB project's POM: build pluginManagement plugins plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId version1.0-alpha-1/version

Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-11 Thread Yann Le Du
Yes, I did that. More exactly, I used this in the plugin POM : ~ plugin ~artifactIdmaven-install-plugin/artifactId ~configuration ~ updateReleaseInfotrue/updateReleaseInfo ~/configuration ~ /plugin ...so that my corp repo

adding subversion revision to manifest

2005-10-11 Thread Torsten Curdt
I've come up with a simple maven plugin that adds the subversion revision to the manifest. So with public static Map getJarRevisions() throws IOException { final String[] jars = System.getProperty (java.class.path).split( System.getProperty(path.separator));

Rép. : RE: dealing with legacy jar dependancies

2005-10-11 Thread Antonio PAROLINI
Actualy, I thought it was mandatory to have this pom file. But warnings are fair enough for me... thus I agree with Brian, I would appreciate the stub pom too! -antonio [EMAIL PROTECTED] 10/08 4:43 A stub pom and the generated hashes for the jar and pom would be awesome. -Original

RE: Which Maven to use when starting a new project?

2005-10-11 Thread Pilgrim, Peter
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 05:55 To: Maven Users List Subject: Re: Which Maven to use when starting a new project? From: Gregory Gerard [EMAIL PROTECTED] If you were to start a new project today (or refactor an

Re: problem in generating .war MANIFEST file with Maven 1.1 / solved

2005-10-11 Thread Marco Mistroni
Hello all, my mistake i have copied some dependencies from other project.xml, without noticing the entry war.manifest.classpath entry sorry for bothering thanks and regards marco On 10/11/05, Marco Mistroni [EMAIL PROTECTED] wrote: Hello all, i am building a webapp using Mven 1.1 (in

Re: [m2] dependency scope and web-application (war)

2005-10-11 Thread jean-laurent
For JUnit it comes from faulty commons-digester pom. I filled a bug report here : http://jira.codehaus.org/browse/MEV-106 Workaround is to modify commons-digester-1.5.pom in your local repository and replace dependency groupIdjunit/groupId artifactIdjunit/artifactId

RE: source modifications?

2005-10-11 Thread Donszelmann, Mark
Hi to just exclude a set of files from compulation I used: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration excludes

Re: The system cannot find the file specified error

2005-10-11 Thread Happy Happier
Thanks, I will try that... Brett Porter [EMAIL PROTECTED] wrote:perhaps you don't have permissions to write to your maven installation directory? in which case, you can put it in ~/.maven/plugins manually instead. On 10/11/05, Happy Happier wrote: Hi, When I do the following command:

[m2b3] Ant Dependencies Task and Scope

2005-10-11 Thread David Pick
Hi, I am trying to use the Ant dependencies Tasks to get a list of runtime dependencies only. I have set the useScope to runtime, however the Ant dependencies returns both runtime and compile dependencies. Why? Is this a bug? Should useScope be a list of dependencies you are interested in

Re: [m2b3] Ant Dependencies Task and Scope

2005-10-11 Thread Brett Porter
Like Maven itself, scope has just one value and it is somewhat hierachical. It's hard to run without your compile-time dependencies, so it includes those. test includes them all. What is the use case for separating them out? - Brett On 10/11/05, David Pick [EMAIL PROTECTED] wrote: Hi, I am

[m2] calling plugin keeps maven stuck in a loop

2005-10-11 Thread Ashley Williams
I'm trying to use a plugin I wrote in another project and so created a build section like this: build plugins plugin groupIdorg.sandbox.maven/groupId

[m102] unreleased scm plugin 1.5.1

2005-10-11 Thread Ballard, Ken
I know I can get the unreleased scm plugin 1.5.1 out of subversion, but I don't know where that subversion repository is. This is probably a really dumb question, but can someone tell me where that repository is? Thanks, Ken -

Re: [m102] unreleased scm plugin 1.5.1

2005-10-11 Thread Arnaud HERITIER
You can get it with : maven plugin:download -Dmaven.repo.remote=http: www.ibiblio.org/maven,http://cvs.apache.org/repository/http://www.ibiblio.org/maven,http://cvs.apache.org/repository/-DgroupId=maven -DartifactId=maven-scm-plugin -Dversion= 1.5.1-SNAPSHOT If you want to build it you'll find

Re: [m102] unreleased scm plugin 1.5.1

2005-10-11 Thread Michael Böckling
Hi Ken, this question is not that stupid, I too had to try the correct svn url for some time, since it is not documented anywhere... Here it is: SVN repository root: http://svn.apache.org/repos/asf Module: /maven/maven-1/plugins/trunk/scm So the full path would be:

RE: dependency recommendations: jaac

2005-10-11 Thread Sasa.Djuric
i had similiar problems. take a look at the maven ant tasks which you can find here: http://maven.apache.org/maven2/ant-tasks.html. in our project weve got lotsa third-party dependencies which are not published anywhere. i made a little pom.xml for each of those jars and deployed them on our

RE: [m2] multiple assemblies

2005-10-11 Thread Brian E. Fox
Ok, I thought that was the intent. I tried that before but I get an error saying that the assembly plugin can't be bound to a phase. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 11:47 PM To: Maven Users List Subject: Re: [m2] multiple

RE: [m2b3] Ant Dependencies Task and Scope

2005-10-11 Thread David Pick
Hi, I want to be able to define some dependencies in a POM and be able to resolve them using the Ant tasks so I can incorporate them into our ant build scripts use to package up an installer/release. I do not need the artifacts required for compilation as they are provided automatically by

Re: Maven 2.0 Multi-Project HowTo?

2005-10-11 Thread Jesse McConnell
http://jira.codehaus.org/browse/MNG-743 that jira issue has an example structure that ought to help you get going with this On 10/10/05, Arik Kfir [EMAIL PROTECTED] wrote: Please see the http://maven.apache.org/maven2/maven-model/maven.htmlreference - what you're after is the parent element.

Re: [m2b3] Ant Dependencies Task and Scope

2005-10-11 Thread Brett Porter
On 10/11/05, David Pick [EMAIL PROTECTED] wrote: I do not need the artifacts required for compilation as they are provided automatically by the runtime container, so I thought I could define runtime dependencies and just resolve these. There is actually a provided scope for this purpose.

[m2] parent POM from remote repo

2005-10-11 Thread Dave Brondsema
How can I have a POM load its parent from a remote repository? I can only get it to find the parent when the parent is in the local repository. I am using the ant tasks so it'd be best to somehow provide the repository to artifact:pom. I have tried specifying a remote repo in settings.xml but

Re: [m2] multiple assemblies

2005-10-11 Thread Daniel Krisher
I think that this is due to the @requiresDirectInvocation attribute in the Assembly Mojo... This seems to prevent you from defining multiple configurations using multiple execution sections, since these appear to not be used when directly invoking the mojo (only the configuration child of the

How to get logs from my plugin ?

2005-10-11 Thread Nicolas De Loof
Hello, I've writen a code generator as a maven plugin. It uses commons-logging, and I'd like to get debugs from my generator code. Running maven with -X doesn't trace anything usefull to me (only lot's of Class java.lang.Object loaded from parent loader...) How to get my logs from maven ?

SCP to our repository

2005-10-11 Thread Nine, Todd - Contractor
Hello, I am having a very hard time getting our *:deploy goals to upload to our internal repository via SCP. I am using all putty tools, so I am using plink and pscp. When I execute the command from the command line it works, when I execute it from Maven, I receive an exception. I am using

Re: How to get logs from my plugin ?

2005-10-11 Thread Jesse McConnell
getLog().debug(your info here); On 10/11/05, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I've writen a code generator as a maven plugin. It uses commons-logging, and I'd like to get debugs from my generator code. Running maven with -X doesn't trace anything usefull to me (only lot's

Re: How to get logs from my plugin ?

2005-10-11 Thread Nicolas De Loof
I don't understand your reply. My code uses commons-logging : private static Log log = LogFactory.getLog(OracleDesignerReverse.class); ... log.debug(table + name); It is used from a wrapper ant task set into a jelly script, and packaged as a maven plugin. When I run maven, I get none of my

Re: How to get logs from my plugin ?

2005-10-11 Thread Brett Porter
I'm almost certain Nicolas was referring to a Maven 1.x plugin. There unfortunately isn't an easy way other than hooking into the log4j instance to get it to output your log statements. - Brett On 10/12/05, Jesse McConnell [EMAIL PROTECTED] wrote: getLog().debug(your info here); On

Re: How to get logs from my plugin ?

2005-10-11 Thread Jesse McConnell
m1? doh...I'll keep my mouth shut then :) sorry to lead you astray Nicolas On 10/11/05, Nicolas De Loof [EMAIL PROTECTED] wrote: I don't understand your reply. My code uses commons-logging : private static Log log = LogFactory.getLog(OracleDesignerReverse.class); ... log.debug(table +

Re: How to get logs from my plugin ?

2005-10-11 Thread Nicolas De Loof
I've found a (ugly ?) workarround : I've made my ant task implement commons-logging Log and added a setLog()' to override static Log instance. My ant task so sets itself as logger for all my non-ant specific classes. Thanks for quick replies ! Nico. Jesse McConnell a écrit : m1?

maven plugin project info is out of date

2005-10-11 Thread Brian Bonner
It looks like the various plugin teams need to update their project info. Many of the projects source point to cvs.apache.org instead of svn.apache.org. Resulting in a broken URL link. Should this be in JIRA. If so where should it go so the appropriate teams find it. -- Brian

[M2] Testing with TestNG

2005-10-11 Thread Jose Gonzalez Gomez
Hi there, I would like to give TestNG a try under Maven, but it seems that surefire only supports JUnit currently. I have found some mails in the archive from some people trying to create a plugin... what's the situation? Thanks in advance, best regards Jose

Re: [m2] (solved) calling plugin keeps maven stuck in a loop

2005-10-11 Thread Ashley Williams
My plugin annotation was wrong I incorrectly used execute phase instead of just phase. Not sure if the mojo api help page has been rewritten or not, but somehow seems more helpful this time round! On 11 Oct 2005, at 14:29, Ashley Williams wrote: I'm trying to use a plugin I wrote in another

Re: maven plugin project info is out of date

2005-10-11 Thread Brian Bonner
For example, more specifically: The Changes Plugin link at: http://maven.apache.org/reference/plugins/changes/cvs-usage.html points to: http://cvs.apache.org/viewcvs/maven-plugins/changes/ when it should point to: http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/changes/

M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
Hi, I'm trying to setup a shared/remote HTTP-based repository on Tomcat, but I can't make it work. Here are the steps I've taken: 1) Removed my local M2 repository. 2) Installed Tomcat. 3) Added a repository directory under $CATALINA_HOME 4) Modified my top-level POM as follows: --- ...

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Stephen Duncan
Remote repositories are for sharing artifacts between users. They are not a replacement for the local repository. -Stephen On 10/11/05, Marrs, Thomas [EMAIL PROTECTED] wrote: Hi, I'm trying to setup a shared/remote HTTP-based repository on Tomcat, but I can't make it work. Here are the steps

problem using maven2-beta4

2005-10-11 Thread Yogi
Hi, I'm using maven2-beta3 and noticed that the surefire:test plugin does not generate xml reports (which I needed to get maven2 working with cruisecontrol) by default. However, the latest sources (beta4) seem to have this fixed. I've built beta4 locally (using m2-bootstrap-all.sh) and it went

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
OK, then why have a remote/shared repository? I thought that the whole idea *was* to replace the local repository - we want a common place with all the same JARs so we're all looking at the same thing. The main reason I wanted a shared repository is that I don't want to walk everyone through the

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Stephen Duncan
That is the right way, and that is the purpose of having the remote repository. You still have to have the local repository to have a copy of the jars for compiling, etc. The configuration you have sets you up to download from that HTTP repository to the local respository when retrieving

generate dependancies

2005-10-11 Thread Brian E. Fox
Does anyone know of an automated way to generate a dependancy tree? We have a fairly complicated list of jars that needs to be cleaned up for a migration to m2. I'm looking for a way to reduce the overhead in figuring out transitive dependancies. Thanks.

[m2] are optional dependencies implemented?

2005-10-11 Thread Dave Brondsema
I have a POM that declares some optional dependencies, like this: dependency groupIdxerces/groupId artifactIdxerces/artifactId version2.0.2/version optional/ /dependency These are getting included as a transitive dependency. Am I doing something wrong or is

How does maven find plugins?

2005-10-11 Thread Brian Bonner
Hi folks, I'm pretty new to m2 (and maven), but trying to pickup steam. I ran the xmlbeans:xmlbeans task and it correctly located this plugin into my local repository. I have *no* repositories defined in my pom.xml However, when I ran the compile phase, (m2 compile), I figured it would

Re: [m2] are optional dependencies implemented?

2005-10-11 Thread Brett Porter
optionaltrue/optional - Brett On 10/12/05, Dave Brondsema [EMAIL PROTECTED] wrote: I have a POM that declares some optional dependencies, like this: dependency groupIdxerces/groupId artifactIdxerces/artifactId version2.0.2/version optional/ /dependency

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
It still doesn't work. M2 insists on going to repo1 (http://repo1.maven.org) and completely ignores my shared repository on Tomcat (http://localhost:18080/repository). I registered my shared repository first. What gives? Why can't I make this work?? -Original Message- From: Stephen

[m2] java execution plugin

2005-10-11 Thread Ashley Williams
I would like to execute my artifact that has a main method in it and I remember that there was a java -jar plugin that automatically takes into account your dependencies in the classpath. Does anyone know where it is, because I can't seem to locate it with google. As of beta3 is this the

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Stephen Duncan
Well, from your original e-mail, it looks like you specified it in a profile. You'd have to activate the profile in order to use those settings. Move the repositories section to the top level (within the project tags) -Stephen On 10/11/05, Marrs, Thomas [EMAIL PROTECTED] wrote: It still

Re: [m2] java execution plugin

2005-10-11 Thread dan tran
http://mojo.codehaus.org execute-maven-plugin still in sandbox -Dan On 10/11/05, Ashley Williams [EMAIL PROTECTED] wrote: I would like to execute my artifact that has a main method in it and I remember that there was a java -jar plugin that automatically takes into account your

A beginner question (snapshots, subversion...)

2005-10-11 Thread Gianfranco Oldani
Hello all, Sorry for naive questions maybe but I am new to maven. 1) I don't manage to use SNAPSHOTS I get always an error when maven try to update repository. 2) I use subversion for scm and I have a project with trunk and branches. I know that I can specify the trunk and branches in the

Re: [m2] java execution plugin

2005-10-11 Thread Jesse McConnell
we are planning on blowing it away and replacing it with something like what is described here... http://docs.codehaus.org/display/MAVEN/Maven+Runtime comments on that doc would be welcome as well jesse On 10/11/05, dan tran [EMAIL PROTECTED] wrote: http://mojo.codehaus.org

com.jcraft.jsch.JschException on scp upload. Public/Private key and external app correct.

2005-10-11 Thread Todd Nine
Hello, I am having a very hard time getting our *:deploy goals to upload to our internal repository via SCP. I am using all putty tools, so I am using plink and pscp. When I execute the command from the command line it works, when I execute it from Maven, I receive an exception. I am using Maven

Re: How does maven find plugins?

2005-10-11 Thread Brian Bonner
it turns out there is a problem with the artifact id in maven-xmlbeans. I logged a jira: http://jira.codehaus.org/browse/MOJO-76 Brian Brian Bonner wrote: Hi folks, I'm pretty new to m2 (and maven), but trying to pickup steam. I ran the xmlbeans:xmlbeans task and it correctly located

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
Thanks for the suggestion. I'll give that a try and let you know. Tom -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:58 AM To: Maven Users List Subject: Re: M2 and Remote HTTP Repo on Tomcat Well, from your original e-mail, it

Re: Which Maven to use when starting a new project?

2005-10-11 Thread Wendy Smoak
From: Pilgrim, Peter [EMAIL PROTECTED] Being new to Maven and with a copy of the O'Reilly book in front me I am looking at the Maven 1.0.2 release, and I am trying to convert a Ant project to Maven bit by bit. Do you have to maintain the Ant build? Can you move things around to suit Maven?

[m2] install plugin

2005-10-11 Thread Gilles Scokart
When I try to use the install plugin, I see that the jar are installed in the local respository, but not the pom.xml. Is it normal? Did I miss somthing? Should I use an other plugin to install the pom.xml ? Thanks, Gilles Scokart

Re: [m2] install plugin

2005-10-11 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you're certain that there isn't a file alongside the jar named something similar to: artifactId-version.pom If that's missing, there's a problem. 'm2 install' should handle installing the primary artifact, attached artifacts, and metadata -

Re: generate dependancies

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 11:47 -0400, Brian E. Fox wrote: Does anyone know of an automated way to generate a dependancy tree? We have a fairly complicated list of jars that needs to be cleaned up for a migration to m2. I'm looking for a way to reduce the overhead in figuring out transitive

run exec testing tool during maven 1.0.2 build process

2005-10-11 Thread Adrian Zaharie
I'm trying to customize maven, to run an executable Java testing tool on the project project has an existing maven.xml used so far, there is a build.xml file, which defines how to run the tool executable with required arguments during an ant build process tool needs to have some properties

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 11:25 -0400, Marrs, Thomas wrote: Hi, I'm trying to setup a shared/remote HTTP-based repository on Tomcat, but I can't make it work. Here are the steps I've taken: 1) Removed my local M2 repository. You don't want to do that. This is for m1 (I'm tweaking it now for

Re: [M2] Testing with TestNG

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 17:04 +0200, Jose Gonzalez Gomez wrote: Hi there, I would like to give TestNG a try under Maven, but it seems that surefire only supports JUnit currently. I have found some mails in the archive from some people trying to create a plugin... what's the situation? Check

Re: maven plugin project info is out of date

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 10:55 -0400, Brian Bonner wrote: It looks like the various plugin teams need to update their project info. Many of the projects source point to cvs.apache.org instead of svn.apache.org. Resulting in a broken URL link. Should this be in JIRA. If so where should it

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
Kindof. We are moving from ANT and have a lib folder with 100+ jars. I'd like to visually see which ones we directly depend on and then have a tree that shows what those depend on. I experimented with Jdepend, but it didn't really do what I expect. A lot of dependencies where suspiciously missing.

Re: [m2] looking for docs on FML

2005-10-11 Thread Jason van Zyl
On Mon, 2005-10-10 at 14:24 +0200, David Sag wrote: I have spent about an hour scouring thru google and the maven web looking for a reference for the FML language for defining faqs but still can't find it. could someone on this list please post a link to the FML spec? or some examples?

Re: maven plugin project info is out of date

2005-10-11 Thread Lukas Theussl
For m1: We are aware of that, there are already some JIRA issues open (eg http://jira.codehaus.org/browse/MPANNOUNCEMENT-17 ). Feel free to file an issue for a particular plugin to make sure it doesn't get missed. We are currently updating the docs for a number of plugins that will get

Maven Internal Repository Setup

2005-10-11 Thread Sampreet Chawla
Hi, I am new to Maven and am trying to setup an internal repository for my team for project dependency files in Maven. I have mapped the folder structure for the jar files as given in http://www.ibiblio.org/maven/ and haved placed them in ${TOMCAT_HOME}/webapps/repository folder. In

RE: generate dependancies

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 14:49 -0400, Brian E. Fox wrote: Kindof. We are moving from ANT and have a lib folder with 100+ jars. I'd like to visually see which ones we directly depend on and then have a tree that shows what those depend on. I experimented with Jdepend, but it didn't really do what

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
Stephen, I believe I followed your suggestion, but it still doesn't work - Maven doesn't see my HTTP repository out on Tomcat. As far as I can tell, I've activated the profile, but Maven acts like I haven't So, here's an excerpt from my top-level POM: --- project

Re: [m2] java execution plugin

2005-10-11 Thread Ashley Williams
Pardon my ignorance but I don't see anything called execute*** on that page. Is it no longer available for download? *** Nothing much constructive to say on the document only that it looks great and look forward to an initial release. Just off the top of my head how about not bothering

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Stephen Duncan
I don't currently use profiles (I just started using M2 a couple weeks ago), so I just specify the repositories section at the top level (at the same level as profiles or build). You might try that before tracking down profile-activation issues... -Stephen On 10/11/05, Marrs, Thomas [EMAIL

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
Actually, we currently have no way of knowing the versions. At this point I'd be happy with an unversioned dependancy tree. That would take enough of the work away that we could try to figure out/use the latest versions. That's not to say what you suggest isn't an awesome idea. -Original

EJB not working for me...

2005-10-11 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I posted a while ago, got a response, tried it out and it didn't work for me. So, couple of questions: 1) what reading do some of you more successful users of Maven suggest I go off and read to get a handle on using Maven. I know that this

RE: generate dependancies

2005-10-11 Thread Jason van Zyl
On Tue, 2005-10-11 at 16:02 -0400, Brian E. Fox wrote: Actually, we currently have no way of knowing the versions. At this point I'd be happy with an unversioned dependancy tree. It would be easy enough to make a versioned tree and that would be more accurate insofar as actually having things

activationFile renamed?

2005-10-11 Thread Russell, Mark
Was the activationFile tag (part of activation) renamed? If so where might I find out what it was renamed to? MAR

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Marrs, Thomas
OK, I removed the profiles section, and it still doesn't work. Maven 2 still doesn't see my Tomcat-based repository - it completely ignores my repositories. But I can access this URL with my browser. Here's my current POM: --- project xmlns=http://maven.apache.org/POM/4.0.0;

Re: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Stephen Duncan
Well, Maven 2 Beta 3 is available, no reason not to upgrade to it, really. But that shouldn't have anything to do with your problem. Run the following command and then post the output of the command here: m2 -X package -Stephen On 10/11/05, Marrs, Thomas [EMAIL PROTECTED] wrote: OK, I

RE: [m2] parent POM from remote repo

2005-10-11 Thread Brian E. Fox
Yes it does get the parent pom from the repo. You have added your repo to a profile so it needs to be activated. I'm not sure if this activation activeByDefault/ /activation Does the trick. I would expect activeByDefaulttrue/ActiveByDefault at least. I did

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Brian E. Fox
Thomas, I'm not sure if this activation activeByDefault/ /activation Does the trick. I would expect activeByDefaulttrue/ActiveByDefault at least. I did it differently: (note the activeProfiles section at the end) profiles profile iddefault/id

RE: activationFile renamed?

2005-10-11 Thread Russell, Mark
Never mind... The nice long example at http://maven.apache.org/maven2/maven-model/maven.html shows activationFile but the actual docs for activation show file as the sub tag. MAR -Original Message- From: Russell, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 3:15 PM

Re: [m2] parent POM from remote repo

2005-10-11 Thread mika
I can confirm that. I was just working on a common pom (referenced from internal repo) and was successful having a single profile with the activation-element like stated below, i.e.: settings ... profiles profile activation activeByDefaulttrue/activeByDefault

Doing a full build with a flattened tree

2005-10-11 Thread Brian E. Fox
Hello again, For the purposes of testing, verification and official deployment, I think we need the ability to build our full product rather easily. We are thinking about the following structure on svn: /modules/moduleA/trunk/modulea /modules/moduleA/branches/brancha-1

Re: *** Spam *** Re: maven plugin project info is out of date

2005-10-11 Thread Brian Bonner
Sorry m1. Brian Jason van Zyl wrote: On Tue, 2005-10-11 at 10:55 -0400, Brian Bonner wrote: It looks like the various plugin teams need to update their project info. Many of the projects source point to cvs.apache.org instead of svn.apache.org. Resulting in a broken URL link. Should

Using repositories defined in a profile... question/problem [m2]

2005-10-11 Thread Russell, Mark
I have a pom with a profile defined in that specifies a local repository, and disables the central repo. How can I get m2 to honor the profile? No matter what I try it seems to ignore the profile and goes and uses the central repo and ignores the local repository. I have even tried passing -P

[m2] specify properties / parameters for plugins

2005-10-11 Thread mika
hi, i saw there's a properties element which can be added to the project pom, allowing any nested element (according to pom-schema, xs:any) to provide plugin configuration (in the doco: Properties used to fill in plugin configuration). now, is it possible to provide the plugin-parameters,

RE: Using repositories defined in a profile... question/problem [m2]

2005-10-11 Thread Brian E. Fox
Mark, Try adding this: activeProfiles activeProfilemaster_build/activeProfile /activeProfiles -Original Message- From: Russell, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 6:28 PM To: Maven Users List Subject: Using repositories defined in a profile...

Re: [M2] Testing with TestNG

2005-10-11 Thread Eric Biesterfeld
It's not done, AFAIK. I'm looking at doing a plugin hack for myself, or try to port the newest plugin source to TestNG 4 and Maven. On 10/12/05, Jason van Zyl [EMAIL PROTECTED] wrote: On Tue, 2005-10-11 at 17:04 +0200, Jose Gonzalez Gomez wrote: Hi there, I would like to give TestNG a try

Wanted: Minimal Tomcat JSP/Servlet Example

2005-10-11 Thread Siegfried Heintze
Can someone point me to a minimal example that uses Maven to create a minimal servlet and JSP? Thanks, sieg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: generate dependancies

2005-10-11 Thread Brett Porter
Yes, the best approach here is with m2. You only need to enter the top level dependencies, and it will gather the rest for you (assuming each of those dependencies is already known in the repository). You can then output that tree using -X and see what you get, much like the format you described.

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
This is kind of a chicken and egg thing...I'm trying to find a way to figure out my top level dependencies before I can use maven. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 8:16 PM To: Maven Users List; [EMAIL PROTECTED] Subject: Re:

Re: generate dependancies

2005-10-11 Thread Brett Porter
I see... I would like at some point to do something that scans the code for imports/classes but haven't had the time. I usually use www.jarhoo.com in combination with a search of imports to do this. Since you already know what deps you have available, you probably don't have the need to search

[m2] new plugin announcement - xml schema compiler

2005-10-11 Thread Ashley Williams
The XJC plugin version 1.0 is now available for download at http:// agwilliams1000.dyndns.org/maven/xjc/, further instructions below. The underlying implementation is the jaxme library. I would like to get it off my server, say into the maven sandbox - are there instructions for submitting?

Release plugin

2005-10-11 Thread Michael McCrann
Is there any documentation on how the release plugin works with M2? NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store