Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Rob Dickens
to the mojo was enough to trigger the goal's execution - you still have to add a pluginexecutions...goal to the pom, and I can confirm that this works fine. Many thanks to Brett for asistance. Rob 2009/3/25 Rob Dickens arctic@googlemail.com As in a pluginspluginexecutionsexecution block

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Rob Dickens
-package' annotation to the mojo was enough to trigger the goal's execution - you still have to add a pluginexecutions...goal to the pom, and I can confirm that this works fine. Many thanks to Brett for asistance. Rob 2009/3/25 Rob Dickens arctic@googlemail.com

Re: [ANN] Maven 2.1.0 Released

2009-03-25 Thread Rob Dickens
Do jar-packaged projects now execute the new prepare-package phase? Have just tried the new version out, hoping that my project with jar packaging would execute the new phase, to which one of my plug-in goals declares itself as being bound, but it appears not to. Thanks, 2009/3/22 John Casey

Re: [ANN] Maven 2.1.0 Released

2009-03-25 Thread Rob Dickens
As in a pluginspluginexecutionsexecution block in the pom.xml of the jar-packaged project? There isn't one, since the plugin's mojo has a '@phase prepare-package'. 2009/3/25 Brett Porter br...@apache.org On 25/03/2009, at 10:07 PM, Rob Dickens wrote: Do jar-packaged projects now execute

Re: [ANN] Maven 2.1.0 Released

2009-03-25 Thread Rob Dickens
the '@phase prepare-package' annotation to the mojo was enough to trigger the goal's execution - you still have to add a pluginexecutions...goal to the pom, and I can confirm that this works fine. Many thanks to Brett for asistance. Rob 2009/3/25 Rob Dickens arctic@googlemail.com

Re: jar:sign refuses to sign jar artifact of project with custom packaging type

2009-03-05 Thread Rob Dickens
alternatively (and probably preferably), it looks like you need to configure the ~.ArtifactHandler role (as well as the ~.LifecycleMapping one) in the components.xml. 2009/3/3 Rob Dickens arctic@googlemail.com Okay - after some google codesearching, and minimal testing, the following

Re: jar:sign refuses to sign jar artifact of project with custom packaging type

2009-03-03 Thread Rob Dickens
same story with the new mvn 2.0.10 maven-jar-plugin is at 2.2 Has no one else seen this? 2009/3/2 Rob Dickens arctic@googlemail.com I get the following message when mvn is run with the -X option: [DEBUG] Not executing jar:sign as the project is not a Java module (Am using a custom

Re: jar:sign refuses to sign jar artifact of project with custom packaging type

2009-03-03 Thread Rob Dickens
Okay - after some google codesearching, and minimal testing, the following appears to address the problem: In the execute() of the Mojo for the goal which precedes the jar:jar one, add the following: project.getArtifact().setArtifactHandler(new MyArtifactHandler()); where MyArtifactHandler is

jar:sign refuses to sign jar artifact of project with custom packaging type

2009-03-02 Thread Rob Dickens
I get the following message when mvn is run with the -X option: [DEBUG] Not executing jar:sign as the project is not a Java module (Am using a custom packaging type in order to use a custom lifecycle, that invokes a custom goal before the jar:jar one.) If I change the packaging type back to

JUICe archetype now available (Swing application framework, etc.)

2007-03-21 Thread Rob Dickens
Dear Maven users, JUICe (java user-interface client) comprises three jarfiles, providing * an application framework that lets you run the same code either as an application or applet * support for writing GUI commands * labels that can flash and beep See http://jroller.com/page/malformed?

easiest way to do testing, that WORKS?

2007-02-22 Thread Rob Dickens
Dear Maven users, I've just spent a frustrating afternoon trying to get TestNG to call the test method of my test class, but without success! Would some kind person please paste into a reply some xml snippets (TestNG or JUnit) that actually work. Thanks and regards, Rob West Mids, UK

Emacs + Maven

2006-09-20 Thread Rob Dickens
Dear list, Last time I looked, Maven wasn't supported 'out of the box'. I've just written a blog entry about how to make it work, if anyone's interested: http://jroller.com/page/malformed?entry=emacs_maven_2 Rob - To

JUICe libs (Swing app-framework, etc.) now available from m2 repository

2006-07-31 Thread Rob Dickens
Dear list, Please see http://jroller.com/page/malformed? entry=instructions_for_maven_2_users for further details. Best regards, Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [m2] Looking for javadoc warning report

2006-07-17 Thread Rob Dickens
I also tried this, but unless I overlooked them--there's a lot to wade through--the maven-checkstyle-plugin does not report the same warnings that the javadoc commandline tool reports. E.g. it doesn't tell me about [EMAIL PROTECTED] com.lafros.MissingClass} in my javadoc comments. The

