Re: Module Interdependencies and NAR

2009-12-10 Thread Donszelmann Mark
Hi Benjamin, On Dec 9, 2009, at 12:04 AM, Benjamin Bentmann wrote: > Donszelmann Mark wrote: > >> Is it correct that it compiles and tests fine without ever running into the >> install phase... That is, maven probably sorts out that B is dependent on A, >> and t

Module Interdependencies and NAR

2009-12-08 Thread Donszelmann Mark
Hi I have a problem I am trying to solve for the NAR (Native Archive) plugin. http://duns.github.com/maven-nar-plugin/index.html It involves a multi-module project, where P is the top-level project, and A and B are the modules and B has a declared dependency on A. If this is all Java then th

Re: Writing Plugin Tests

2009-10-01 Thread Donszelmann Mark
ot of cases the invoker plugin is simpler Sent from my [rhymes with tryPod] ;-) On 30 Sep 2009, at 21:53, Donszelmann Mark > wrote: Hi is the Maven Plugin Harness the thing to use to write plugin tests, or is there something newer / better around nowadays. I looked in the Maven manual whic

Writing Plugin Tests

2009-09-30 Thread Donszelmann Mark
Hi is the Maven Plugin Harness the thing to use to write plugin tests, or is there something newer / better around nowadays. I looked in the Maven manual which has a chapter on writing Plugins, but not on writing tests for it. Regards Mark Donszelmann ---

Re: Multi-Platform snapshots

2009-09-04 Thread Donszelmann Mark
Hi I had the same problem in with the NAR plugin at the time. No way to make those SNAPSHOTS work if you deploy multi-platform artifacts with classifiers. I hope this can be fixed in 3.0 as there did not seem a way out in 2.x for NAR to handle it correctly. Regards Mark Donszelmann On Sep

Re: Status of injecting new lifecycles?

2009-07-30 Thread Donszelmann Mark
Hi On Jul 30, 2009, at 10:23 AM, Ringo De Smet wrote: Mark, 2009/7/30 Donszelmann Mark : the NAR plugin uses its own lifecycle as documented here: http://java.freehep.org/freehep-nar-plugin/lifecycle.html Small correction: you have a custom lifecycle *mapping*, but you are still binding

Re: Status of injecting new lifecycles?

2009-07-29 Thread Donszelmann Mark
Hi the NAR plugin uses its own lifecycle as documented here: http://java.freehep.org/freehep-nar-plugin/lifecycle.html it does connect java compilation to native compilation to allow JNI code to be compiled in, using header files generated from the java code. It does NOT separate the compil

Re: Friday Maven Call

2009-06-19 Thread Donszelmann Mark
Hi Jason, what is the URL for this weeks meeting ? Regards Mark Donszelmann On Jun 17, 2009, at 9:55 AM, Jason van Zyl wrote: Same time of the day as a couple days ago. http://www.timeanddate.com/worldclock/meetingdetails.html?year=2009&month=6&day=19&hour=15&min=0&sec=0&p1=250&p2=224&p3=195

RE: [m2] Surefire plugin: Should anonymous inner classes be auto-excluded from testing

2006-01-23 Thread Donszelmann, Mark
t; classes be auto-excluded from testing > > Wasn't this changed in the more recent releases? > > Donszelmann, Mark wrote: > > Hi > > > > should Anonymous Inner Classes (such as Listeners) not > automatically > > be excluded from the list of tested clas

[m2] Surefire plugin: Should anonymous inner classes be auto-excluded from testing

2006-01-23 Thread Donszelmann, Mark
Hi should Anonymous Inner Classes (such as Listeners) not automatically be excluded from the list of tested classes. Otherwise one runs into test-time errors such as: NoSuchMethodException: YourClass$1.() Regards Mark Donszelmann ---

legacy layout tag in a profile does not show up in an inherited pom.

2005-12-09 Thread Donszelmann, Mark
Hi the legacy layout tag in a profile does not show up in an inherited pom. Given the following pom.xml: 4.0.0 xxx yyy 1.0-SNAPSHOT pom maven-1 maven1 maven-1-repo Maven1 Repository s

RE: [m2] Does the eclipse plugin support ...

