Re: Controlling lifecycle

2005-12-21 Thread Frank Mena
Can anyone answer this question? On 12/18/05, Frank Mena [EMAIL PROTECTED] wrote: I am the co-author (with andreas Brenk) of the Jibx plugin and have a problem when running it. Jibx is a XML-Java library that does bytecode enhancement. Any class that is referenced in the binding file

Re: New SAR Plugin

2005-12-19 Thread Frank Mena
you up there to become the maintainer for this plugin. At any rate, start by mailing [EMAIL PROTECTED] Thanks, John Frank Mena wrote: I have written a sar plugin that builds a JBoss service sar. It handles the .sar extension automatically because I have given it an artifactId

Controlling lifecycle

2005-12-18 Thread Frank Mena
the next module. This means that the modules are jar'ed, then bytecode enhanced, so the bytecoded classes are not included in the jars. Is there a way to get maven to run the 'process-classes' lifecycle for all the modules before running 'package' without having to run maven twice? Frank Mena

New SAR Plugin

2005-12-15 Thread Frank Mena
Apache license header, so I fixed them. Frank Mena

Changing WAR default goal

2005-11-20 Thread Frank Mena
How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank

Re: Changing WAR default goal

2005-11-20 Thread Frank Mena
war:exploded would be a work-around as package is done after tests have passed. Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank

Debugging M2 plugins using Eclipse

2005-11-03 Thread Frank Mena
I have been trying and struggling to convert from ant to maven on a very large and complicated multi-module, multi-project. I feel like a dog with a bone that won't let go. Maven 2 is too good a tool not to use and am determined to make it work. Great job, guys. I am writing some plugins and

Re: Debugging M2 plugins using Eclipse

2005-11-03 Thread Frank Mena
, Frank Mena wrote: Before you run maven on the commandline, set MAVEN_OPTS to: -Xdebug -Xnoagent -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 Then set a breakpoint in eclipse, and start the debugger for an external app, configuring it with the correct port

Getting project classpath in ant

2005-11-02 Thread Frank Mena
Using M2, how do I get the the projects classpath (which includes multiple modules) in ant? Can I assume this classpath would include the target/classes directory for all the included modules? Thanks

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
Porter [EMAIL PROTECTED] wrote: How are you using Ant? The antrun plugin exposes maven.dependency.classpath as a reference. - Brett On 11/3/05, Frank Mena [EMAIL PROTECTED] wrote: Using M2, how do I get the the projects classpath (which includes multiple modules) in ant? Can I assume

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
, Frank Mena [EMAIL PROTECTED] wrote: I tried it and it did not work: plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration tasks echo${maven.dependency.classpath}/echo /tasks /configuration goals goalrun/goal

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
Is there is list of the properties available? - Frank On 11/2/05, Brett Porter [EMAIL PROTECTED] wrote: It's a reference, you can't echo it. try: property name=out refid=maven.dependency.classpath / echo${out}/echo On 11/3/05, Frank Mena [EMAIL PROTECTED] wrote: I tried it and it did

${basedir} bug

2005-10-31 Thread Frank Mena
There seems to be a bug when you use ${basedir} inside of module{$basedir}/somemodule/module For example, if your basedir is d:\app\module2, it expands to d:\app\module2d:\app\module2

Re: ${basedir} bug

2005-10-31 Thread Frank Mena
${basedir} for the parent pom (Would be nice to have ${parent.pom.basedir} BTW, does this mean that there is not a bug in ${basedir} used in module? On 10/31/05, Jason van Zyl [EMAIL PROTECTED] wrote: On Mon, 2005-10-31 at 07:26 -0800, Frank Mena wrote: There seems to be a bug when you use

Multi-Module problem

2005-10-31 Thread Frank Mena
I had written this as a response to another post, but I think I am supposed to put it in it's own post. As an example, I have the following directory structure: common common1 common2 subcommon subcommon1 subcommon2 project1 some1model1 some1model2 war ear project2 some2model1 some2model2 war

Re: Parent POM Properties

2005-10-29 Thread Frank Mena
BTW, there is a bug when you use ${basedir} inside of module{$basedir}/somemodule/module For example, if your basedir is d:\app\module2, it expands to d:\app\module2d:\app\module2 I'm also trying to do somewthinbg similar to you. I'm using a Java/XML binding library (jibx) that requires it to