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
-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
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
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
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
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
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
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
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
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?
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
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
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
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
/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
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.
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
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
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
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
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
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
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]
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
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
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:
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
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
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.
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
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
31 matches
Mail list logo