2005-12-01 Thread Donszelmann, Mark
se you > have to build the Eclipse project up by hand! :) > > That said, probably pushing it to the process-sources or > process-resources (forgetting which runs last right now, or > if they are both before compile) would be a reasonable step. > > Donszelmann, Mark wrote: >

RE: [m2] Does the eclipse plugin support ...

2005-12-01 Thread Donszelmann, Mark
gt; Subject: Re: [m2] Does the eclipse plugin support ... > > > Please see inline comments. > > Donszelmann, Mark wrote: > > >Hi > > > >I have 2 questions regarding the eclipse plugin > (2.0-beta-3-SNAPSHOT from svn): > > > >1. Does t

[m2] Does the eclipse plugin support ...

2005-11-27 Thread Donszelmann, Mark
Hi I have 2 questions regarding the eclipse plugin (2.0-beta-3-SNAPSHOT from svn): 1. Does the eclipse plugin support source file excludes. My pom contains: maven-compiler-plugin **/*Factory.java for which I would expect

RE: (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingnar)

2005-11-14 Thread Donszelmann, Mark
his by calling: > > mvn clean:clean > > If this succeeds, it would lead me to believe that plugin > handling itself is find, but that the lifecycle handling is a > bit messed up by the implementation of multiple lifecycles... > > HTH, > > - -j > > Donszel

RE: (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingnar)

2005-11-14 Thread Donszelmann, Mark
> Hash: SHA1 > > In your nar plugin definition (within the pom.xml that uses > it, that is), add this: > > ... > true > ... > > > HTH, > > john > > Donszelmann, Mark wrote: > | Hi > | > | I get the message: > | > | (Nonexistent

(Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingnar)

2005-11-14 Thread Donszelmann, Mark
Hi I get the message: (Nonexistent component: org.apache.maven.lifecycle.mapping.LifecycleMappingnar) when I use my own packaging, while the (nar)plugin is indeed in the list and included, when I run the "clean" goal. Any other goal works fine (no message). I guess this is because the "clean

wondering if setting the base version belongs in a get/is method

2005-11-09 Thread Donszelmann, Mark
Hi the following code in DefaultArtifact.java changes the behaviour of the getBaseVersion() method. -- public boolean isSnapshot() { if ( version != null || baseVersion != null ) { Matcher m = VERSION_FILE_PATTERN.matcher( getBaseVersion() ); if (

RE: [M2] Does maven initialize sub-tags in the configuration?

2005-10-20 Thread Donszelmann, Mark
link to the javadoc from the plugin documentation. What is your exact use case for having complex configuration where a and b are not reusable types? - Brett Donszelmann, Mark wrote: > Hi > > I specify the following configuration in pom.xml for one of my plugins: >

RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Donszelmann, Mark
Great, keep up the good work. Regards Mark Donszelmann -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 3:25 PM To: users@maven.apache.org Cc: dev@maven.apache.org Subject: [ANN] Maven 2.0 Release Now Available We are pleased to announce

[M2] Does maven initialize sub-tags in the configuration?

2005-10-20 Thread Donszelmann, Mark
Hi I specify the following configuration in pom.xml for one of my plugins: true false in the plugin I have both classes A.class and B.class with respective boolean fields "debug" and "verbose". Maven 2 seems to fill these fie

[m2rc] Failure to download jar file (because it is no published) should show where it can be downloaded.

2005-10-16 Thread Donszelmann, Mark
Hi when a pom is published on ibiblio without the jar (because of licensing issues) the debug output looks somewhat like this: -- [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: ojdbc ArtifactId:

RE: Plugin seems to not reload/restart

2005-10-02 Thread Donszelmann, Mark
I'm not sure what you are referring to by "load into memory". The plugin JAR is loaded once, the class that contains the generate goal should be instantiated twice (once for each run, with the respective configuration). Is this not what you are seeing? - Brett Donszelmann, Ma

Plugin seems to not reload/restart

2005-10-02 Thread Donszelmann, Mark
Hi my plugin is configured to execute twice with different configuration: org.freehep freehep-aid-plugin 0.4 java generat

Debug -X mode

2005-10-02 Thread Donszelmann, Mark
Hi I would like to run our tool in verbose mode from m2 when m2 has the -X (debug) option switched on. How do I see if that is switched on (from java). Regards Mark Donszelmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For a