Re: javadoc 2.0 plugin: doc-files/* not being copied!

2006-07-14 Thread Rob Dickens
/doc-files: copied com/lafros/doc-files: NOT copied This condition doesn't appear to be documented, and doesn't apply to javadoc itself. Can anyone disprove this? Rob On 9 Jul 2006, at 18:21, Rob Dickens wrote: It looks like the problem was confined to the version I'd compiled from src

Re: javadoc 2.0 plugin: doc-files/* not being copied!

2006-07-14 Thread Rob Dickens
The doc-files/ folders are located in the src/ tree (in folders containing .java files). On 14 Jul 2006, at 16:16, Beyer,Nathan wrote: Do you have your 'doc-files' in the source folder or in a resource folder? I've never been able to get it to copy 'doc-files' that are in resource folders.

Re: javadoc 2.0 plugin: doc-files/* not being copied!

2006-07-09 Thread Rob Dickens
time. Rob On 31 May 2006, at 08:34, Rob Dickens wrote: Still couldn't get this to work, so http://jira.codehaus.org/browse/ MJAVADOC-76 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

assembly-plugin: How to add system-scope jar to zip?

2006-06-16 Thread Rob Dickens
Dear Maven users, For example, I'd like to include the 'swing-layout-1.0.jar' that's required in the classpath after creating my gui using the NetBeans gui-builder (Matisse). I only seem to be able to include jars installed in Maven repositories. Please could someone in the know point out

Re: javadoc 2.0 plugin: doc-files/* not being copied!

2006-05-31 Thread Rob Dickens
Still couldn't get this to work, so http://jira.codehaus.org/browse/ MJAVADOC-76 On 30 May 2006, at 14:21, Rob Dickens wrote: Dear Maven Users, I'm finding that they only get copied if the project involves modules, and aggregate is set to true. Has anyone got this to work in a project

javadoc 2.0 plugin: doc-files/* not being copied!

2006-05-30 Thread Rob Dickens
Dear Maven Users, I'm finding that they only get copied if the project involves modules, and aggregate is set to true. Has anyone got this to work in a project which doesn't involve modules? Thanks, Rob ps Have checked http://jira.codehaus.org/browse/MJAVADOC but no such issue has been

Re: [mvn2.0.4] maven-javadoc-plugin aggregate true bug?

2006-05-05 Thread Rob Dickens
source, ran 'mvn javadoc:javadoc' on the parent project, and bingo, it worked--the javadoc for all the subprojects in one hierarchy! So the answer is yes, there's a bug in the released version (2.0- beta-3), which has been fixed in the latest source (2.0-SNAPSHOT). Thanks, Odea Rob Dickens

[mvn2.0.4] maven-javadoc-plugin aggregate true bug?

2006-05-02 Thread Rob Dickens
Dear Maven Users, I can't get this to work. Looking back at previous posts, it appears there might be a bug. Do I need to build maven-javadoc-plugin from source? If so, could somebody let me know where this can be found. What I have is a parent project (pom packaging) and several

Maven2BookIsOut

2006-04-28 Thread Rob Dickens
http://mavenbook.xwiki.com/xwiki/bin/view/Main/Maven2BookIsOut Many thanks for this! Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven2BookIsOut

2006-04-28 Thread Rob Dickens
Hi. Use the 'released' link at the top of the page. The bottom link has an extraneous trailing dot! Rob On 28 Apr 2006, at 10:58, Sharma, Jaikumar wrote: Tried to access the book, but got the following : 403 - Forbidden Is this not for everyone to download ? Regards, Jaikumar

Re: filtering of MANIFEST.MF?

2006-04-02 Thread Rob Dickens
a system property into your src/main/resources/application.properties file. -Original Message- From: Rob Dickens [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 4:25 PM To: Maven Users List Subject: filtering of MANIFEST.MF? Dear Maven Users, I've so far discovered how to merge in my

Re: filtering of MANIFEST.MF?

2006-04-02 Thread Rob Dickens
Problem solved! The maven-jar-plugin config was changed as follows: - manifestFilesrc/main/resources/META-INF/MANIFEST.MF/manifestFile + manifestFiletarget/classes/META-INF/MANIFEST.MF/manifestFile - To unsubscribe, e-mail:

filtering of MANIFEST.MF?

2006-03-31 Thread Rob Dickens
Dear Maven Users, I've so far discovered how to merge in my own manifest file entries: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifestFilesrc/main/resources/META-INF/MANIFEST.MF/ manifestFile My

jar packaging: how to include other jars?

2006-03-29 Thread Rob Dickens
Dear Maven Users, My project contains three sub-projects as follows: mylib | +-mylib-core (jar packaging) | +-mylib-demo (jar packaging) | +-mylib-dist (jar packaging) I want the last sub-project to produce a jar-file containing the following: index.html demo.html demo.jnlp

Re: jar packaging: how to include other jars?

2006-03-29 Thread Rob Dickens
On 29 Mar 2006, at 13:35, Emmanuel Venisse wrote: You can use the assembly plugin (http://maven.apache.org/guides/ mini/guide-assemblies.html), it will be the best solution. The preferred format is what you want ;-) (zip, tar, tar.gz, tar.bz2, jar...) Emmanuel Many thanks for this reply.

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-12 Thread Rob Dickens
Thanks Wendy. To summarise, the currently released maven-archetype-plugin does have an issue, which means that it can only see archetypes which are in the default repository. However, if you're prepared to build the archetype components from source, a new feature has since been added

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Rob Dickens
repositories section and use the archetype. - John Rob Dickens wrote: Dear list, Using the instructions on the Guide to Creating Archetypes webpage, I have created an archetype, and deployed it to my internal repository (file:///usr/local/mvnrep say). Please could someone let me