Get offline status from within a mojo?

2006-08-31 Thread Henrik Mejlgaard
Hi, Is it possible to detect wheter Maven is working offline (with -o option) from within a Mojo? Regards, Henrik

Re: Profiles for sub-projects

2006-06-30 Thread Henrik Mejlgaard
Why not use: However, this bit is not working: activation file exists${basedir}\plugin.xml/exists /file /activation /Henrik On 6/12/06, Boden, David [EMAIL PROTECTED] wrote: I've managed to track this down. The profiles work correctly. However, this bit is not working:

Fatal bug in dependency mediation (2.0.4)?

2006-06-19 Thread Henrik Mejlgaard
Hi, This might need to be put in JIRA, but I need to hear if others have had the same problem first. When building an EAR-file, I get two different versions of dom4j depending on the version number of my server-ejb!!! If I use eg. 1.7.1, I get one version of dom4j (1.6) - setting the

maven-changes-plugin ????

2006-06-09 Thread Henrik Mejlgaard
From the plugins documentation, the configuration of the maven-changes-plugin should be: ... groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId ... This is not found in (deployed to ) any respository. Could anyone please update the documentation with the right

Re: Hammurapi plugin?

2006-05-31 Thread Henrik Mejlgaard
I'm planning to create a Hammurapi-plugin. Let's see what the future brings. /Henrik On 5/30/06, Wayne Fay [EMAIL PROTECTED] wrote: Never seen/heard of any such plugin for M2, but if you get inspired, please contribute it back for the benefit of others! Wayne On 5/30/06, Henrik Mejlgaard

Hammurapi plugin?

2006-05-30 Thread Henrik Mejlgaard
Does anyone have a Hammurapi plugin for Maven 2? Regards, Henrik

Re: m2: How do I expand the clean-goal?

2006-05-09 Thread Henrik Mejlgaard
Use the maven-clean-plugin and configure it to delete the generated source folders you want. /Henrik On 5/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the generated sources

Re: Re: m2: How do I expand the clean-goal?

2006-05-09 Thread Henrik Mejlgaard
-Task-Part: delete verbose=false includeEmptyDirs=true fileset dir=${basedir}/src/main/java defaultexcludes=false include name=**/generated/**/ include name=**/generated/ /fileset /delete Can you tell me the configure-syntax, to do that? thanks Rainer Henrik

POM clean-up tool?

2006-03-08 Thread Henrik Mejlgaard
I was wondering if anyone knows of a Maven2 plugin that is able to check whether the dependencies specified in the pom.xml is actually used during compilation. I would be nice if such a plugin could give the following kind of info: [WARN] Dependency X:Y:Z is never used It's our experience that

Re: import statements in Eclipse and maven2

2006-02-28 Thread Henrik Mejlgaard
Does anyone know of ETA for a new release of the embedder? In particular, I'm interested in the multi-modules build functionality. /Henrik On 2/28/06, Kathryn Huxtable [EMAIL PROTECTED] wrote: Yes, it's not the plugin, it's the embedder. And yes, it's very annoying, but I tend to use external

Re: Specifying -Xmx in surefire plugin?

2006-02-20 Thread Henrik Mejlgaard
/childDelegation testFailureIgnoretrue/testFailureIgnore /Henrik On 2/19/06, Henrik Mejlgaard [EMAIL PROTECTED] wrote: How do I specify a -Xmx property in the surefire plugin? I know of the system properties tag, but don't know the exact syntax for properties like this. TIA, Henrik

Specifying -Xmx in surefire plugin?

2006-02-19 Thread Henrik Mejlgaard
How do I specify a -Xmx property in the surefire plugin? I know of the system properties tag, but don't know the exact syntax for properties like this. TIA, Henrik

Re: [m2]Guide to Developing Ant Plugins error

2006-01-20 Thread Henrik Mejlgaard
Hi Alexandre, I had the same problem. It seems there is a problem in the transitive dependencies somewhere. My very ugly hack to get past this error was to copy the 2.0.1 versions into the 2.0 versions of maven-plugin-tools-api in my local repository - renaming the version of the file of course.

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin. My problem is now to implement a more advanced ant-based mojo. Specifically, I have troubles finding out how to get a ant classpath

Re: [m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
/maven-antrun-plugin/classpaths.html Cheers, -- Chris On 1/17/06, Henrik Mejlgaard [EMAIL PROTECTED] wrote: Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin. My problem is now to implement a more advanced ant-based mojo. Specifically, I have troubles finding out how to get a ant classpath