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 r

Re: New SAR Plugin

2005-12-19 Thread Frank Mena
enough interest from the mojo project, we can set 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.

Controlling lifecycle

2005-12-18 Thread Frank Mena
e before it processes 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

Re: Changing WAR default goal

2005-11-20 Thread Frank Mena
t. > > However, doing "mvn test 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 &

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: Debugging M2 plugins using Eclipse

2005-11-03 Thread Frank Mena
n Thu, 3 Nov 2005, 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 debugge

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 would

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: > > ${out} > > On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote: > > I tried it and it

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
Wonderful, that worked. Thanks! On the same note, is there any way to get basedir of the of the parent pom? - Frank On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > It's a reference, you can't echo it. > > try: > > ${out} > > On 11/3/05, Frank Men

Re: Getting project classpath in ant

2005-11-02 Thread Frank Mena
I tried it and it did not work: maven-antrun-plugin compile ${maven.dependency.classpath} run On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > How are you using Ant? > > The antrun plugin exposes maven.dependency.classpath as a reference. > > - Bre

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

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 ea

Re: ${basedir} bug

2005-10-31 Thread Frank Mena
was trying to create ${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 ? On 10/31/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-10-31 at 07:26 -0800, Frank Mena wrote: > >

${basedir} bug

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

Re: Parent POM Properties

2005-10-29 Thread Frank Mena
BTW, there is a bug when you use ${basedir} inside of {$basedir}/somemodule 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 bytecode enhance