Re: how to set a String[] parameter ?

2006-03-30 Thread Martin van der Plas
Nicolas, Specify the configuration as: configuration includes include**/aspects/*.aj/include include**/aspects/*.java/include /includes /configuration Martin Nicolas De Loof wrote: Hello, I'm trying to configure aspectJ plugin and want to configure

Re: [m2] ant plugin mojo refering to maven ProjectHelper

2006-03-09 Thread Martin van der Plas
help me out here? Thanks. Martin John Casey wrote: Inside your task, you'll need to use getProject().getReference(org.apache.maven.project.MavenProjectHelper) IIRC. If that doesn't work, let me know, and I'll dig around in the code. -john Martin van der Plas wrote: Hi, According

Re: [M2] Mojo plugin - acessing jar'd batch file

2006-03-08 Thread Martin van der Plas
Hi, You can register the jar'd batch file as an attached artifact. Use the assembly plugin to package the batch file as a jar. Refere to this attached artifact as: ... dependency groupIdaGroupId/groupId artifactIdanArtifactId/artifactId classifierbatchfile/classifier /dependency ... The

explore unspecified attached artifacts

2006-03-08 Thread Martin van der Plas
Hi, In a plugin, how can I find all attached artifacts of an artifact without specifying the attached artifacts as a dependency? Thanks, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[m2] ant plugin mojo refering to maven ProjectHelper

2006-03-08 Thread Martin van der Plas
Hi, According to http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html it is possible to define plexus components. The hint does not describe how the component needs to be refered to. I would like to use the maven ProjectHelper in an anttask. How can I pass the

Re: {M2.0.2] refer maven.dependency.classpath in developing ant plugin (mojo)

2006-02-20 Thread Martin van der Plas
Bill, See http://www.nabble.com/forum/ViewPost.jtp?post=2661163framed=y. The classpaths are not available to the ant project by default. You need to define a path as a readonly parameter of type java.util.List and set expression to e.g ${maven.project.testClasspath}. Since the parameter is

Re: {M2.0.2] refer maven.dependency.classpath in developing ant plugin (mojo)

2006-02-20 Thread Martin van der Plas
van der Plas [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 4:11 AM To: Maven Users List Subject: Re: {M2.0.2] refer maven.dependency.classpath in developing ant plugin (mojo) Bill, See http://www.nabble.com/forum/ViewPost.jtp?post=2661163framed=y. The classpaths are not available

Re: m2: developing ant plugin - problems passing maven.compile.classpath

2006-02-07 Thread Martin van der Plas
Hi All, I've the same problem here. How to convert the ${project.testClassPathElements} into an ant classpath reference? Any help is appreciated. Thanks. Martin [EMAIL PROTECTED] wrote: I have created an ant plugin with the following mojo: gateway.mojos.xml pluginMetadata mojos !--

Re: xslt ant task

2006-02-01 Thread Martin van der Plas
Hi, You need to set a dependency within the plugin, as in plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId dependencies dependency groupIdant/groupId artifactIdant-trax/artifactId

Re: antrun plugin in both parent and child run tasks twice

2006-01-30 Thread Martin van der Plas
Hi Antrun developer, Please respond. Martin Martin van der Plas wrote: Hi, When I have a parent and child pom, and both have an antrun plugin entry, I notice that activated anttask run twice. See attached poms and the output below. My directory structure: parent/ /pom.xml

[m2] why should maven 2.0.1 depend on alpha and beta release?

2006-01-12 Thread Martin van der Plas
Hi, It occurs to me from the commands below that maven 2.0.1 has dependencies to alpha and beta releases. Should a non-snapshot release of maven or any other project depend on snapshot releases? What about the requirement of having consistent and reproducable builds when maven itself

antrun plugin in both parent and child run tasks twice

2005-12-16 Thread Martin van der Plas
Hi, When I have a parent and child pom, and both have an antrun plugin entry, I notice that activated anttask run twice. See attached poms and the output below. My directory structure: parent/ /pom.xml /child ---/pom.xml Is this behaviour intended? How should I

[m2] install non-maven 3rd party libraries with snapshots

2005-12-02 Thread Martin van der Plas
Hi, My project depends on artifacts delivered by a 3rd party supplier. The supplier delivers major releases and bug fix releases on these deliveres once a while. Major releases have a name, minor releases are datestamped. I want to import the 3rd party artifact as snapshots per major

Re: [m2] install non-maven 3rd party libraries with snapshots

2005-12-02 Thread Martin van der Plas
is not used anywhere in the maven code. Martin van der Plas wrote: Hi, My project depends on artifacts delivered by a 3rd party supplier. The supplier delivers major releases and bug fix releases on these deliveres once a while. Major releases have a name, minor releases are datestamped. I want

[m2] javadoc plugin configuration

2005-12-01 Thread Martin van der Plas
Hi, Who can tell me in which part in pom.xml the javadoc plugin should be configured? It can be done in the plugins section of the pom or in the plugins section of the report section in the pom. Thanks -- Groeten, Martin mailto:[EMAIL PROTECTED] tel: +31 (0) 20-7988464 mob: +31 (0)

maven 2 resource filter with file rename

2005-11-29 Thread Martin van der Plas
Hi, I wonder what the best solution is for the following: Each module in our tree has a java class which provides build information properties like time of the build, jvm version etc. Currently I use an ant copy task to copy and filter a Version.template file to Version.java. How can I use

Re: accessing environment variable in settings.xml or pom.xml

2005-11-23 Thread Martin van der Plas
Hi, A similar question. Is it possible to set properties in settings.xml and refer to them in pom.xml? Actually I have a company wide central pom.xml that is the parent of all projects pom.xml. The company pom.xml file is maintained in its own subversion maven module. Since all