Re: [m2.2.1] BUILD ERROR -- (attached a test case)

2009-10-10 Thread Adrian Herscu
PING! Adrian Herscu wrote: Test case attached in root.7z Adrian. Adrian Herscu wrote: Hi all, I have the following multi-project structure: root +my-maven-plugin +my-component My component requires my Maven plugin in order to build. Hence it declares: build ... plugins

[m2] multi-project with plugin dependencies fails to build

2009-10-10 Thread Adrian Herscu
Hi all, I am trying to set up a multi-project build in which one module depends on the Maven plugin created by other module. So far, the only way I could build the project is by building the Maven plugin module and then activate the multi-project build. Is there any possibility to define

Re: Plexus Component 1.1.7 for Maven 2.2.1

2009-10-10 Thread kenshin1733
Thanks for the quick reply. And that is what I was looking for. Thanks very much. I'm gonna try and add this repository to the default list. Which, by the way, I don't know how. So I'll be googling it. :) Thanks again. wayne wrote: Is this the artifact you're looking for?

Re: [m2] multi-project with plugin dependencies fails to build

2009-10-10 Thread Stephen Connolly
afaik, no you can use a previous version of the plugin, but not the same version as is built in your reactor. the reason is that maven needs do determine the build plan before it starts, and your (as yet uncompiled) plugin in the reactor therefore has an unknown effect on the build,

Re: Plexus Component 1.1.7 for Maven 2.2.1

2009-10-10 Thread kenshin1733
Hello, Here is what happened. I added the given list to the list of repositories and plugin-repositories. However, I'm still facing the original problem that I was facing. When it is about to download the .pom file it hangs there. Doing nothing. So I need to figure out what exactly causes it to

Re: Why doesn't maven look for dependency in the local repo?

2009-10-10 Thread Quintin Beukes
Are you referring to this entry: classpathentry kind=src path=/myco-oit-governor-citizen-assistanceUtility-webapp/classpathentry If so, try changing it to reference: /myco-oit-governor-citizen-assistanceUtility-webapp/WEB-INF/classes Unless Maven notices it's a WAR, and transforms the classpath

Re: Why doesn't maven look for dependency in the local repo?

2009-10-10 Thread Quintin Beukes
Hey, This might help: http://is.gd/4bPYH If you have 2.1 of the WAR maven plugin, then it would work. Otherwise you can just use the SNAPSHOT (all described on the thread). Then, when you build it, the WAR will be installed into your local repo, as well as an additional JAR (which only has the

Re: Plexus Component 1.1.7 for Maven 2.2.1

2009-10-10 Thread Anders Hammar
repo1 has it as well ( http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/). Not sure what the difference is between repo1 and repo2. What groupId and artifactId have you defined in your dependency? /A On Sat, Oct 10, 2009 at 11:23, kenshin1733 kenshin1...@gmail.com wrote:

Re: Plexus Component 1.1.7 for Maven 2.2.1

2009-10-10 Thread Anders Hammar
A quick check tells me that repo1 and repo2 has the same ip address, so most likely they are the same. But to be honest, I haven't heard of the repo2 address before. /A On Sat, Oct 10, 2009 at 13:03, Anders Hammar and...@hammar.net wrote: repo1 has it as well (

Re: [maven-dependency-plugin] Issues with multiple invocations of dependency:upack goal (readonly local parameter)

2009-10-10 Thread Brian Fox
This is likely because there is some conflict from calling the plugin from your plugin. You can have multiple invocations of the dependency plugin from the pom without issues. Calling and extending plugins in M2 is essentially a grey area, looks like you found the edge to black ;-) On Fri, Oct 9,

Global dependency version property

2009-10-10 Thread Quintin Beukes
Hey, We have certain dependencies like OpenEJB, Geronimo and Hibernate being used throughout our project. When we upgrade the version (especially with minor revisions) it's merely a process of changing all the version elements to the new version. Though, being many projects this is a tedious

Re: Global dependency version property

2009-10-10 Thread Jason van Zyl
You really need to read the book. http://www.sonatype.com/books/maven-book/reference/optimizing-sect-dependencies.html On 2009-10-10, at 9:29 AM, Quintin Beukes wrote: Hey, We have certain dependencies like OpenEJB, Geronimo and Hibernate being used throughout our project. When we upgrade

Re: Global dependency version property

2009-10-10 Thread Quintin Beukes
Thanks, that looks good. Re. the dependencyManagement element. When I include a set of dependencies in my parent POM, they won't be included in the child POMs unless I excplicitely list them there? Meaning it's effect is only when the dependency is listed in a child without a version? Quintin

Re: Global dependency version property

2009-10-10 Thread Anders Hammar
Yes. You use the dependencyManagement to specify stuff like version and scope. Each project where you have the dependency you still need to specify it. However, you just state groupId and artifactId. /Anders On Sat, Oct 10, 2009 at 20:02, Quintin Beukes quin...@skywalk.co.za wrote: Thanks,

Re: Global dependency version property

2009-10-10 Thread Quintin Beukes
And you override where necessary? Quintin Beukes On Sat, Oct 10, 2009 at 8:36 PM, Anders Hammar and...@hammar.net wrote: Yes. You use the dependencyManagement to specify stuff like version and scope. Each project where you have the dependency you still need to specify it. However, you just

JavaDoc Plugin: Custom frameset?

2009-10-10 Thread Paul Benedict
Is it possible to use this plugin to provide a custom frameset page? I see several companies publish API with page-wide logos at the top of the frameset, or additional frames. Paul - To unsubscribe, e-mail: