Re: [PLEASE TEST] Apache Maven 3.0.2-RC1

2011-03-29 Thread David Smiley (@MITRE.org)
complained I renamed it. ~ David Smiley - Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in context: http://maven.40175.n5.nabble.com/PLEASE-TEST-Apache-Maven-3-0-2-RC1-tp3329599p4269562.html Sent from the Maven - Users mailing list archive

Re: Getting the path to an individual dependency for use with the antrun plugin

2010-03-18 Thread David Smiley @MITRE.org
Did you make any progress? I'm trying to do this same. ~ David Allan Ditzel wrote: Hi, We have the need to run some ant tasks within our maven project, but we need to get a fully qualified path to the artifact to pass in to some ant tasks. The only thing I've found so far is the

Re: profile precedence order; skipping tests by default if not specified

2009-12-30 Thread David Smiley @MITRE.org
that disable your tests. Something like mvn -P-notests clean install ? Cheers 2009/12/29 David Smiley @MITRE.org dsmi...@mitre.org Personally, I never want to invoke tests unless through some explicit action. My ~/.m2./settings.xml contains a profile called default, set to be active

Re: [maven 2] assembly: repository from multiple modules

2009-05-16 Thread David Smiley @MITRE.org
. That would be pragmatic to get a solution quick but it felt a bit sloppy and I wanted a better solution. ~ David Smiley BRIAN FOX-5 wrote: The dependency:copy-dependencies can also produce a repository layout. Surely some combination of that plus assembly to zip it up should work. On Fri, May

Re: [maven 2] assembly: repository from multiple modules

2009-05-15 Thread David Smiley @MITRE.org
Any update to this? I've tried a bunch of combinations. I think at this point I'm going to try and hack the latest source to meet my needs. ~ David Hal Hildebrand-3 wrote: I have a large, multiple module project that I need to create a repository assembly for. I have no problems

Re: [maven 2] assembly: repository from multiple modules

2009-05-15 Thread David Smiley @MITRE.org
David Smiley @MITRE.org dsmi...@mitre.org Any update to this? I've tried a bunch of combinations. I think at this point I'm going to try and hack the latest source to meet my needs. ~ David Hal Hildebrand-3 wrote: I have a large, multiple module project that I need to create

trying to use Toolchain plugin

2008-10-09 Thread David Smiley @MITRE.org
a snapshot here: http://snapshots.repository.codehaus.org/org/codehaus/plexus/ this directory listing is only showing: [DIR] plexus-spring/ 08-Oct-2008 16:42- [DIR] plexus-stylus-skin/ 08-Oct-2008 17:15 Where do I get this from? Cheers, David Smiley -- View this message

including a single file in an assembly, coming up blank

2006-09-26 Thread David Smiley
I've got the strangest behavior that I can't diagnose. I'm using the assembly plugin and I have a descriptor which includes a particular file via filesfilesource etc. No matter what I try, it always ends up in the final assembly as an empty file. It doesn't matter wether I'm using filtering,

Re: mvn 2: create jar in war

2006-08-22 Thread David Smiley
I've done this off and on simply by doing mvn jar:jar. It'll create the jar in the target directory. I haven't integrated this into an automated build... I only have a need for this once in a rare while. ~ David Smiley Attila Mezei-Horvati wrote: How can I create a jar from the classes

Investigating a checksum failure

2006-08-21 Thread David Smiley
Maven complains about a checksum failure for several SLF4J logging jars. I removed the SLF4J stuff in my local repository and temporarily removed a reference to a local caching maven mirror, thinking that it was a temporary glitch. But it's still complaining. For example: Downloading:

Re: Excluding jars from my ear

2006-07-24 Thread David Smiley
Thanks Max. I think I'll have it not inherit from the parent... that seems like the most practical solution. Still... it would be nice if the ear module had a way to specify that it by default not pull in jars not mentioned explicitly in it's modules configuration. ~ David -- View this

Excluding jars from my ear

2006-07-21 Thread David Smiley
Hi. I have a multi-module project. My parent pom specifies the dependencies that are used by practically everything. I have an ear module that's sole purpose is to package up two war files (in other modules), but nothing else. It does this but includes jar's specified by my parent pom. But I

RE: Excluding jars from my ear

2006-07-21 Thread David Smiley
That didn't work Ian. And even if it did... this solution would mean I need to keep this list in sync with my parent pom's dependencies. ~ David -- View this message in context: http://www.nabble.com/Excluding-jars-from-my-ear-tf1981474.html#a5439615 Sent from the Maven - Users forum at

Re: Excluding jars from my ear

2006-07-21 Thread David Smiley
Wouldn't doing so prevent me from using the Jetty plugin to test the webapp? Jetty wouldn't know to load the dependencies since it sees provided. Even if that wasn't an issue... I wonder about the total XML / config that needs to be typed and synchronized between those files. No thanks. I

war including excluded transitive jars

2006-07-18 Thread David Smiley
I'm experiencing something that obviously shouldn't be happening but I can't figure out why. I realized my war was getting loaded up with all sorts of jars that shouldn't be there. Even Ant! To debug maven, I know to use -X and so I do that to view the dependency tree get resolved... and my

Re: war including excluded transitive jars

2006-07-18 Thread David Smiley
Oh... I figured out a clue to the problem. I've been using jetty (6.0.0rc0) to test out my webapp. Jetty only loads the jars I want into its webapp classloader. I found out that the jars that were getting into the generated war at war:war were jetty's dependencies! So by having the jetty

jetty6-plugin, excluding slf4j dependency

2006-07-17 Thread David Smiley
Hello everyone. I've been using Jetty in Maven (which is pretty cool, by the way). However there are some classloading issues that occur while running under JDK 1.4, and so I would like to exclude the SLF4J jars from the jetty plugin. Try as I might (and Jan Bartel too), I can't make this

Re: [m2] dependencyManagement question ?

2006-07-17 Thread David Smiley
Is there a reason why versions specified in dependencyManagement only apply to dependencies which don't have a version specified? In other words... why not have it specify the dependency regardless of whatever is specified in some child pom? The use case here is for 3rd party pom's transitively

Re: Rant (very long)

2006-05-26 Thread David Smiley
~ David Smiley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: generating files for use by assembly plugin

2006-05-26 Thread David Smiley
, the whole assembly thing is not part of the build lifecycle, and so I can't ensure things happen before or after any particular goal (like assembly:assembly) ~ David -D On 5/25/06, David Smiley [EMAIL PROTECTED] wrote: I want to use the assembly plugin but some of the files

inherited plugins for module use

2006-05-26 Thread David Smiley
, it is executed now. What's going on? Please enlighten me... and better yet, point me to documentation for this 'cause I haven't found it. ~ David Smiley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: inherited plugins for module use

2006-05-26 Thread David Smiley
be explicitly activated (if not pre-defined in the build lifecycle) by adding them in the POM. If that is so then how is xdoclet being activated despite it only being mentioned in pluginManagement? Hope this helped, Roland On Friday 26 May 2006 17:00, David Smiley wrote: I'm trying

generating files for use by assembly plugin

2006-05-25 Thread David Smiley
I am not sure what to do. I looked around but can't seem to figure out a way to do this. THANKS ~ David Smiley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Feature suggestion, was 'Re: repo down?'

2006-05-18 Thread David Smiley
Fantastic idea! ~ Dave Smiley On 2006-05-17 21:21:59 -0400, Brad Davis [EMAIL PROTECTED] said: It strikes me that centralized repositories, even with mirrors is a potential scalability problem and point of failure. Its also a point of failure since the more projects use Maven, the more

pluginManagement, purpose?

2006-05-16 Thread David Smiley
Is there documentation anywhere on how the pluginManagement element is utilized? What differentiates it from plugins? ~ David Smiley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

debug output all properties?

2006-05-15 Thread David Smiley
I am trying to come up with the property filter expression to give me the directory where resources are stored. Instead of trying several variations and giving up... is there some way for me to get maven to give me a dump of the properties so I can see what's there? Perhaps a comprehensive

reusing dependency lists

2006-05-12 Thread David Smiley
Hi. I'm trying to avoid specifying the list of dependencies that Axis requires in several of my modules. In an ideal world, Axis would have a proper POM (i.e. one that specifies its dependencies) and I wouldn't be trying to do this. I'll try to get that changed, but in the mean time I'd

XSLT for converting Maven1 project.xml to Maven2 pom.xml

2006-05-12 Thread David Smiley
I was amazed that nobody has done this yet so I went ahead and did it. Enjoy. (XSLT file attached) ~ David Smiley MITRE ?xml version=1.0 encoding=UTF-8? !-- written by David Smiley, [EMAIL PROTECTED] -- xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns

Re: maven, xdoclet, and plugin.getDependencyPath

2005-01-06 Thread David Smiley
Brett Porter wrote: I'm still getting the error: taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found though which means it hasn't added maven-xdoclet-plugin's dependencies. I did the following echo: echo message=${xdocletPlugin.getDependencyPath('xdoclet')}/ and I got:

Re: maven, xdoclet, and plugin.getDependencyPath

2004-12-29 Thread David Smiley
Brett Porter wrote: In that case, you need to do something like: maven:get plugin=maven-xdoclet-plugin var=xdocletPlugin property=plugin / ${xdocletPlugin.getDependencyPath('...')} Hmm, I've never seen this before. I gave it a shot and nothing echo'ed. OH, hold on. The maven xdoclet plugin was

Re: maven, xdoclet, and plugin.getDependencyPath

2004-12-16 Thread David Smiley
Thanks for your help. Brett Porter wrote: It's a path to a JAR though :) path should work as well, though. So the problem is that it is empty. Is this code inside maven.xml or inside a plugin.jelly? My maven.xml If it is in plugin.jelly, it should work. If in maven.xml, it won't. In that case, you

maven, xdoclet, and plugin.getDependencyPath

2004-12-15 Thread David Smiley
xdoclet.modules.ejb.EjbDocletTask cannot be found I've run this with the -X switch but it hasn't eluminated anything for me. Any ideas? ~ David Smiley MITRE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven, xdoclet, and plugin.getDependencyPath

2004-12-15 Thread David Smiley
No, path is for paths (potentially multiple jar files), location is for specifying an individual jar file. echo message=${plugin.getDependencyPath('commons-collections')}/ Output nothing at all. I used 'commons-collections' because xdoclet's plugin.jelly file used that value and it should